10 lines
218 B
Bash
Executable file
10 lines
218 B
Bash
Executable file
#!/bin/bash
|
|
|
|
NEWBASE="$1"
|
|
|
|
mount --rbind /dev "$NEWBASE/dev"
|
|
mount --rbind /sys "$NEWBASE/sys"
|
|
mount --bind /usr/portage "$NEWBASE/usr/portage/"
|
|
mount -t proc none "$NEWBASE/proc"
|
|
|
|
cp /etc/resolv.conf "$NEWBASE/etc/"
|