Поддержка aufs

master
parent cf27fd9ce6
commit 6a57115e97

@ -9,8 +9,8 @@
+ if [ "$SCRATCH_ROOT" -a "${SCRATCH_ROOT}" != "tmpfs" ];
+ then
+ mount -n $SCRATCH_ROOT /mnt/scratch
+ mount -n -t unionfs -o remount,dirs=/mnt/scratch/workspace=rw:/mnt/scratch/delta=ro:/mnt/scratch/calculate=ro unionfs /
+ mount -n -t unionfs -o remount,dirs=/mnt/scratch/delta=rw:/mnt/scratch/calculate=ro unionfs /mnt/builder
+ mount -n -o remount,rw /
+ mount -n -t aufs -o remount,rw none /mnt/builder
+ mount -o loop -t squashfs /mnt/scratch/livecd.squashfs /mnt/scratch/calculate
+ else
+ mount -n -o remount,rw /

Loading…
Cancel
Save