From 73d74628b0cff4aed04cd740ecceebf03fa23609 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 23 Dec 2021 13:26:15 +0330 Subject: more updates. some chroot stuff --- chroot/voidmusl.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 chroot/voidmusl.sh (limited to 'chroot') diff --git a/chroot/voidmusl.sh b/chroot/voidmusl.sh new file mode 100755 index 0000000..21152d7 --- /dev/null +++ b/chroot/voidmusl.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +CHROOT_DIR=/home/devi/rootfs/voidmusl +sudo mount -t proc proc $CHROOT_DIR/proc/ +sudo mount -t sysfs sys $CHROOT_DIR/sys/ +sudo mount -o bind /tmp $CHROOT_DIR/tmp/ +sudo mount -o bind /dev $CHROOT_DIR/dev/ +sudo chroot $CHROOT_DIR -- cgit v1.2.3