[Buildroot] devtmpfs and initramfs
Peter Korsgaard
jacmet at uclibc.org
Wed Jul 20 15:29:26 UTC 2011
>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:
Hi,
Arnout> Okay, I should have shut up and listened to the buildroot master...
;)
Arnout> The inittab thing won't work (well) because init needs /dev to
Arnout> have a console.
I just pushed a commit adding the pre-init shell wrapper I mentioned
earlier. Seems to work fine based on a quick test in qemu.
Alternatively we could try to convince the kernel people that it makes
sense to make CONFIG_DEVTMPFS_MOUNT work with initramfs as well. It's
simple to do so (just stick a devtmpfs_mount("dev") at the bottom of
populate_rootfs), but it could potentially break existing initramfs
scripts as the mount -t devtmpfs devtmpfs /dev command will then fail.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list