diff --git a/extra/packages.both b/extra/packages.both index 7bd67d8..c8e4859 100644 --- a/extra/packages.both +++ b/extra/packages.both @@ -115,6 +115,7 @@ hddtemp hdparm hexcurse hexedit +hfsprogs hfsutils htop httping diff --git a/extra/pre-build.d/usr/lib/initcpio/hooks/livecd b/extra/pre-build.d/usr/lib/initcpio/hooks/livecd index 015f8a1..87386b8 100644 --- a/extra/pre-build.d/usr/lib/initcpio/hooks/livecd +++ b/extra/pre-build.d/usr/lib/initcpio/hooks/livecd @@ -6,8 +6,13 @@ run_cleanuphook () { echo "Now attempting overlay mount..." - mkdir -p /new_root.hw /overlay /overlay-rw - mount --move /new_root /new_root.hw - mount -t overlay overlay -olowerdir=/new_root.hw,upperdir=/overlay,workdir=/overlay-rw,noatime /new_root + #mkdir /new_root.hw + mkdir -p /run/archiso/cowspace/upperdir /run/archiso/cowspace/workdir + #mount --move /new_root /new_root.hw + #mkdir /dev/shm + #mount -t tmpfs none /dev/shm + #mount -t overlay overlay -olowerdir=/new_root.hw,upperdir=/new_root,workdir=/dev/shm -o noatime + umount -l /new_root > /dev/null 2>&1 + mount -t overlay -o lowerdir=/run/archiso/sfs/airootfs,upperdir=/run/archiso/cowspace/upperdir,workdir=/run/archiso/cowspace/workdir airootfs /new_root pkill -9 dropbear #kill SSH (in preparation for the live system starting ssh on port 22 }