mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
21 lines
420 B
Text
21 lines
420 B
Text
|
busybox insmod unionfs
|
||
|
mount -t unionfs -o dirs=$mnt/etc=rw:/etc=ro unionfs /etc
|
||
|
|
||
|
mount -o remount,rw /
|
||
|
ln -s $mnt/lib /
|
||
|
|
||
|
for x in \
|
||
|
bin boot home media mnt \
|
||
|
opt selinux srv usr var
|
||
|
do
|
||
|
ln -s $mnt/$x /
|
||
|
done
|
||
|
|
||
|
rmdir /root
|
||
|
ln -s $mnt/root /
|
||
|
mount -o remount,ro /
|
||
|
|
||
|
mount -t unionfs -o dirs=$mnt/sbin=rw:/sbin=ro unionfs /sbin
|
||
|
mount -t unionfs -o dirs=$mnt/dev=rw:/dev=rw unionfs /dev
|
||
|
mount -t devpts devpts /dev/pts
|