diff options
author | terminaldweller <thabogre@gmail.com> | 2021-12-23 09:56:15 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-12-23 09:56:15 +0000 |
commit | 73d74628b0cff4aed04cd740ecceebf03fa23609 (patch) | |
tree | 456961415de6739d15637afb5a3f18e60ac4174b /chroot/voidmusl.sh | |
parent | update (diff) | |
download | scripts-73d74628b0cff4aed04cd740ecceebf03fa23609.tar.gz scripts-73d74628b0cff4aed04cd740ecceebf03fa23609.zip |
more updates. some chroot stuff
Diffstat (limited to '')
-rwxr-xr-x | chroot/voidmusl.sh | 8 |
1 files changed, 8 insertions, 0 deletions
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 |