Skip to content

Commit

Permalink
grml-live-remaster: aufs got replaced by overlay
Browse files Browse the repository at this point in the history
We no longer use aufs but overlay, adjust grml-live-remaster
accordingly.

Closes: grml/grml#202
Thanks: Alhyene for the patch
  • Loading branch information
mika committed Sep 14, 2023
1 parent 6bd08ae commit b041d9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions remaster/grml-live-remaster
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ if [ ! -r /remaster ]; then
exit 1
fi

mkdir -p /remaster/chroot /remaster/tmp /remaster/cdrom
mount -t tmpfs tmpfs /remaster/tmp
mkdir -p /remaster/chroot /remaster/tmp /remaster/cdrom /remaster/work

echo "#:# edit the following two lines to change the boot message" >/remaster/msg
echo "#:#" >>/remaster/msg
if [ -r ${LIVE_PATH_BOOT}/isolinux/boot.msg ] ; then
Expand All @@ -107,8 +107,8 @@ if ! grep -q "/remaster/cdrom squashfs" /proc/mounts ; then
mount -t squashfs "$SQUASHFS_FILE" /remaster/cdrom -o ro,loop
fi

if ! grep -q "aufs /remaster/chroot" /proc/mounts ; then
mount -t aufs aufs /remaster/chroot -o br:/remaster/tmp=rw:/remaster/cdrom=rr
if ! grep -q "overlay /remaster/chroot" /proc/mounts ; then
mount -t overlay overlay -o lowerdir=/remaster/cdrom,upperdir=/remaster/tmp,workdir=/remaster/work /remaster/chroot
fi

for i in run dev dev/pts proc root sys tmp; do
Expand Down

0 comments on commit b041d9e

Please sign in to comment.