aboutsummaryrefslogtreecommitdiffstats
path: root/chroot/voidglibc.sh
blob: 90b440b3cf34d4fc6083e8699acd5e99d1c51e48 (plain) (blame)
1
2
3
4
5
6
7
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