Files
poky/meta/packages/initrdscripts/files/init-boot.sh
Samuel Ortiz 6e7061263e 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.
2008-11-05 13:53:09 +01:00

9 lines
94 B
Bash

#!/bin/sh
mkdir /proc
mkdir /sys
mount -t proc proc /proc
mount -t sysfs sysfs /sys
exec sh