1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-09 03:40:18 +00:00

initrdscripts: Add the simplest init script

When booting from initramfs, one must provide a /init link.
This one is the simplest one, just forking a shell, allowing
for the smallest initramfs.
This commit is contained in:
Samuel Ortiz
2008-11-05 13:50:06 +01:00
parent 97cbee6239
commit 6e7061263e
2 changed files with 20 additions and 0 deletions
@@ -0,0 +1,8 @@
#!/bin/sh
mkdir /proc
mkdir /sys
mount -t proc proc /proc
mount -t sysfs sysfs /sys
exec sh