summaryrefslogtreecommitdiff
path: root/create_installroot/rootfs-arm64/init
diff options
context:
space:
mode:
Diffstat (limited to 'create_installroot/rootfs-arm64/init')
-rwxr-xr-xcreate_installroot/rootfs-arm64/init9
1 files changed, 9 insertions, 0 deletions
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