use /usr/local as rw
This commit is contained in:
parent
04b152db13
commit
cec1003bfb
|
@ -120,6 +120,7 @@ for i in var home cfg; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
[ -d /run/initramfs/mnt/local ] && mount -o bind /run/initramfs/mnt/local /sysroot/usr/local
|
||||||
mount -o bind /run/initramfs/mnt/var /sysroot/var
|
mount -o bind /run/initramfs/mnt/var /sysroot/var
|
||||||
mount -o bind /run/initramfs/mnt/home /sysroot/home
|
mount -o bind /run/initramfs/mnt/home /sysroot/home
|
||||||
mount -o bind /run/initramfs/mnt/cfg /sysroot/cfg
|
mount -o bind /run/initramfs/mnt/cfg /sysroot/cfg
|
||||||
|
|
|
@ -566,6 +566,15 @@ C /cfg/libvirt - - - - -
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#---------------
|
||||||
|
# usr/local
|
||||||
|
mkdir -p "$sysroot"/usr/share/factory/usr/
|
||||||
|
mv "$sysroot"/usr/local "$sysroot"/usr/share/factory/usr/local
|
||||||
|
mkdir -p "$sysroot"/usr/local
|
||||||
|
cat >> "$sysroot"/usr/lib/tmpfiles.d/usrlocal.conf <<EOF
|
||||||
|
C /usr/local - - - - -
|
||||||
|
EOF
|
||||||
|
|
||||||
#---------------
|
#---------------
|
||||||
# brlapi
|
# brlapi
|
||||||
# FIXME: reproducible
|
# FIXME: reproducible
|
||||||
|
|
Loading…
Reference in a new issue