[OE-core] [PATCH 0/1]package_rpm.bbclass: remove xx.spec before doing rpmbuild xx.src.rpm
Bian Naimeng
biannm at cn.fujitsu.com
Fri Jul 12 02:04:56 UTC 2013
said the following on 2013-7-11 18:54:, Burton, Ross wrote:
> On 10 July 2013 03:56, Bian Naimeng <biannm at cn.fujitsu.com> wrote:
>> Sorry, it looks like i should post this patch to poky. please ignore this
>
> You were right the first time, meta/ is oe-core. :)
>
Thanks for your reminding.
In this case, the following error will be caught.
| error: Bad owner/group: .../tmp/work/i586-poky-linux/.../xxx.spec
| Building target platforms: i586-poky-linux
|
|
| RPM build errors:
| Bad owner/group: .../tmp/work/i586-poky-linux/.../xxx.spec
The following bb file can cause this error.
# cat xxx.bb
SRC_URI="..../xxx.src.rpm"
do_unpack2 () {
cd ${WORKDIR}
tar zxvf xxx.tar.gz
}
addtask do_unpack2 after do_unpack before do_configure
Of course, we can walk around it by append "extract=xxx.tar.gz" to SRC_URI,
but it's not good way when the xxx.src.rpm containing lots of necessary files.
Thanks
Bian
> Ross
>
More information about the Openembedded-core
mailing list