#Make the tablet's devices available to Debian echo . mount -o bind /dev "$CHROOT/dev" mount -o bind /proc "$CHROOT/proc" #Gentoo wiki says this will make X work echo .. mount -t devpts none "$CHROOT/dev/pts" mount -o bind /tmp "$CHROOT/tmp" #Various external devices echo ... #FIXME: Should get these from /proc/mounts... mount -o bind /media/mmc1 "$CHROOT/media/mmc1" mount -o bind /media/mmc2 "$CHROOT/media/mmc2" mount -o bind /media/usb "$CHROOT/media/usb" #Mount the user's home dir echo .... mount -o bind /home/user "$CHROOT/home/user"
# Sample config for chroot # Device or image containing Debian filesystem. # Default: first in /media/mmc[12]/debian*.img* IMGFILE=/dev/mmcblk1p2 # Filesystem used; must always be set when using a partition. # Default: from extension of IMGFILE, or ext2. IMGFS=ext2 # Mount point for Debian. # Default: /debian CHROOT=/debian # New /tmp dir size for printing / PDF creation # Default: 2M TMPSIZE=2M # Debian user to drop privileges # Default: user DEBUSER=user