Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] udev-extraconf: Don't mount root filesystem under /media
@ 2012-09-18 21:38 Andy Ross
  2012-09-18 21:38 ` [PATCH 1/2] busybox: add /usr/bin/stat applet Andy Ross
  0 siblings, 1 reply; 6+ messages in thread
From: Andy Ross @ 2012-09-18 21:38 UTC (permalink / raw)
  To: openembedded-core

When you boot an image with a kernel-mounted root filesystem
(e.g. "root=/dev/sda1" or the like), the root filesystem also appears
as a read-write filesystem under /media.  The fix has two parts:

2. Modify the mount.sh hook to test the root filesystem device number
instead of the name (which won't match "/dev/root").

1. ...but that breaks on images which use busybox and lack coreutils,
because there is no stat binary.  Add this to the busybox defconfig,
and patch it to live in /usr/bin instead of /bin to match the
coreutils path.

Andy




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

end of thread, other threads:[~2012-10-11 23:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-18 21:38 [PATCH 0/2] udev-extraconf: Don't mount root filesystem under /media Andy Ross
2012-09-18 21:38 ` [PATCH 1/2] busybox: add /usr/bin/stat applet Andy Ross
2012-09-18 21:38   ` [PATCH 2/2] udev-extraconf: Don't mount root filesystem under /media Andy Ross
2012-09-18 22:25     ` Saul Wold
2012-09-18 22:33       ` Andy Ross
2012-10-11 20:28         ` Randy MacLeod

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