[oe] busybox-1.2.1 fails
Mohammed Amine SAYA
amine.saya at free.fr
Sat Aug 26 13:43:24 UTC 2006
Mohammed Amine SAYA wrote:
> | mv: cannot overwrite directory
> `/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image/busybox/bin'
> | mv: cannot overwrite directory
> `/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image/busybox/sbin'
> | mv: cannot overwrite directory
> `/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image/busybox/usr'
>
>
> Hi Philipp,
> Thank you for your help.
>
>> Cannot overwrite directory?
>> Sounds like a permission problem.
>> Did you build as root once?
>>
>>
> No
>
>> Try to manually rm -rf
>> /home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image
>>
> It worked, I removed it the image directory.
> I used to build opie successfully with the old openembedded database
> (until monotone 0.25) and bitbake 1.3.X.
> I don't know what's happening. I ls -l almost all busybox directories in
> $HOME/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1
> and everything
> seems to belong to me with the right mode.
>
>
>
>
It turns out that this line inside do_install function in
busybox_1.2.1.bb file is causing the trouble :
mv ${D}${base_bindir} ${D}${base_sbindir} ${D}${prefix} ${D}/busybox/
I replaced "mv" with "cp -a" and it works, does anyone object to that or
have a better fix ?
Amine.
More information about the Openembedded-devel
mailing list