diff options
author | terminaldweller <thabogre@gmail.com> | 2022-04-23 12:25:24 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-04-23 12:25:24 +0000 |
commit | feb01e618438f4cd3e55985c6fe9f303741d43c8 (patch) | |
tree | 950fea62831918499291509d329aa298c574e7ef /chroot | |
parent | update (diff) | |
download | scripts-feb01e618438f4cd3e55985c6fe9f303741d43c8.tar.gz scripts-feb01e618438f4cd3e55985c6fe9f303741d43c8.zip |
updates
Diffstat (limited to 'chroot')
-rwxr-xr-x | chroot/make_devices.sh | 1 | ||||
-rwxr-xr-x | chroot/ubuntu2204.sh | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/chroot/make_devices.sh b/chroot/make_devices.sh index 311ded5..0dc4da9 100755 --- a/chroot/make_devices.sh +++ b/chroot/make_devices.sh @@ -21,4 +21,5 @@ make_devices() { } make_devices /home/devi/chroots/voidmusl make_devices /home/devi/chroots/voidglibc +make_devices /home/devi/chroots/ubuntu2204 # debootstrap stable /home/devi/chroots/debian11 http://deb.debian.org/debian diff --git a/chroot/ubuntu2204.sh b/chroot/ubuntu2204.sh new file mode 100755 index 0000000..792270b --- /dev/null +++ b/chroot/ubuntu2204.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +CHROOT_DIR=/home/devi/chroots/ubuntu2204 +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 mount -t devpts none "$CHROOT_DIR/dev/pts" -o ptmxmode=0666,newinstance +sudo chroot $CHROOT_DIR |