about summary refs log blame commit diff stats
path: root/core/scripts/act-chroot.sh
blob: 29103b14ad541508fd632e6b15e1094395f1d57a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

           
             
 






                         
 

                               
                             
#!/bin/bash

CHROOT="/mnt"

mkdir -p $CHROOT/boot/efi
mkdir -p $CHROOT/media

mkdir -p $CHROOT/dev
mkdir -p $CHROOT/tmp
mkdir -p $CHROOT/proc
mkdir -p $CHROOT/sys

mount -t proc proc $CHROOT/proc
mount -t sysfs sys $CHROOT/sys
mount --bind /dev $CHROOT/dev