prepare boot v2

This commit is contained in:
Mikaël Cluseau
2022-02-04 19:59:42 +01:00
parent a794bb3887
commit 8e86579004
18 changed files with 383 additions and 158 deletions

View File

@ -1,14 +1,6 @@
#! /bin/sh
set -ex
mkdir dev
mknod dev/null -m 0666 c 1 3
mknod dev/tty -m 0666 c 5 0
mknod dev/console -m 0600 c 5 1
mkdir sys proc bin sbin usr usr/bin usr/sbin
curl -L -o bin/busybox https://busybox.net/downloads/binaries/$busybox_v/busybox-$arch
chmod +x bin/busybox
chroot . /bin/busybox --install -s