Openembedded Core Discussions
 help / color / mirror / Atom feed
* update-alternatives + absolute links
@ 2016-02-09 11:03 Patrick Ohly
  2016-02-09 14:42 ` Patrick Ohly
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Ohly @ 2016-02-09 11:03 UTC (permalink / raw)
  To: OpenEmbedded

Hello!

I noticed that toybox's switch_root has problems handling /sbin/init
-> /lib/systemd/systemd. Apparently it tries to check permissions with
stat() before switching the root, and at that point resolving the
symlink fails.

Are there reasons for preferring absolute paths as link target? Using
relative paths would avoid the problem, and also make it easier to
investigate the content of the rootfs on the build host.

Is that something that would have to be fixed in the different
virtual/update-alternatives providers? I'm using opkg-utils at the
moment.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.





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

end of thread, other threads:[~2016-02-09 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-09 11:03 update-alternatives + absolute links Patrick Ohly
2016-02-09 14:42 ` Patrick Ohly

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