aboutsummaryrefslogtreecommitdiffstats
path: root/chroot/voidglibc.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-01-13 08:37:50 +0000
committerterminaldweller <thabogre@gmail.com>2022-01-13 08:37:50 +0000
commit3d9438850ddd8f52f16ca12fece85130c0191e55 (patch)
treea2a8a59b56afcb172dd6c2c27a37c89d1be34a15 /chroot/voidglibc.sh
parentupdates for more images. they seem to work fine now.seem... (diff)
downloadscripts-3d9438850ddd8f52f16ca12fece85130c0191e55.tar.gz
scripts-3d9438850ddd8f52f16ca12fece85130c0191e55.zip
updates
Diffstat (limited to 'chroot/voidglibc.sh')
-rwxr-xr-xchroot/voidglibc.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/chroot/voidglibc.sh b/chroot/voidglibc.sh
new file mode 100755
index 0000000..90b440b
--- /dev/null
+++ b/chroot/voidglibc.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+CHROOT_DIR=/home/devi/rootfs/voidglibc
+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