Openembedded Core Discussions
 help / color / mirror / Atom feed
* update-alternatives: symlinks are not created
@ 2014-01-24  0:48 Yevhen Kyriukha
  2014-01-24  1:38 ` ChenQi
  0 siblings, 1 reply; 2+ messages in thread
From: Yevhen Kyriukha @ 2014-01-24  0:48 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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
...

-- 
Best regards,
Yevhen


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: update-alternatives: symlinks are not created
  2014-01-24  0:48 update-alternatives: symlinks are not created Yevhen Kyriukha
@ 2014-01-24  1:38 ` ChenQi
  0 siblings, 0 replies; 2+ messages in thread
From: ChenQi @ 2014-01-24  1:38 UTC (permalink / raw)
  To: openembedded-core

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-24  1:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-24  0:48 update-alternatives: symlinks are not created Yevhen Kyriukha
2014-01-24  1:38 ` ChenQi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox