From 860350456aca9cbb5e8728fd71cbb7a4023578db Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Thu, 21 Dec 2023 12:54:48 +0000 Subject: Added initrd script. Add bootable example with prebuilt images --- create_installroot/rootfs-arm64/init | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 create_installroot/rootfs-arm64/init (limited to 'create_installroot/rootfs-arm64/init') diff --git a/create_installroot/rootfs-arm64/init b/create_installroot/rootfs-arm64/init new file mode 100755 index 0000000..53ad0cc --- /dev/null +++ b/create_installroot/rootfs-arm64/init @@ -0,0 +1,9 @@ +#!/sh +/busybox echo "Boom" > /dev/kmsg +export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/ +/busybox mount -t proc none /proc +/busybox mount -t sysfs none /sys +/buysbox mount -t devtmpfs -o nosuid,mode=0755 udev /dev +/busybox mount /dev/pts +/busybox mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true +exec /busybox sh -- cgit v1.2.3