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 $*
|