[Buildroot] devtmpfs and initramfs

Diego Iastrubni diegoiast at gmail.com
Wed Jul 20 08:48:28 UTC 2011


>
> We could, or adjust initramfs.mk to add a small shellscript as /init
> rather than just a symlink:
>
> #!/bin/sh
> # devtmpfs does not get automounted for initramfs'es
> /bin/mount -t devtmpfs devtmpfs /dev
> exec /sbin/init $*
>
> Unless BR2_ROOTFS_DEVICE_CREATION_STATIC is enabled.
>
>
Sorry, but this solution smells just like my socks. I think wk can find a
better one :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110720/692cdd8d/attachment-0002.html>


More information about the buildroot mailing list