mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
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.
9 lines
94 B
Bash
9 lines
94 B
Bash
#!/bin/sh
|
|
|
|
mkdir /proc
|
|
mkdir /sys
|
|
mount -t proc proc /proc
|
|
mount -t sysfs sysfs /sys
|
|
|
|
exec sh
|