blob: 3fe88da52418a0d6b4c572acd5d4b60727f6ba3f (
plain) (
tree)
|
|
#!/bin/sh
CHROOT_DIR=/home/devi/rootfs/debian11
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
|