[OE-core] update-alternatives: symlinks are not created

ChenQi Qi.Chen at windriver.com
Fri Jan 24 01:38:18 UTC 2014


On 01/24/2014 08:48 AM, Yevhen Kyriukha wrote:
> I've built custom image with busybox included and noticed that
> symlinks for mkdir, ls, rm and other programs are not created.
>
> In do_rootfs log I have the following error messages:
> ...
> update-alternatives: error: alternative path /bin/busybox.suid doesn't exist
> ...
> update-alternatives: error: alternative path /bin/busybox.nosuid doesn't exist
> ...
>

I encountered the same problem.
The above error is because we're using update-alternatives from host.
It seems to be caused by recent changes about 
opkg/opkg-utils/update-alternatives.

I used the following steps to work around it.
bitbake opkg-utils-native -cpopulate_sysroot -f
bitbake <your-image> -crootfs -f

//Chen Qi



More information about the Openembedded-core mailing list