scripts/chroot.sh

8 lines
249 B
Bash
Raw Normal View History

2024-09-22 09:22:28 +02:00
mount --rbind /dev /mnt/chroot/dev
mount --make-rslave /mnt/chroot/dev
mount -t proc /proc /mnt/chroot/proc
mount --rbind /sys /mnt/chroot/sys
mount --make-rslave /mnt/chroot/sys
mount --rbind /tmp /mnt/chroot/tmp
mount --bind /run /mnt/chroot/run