mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 22:13:34 +08:00
3fac21ef8d
Devtmpfs doesn't get automounted by the kernel when an initramfs is used. Since cpio archives are used almost exclusively as an initramfs, the same fix should be applied to it as for the initramfs. Cfr. commit424888e474
and10a130f91e
. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
8 lines
176 B
Bash
Executable File
8 lines
176 B
Bash
Executable File
#!/bin/sh
|
|
# devtmpfs does not get automounted for initramfs
|
|
/bin/mount -t devtmpfs devtmpfs /dev
|
|
exec 0</dev/console
|
|
exec 1>/dev/console
|
|
exec 2>/dev/console
|
|
exec /sbin/init $*
|