aboutsummaryrefslogtreecommitdiffstats
path: root/chroot
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-04-26 15:20:33 +0000
committerterminaldweller <thabogre@gmail.com>2022-04-26 15:20:33 +0000
commitf217a14da77b2e73fd170ad99b7e22f6abdaf697 (patch)
treea1abd3a81949dba3dcae2a4c35dc9919dca69a1a /chroot
parentupdate (diff)
downloadscripts-f217a14da77b2e73fd170ad99b7e22f6abdaf697.tar.gz
scripts-f217a14da77b2e73fd170ad99b7e22f6abdaf697.zip
update
Diffstat (limited to 'chroot')
-rwxr-xr-xchroot/make_devices.sh4
-rwxr-xr-xchroot/ubuntu2204.sh1
2 files changed, 3 insertions, 2 deletions
diff --git a/chroot/make_devices.sh b/chroot/make_devices.sh
index 0dc4da9..8a3c1b6 100755
--- a/chroot/make_devices.sh
+++ b/chroot/make_devices.sh
@@ -19,7 +19,7 @@ make_devices() {
env mknod -m 0666 $1/dev/ptmx c 5 2
chown root:tty $1/dev/ptmx
}
-make_devices /home/devi/chroots/voidmusl
-make_devices /home/devi/chroots/voidglibc
+# 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
index 792270b..8721218 100755
--- a/chroot/ubuntu2204.sh
+++ b/chroot/ubuntu2204.sh
@@ -1,5 +1,6 @@
#!/bin/sh
+# sudo debootstrap jammy ./ubuntu2204 http://archive.ubuntu.com/ubuntu jammy
CHROOT_DIR=/home/devi/chroots/ubuntu2204
sudo mount -t proc proc $CHROOT_DIR/proc/
sudo mount -t sysfs sys $CHROOT_DIR/sys/