commit: 40baa87a3289a14d0a6506e6752a7467bba84c26
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 24 18:46:54 2026 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Jan 24 18:46:54 2026 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=40baa87a
More overlayfs hacks
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
targets/support/create-iso.sh | 9 +++++++++
targets/support/iso-bootloader-setup.sh | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index a36d0129..75ac6e45 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
@@ -208,6 +208,15 @@ case ${clst_hostarch} in
# TODO: allow setting different fs type
mkfs.xfs "${extrapart}"
# 1=ESP, 2=HFS+, so 3 is first available partition
+
+ # we need to create the directories for overlayfs since
+ # stupid dracut does not do that automatically
+ mkdir "${extrapart}.mnt" || die "failed mkdir"
+ mount -o loop "${extrapart}" "${extrapart}.mnt" || die
"failed loop mount"
+ mkdir "${extrapart}.mnt"/LiveGUI-Overlay || die "mkdir
1 failed"
+ mkdir "${extrapart}.mnt"/ovlwork || die "mkdir 2 failed"
+ umount "${extrapart}.mnt" || die "umount failed"
+
extra_opts+=(
"-append_partition"
"3"
diff --git a/targets/support/iso-bootloader-setup.sh
b/targets/support/iso-bootloader-setup.sh
index a99bd3ef..4f8619bc 100755
--- a/targets/support/iso-bootloader-setup.sh
+++ b/targets/support/iso-bootloader-setup.sh
@@ -128,7 +128,7 @@ case ${clst_hostarch} in
if [ ${distkernel} = "yes" ]
then
echo " search --no-floppy --set=root -l
${clst_iso_volume_id}" >> ${iacfg}
- echo " linux ${kern_subdir}/${x}
${default_dracut_append_line[@]} rd.live.overlay=LABEL=Appended3
rd.live.overlay.cowfs=xfs" >> ${iacfg}
+ echo " linux ${kern_subdir}/${x}
${default_dracut_append_line[@]}
rd.live.overlay=PARTLABEL=Appended3:/LiveGUI-Overlay rd.live.overlay.cowfs=xfs"
>> ${iacfg}
else
echo " linux ${kern_subdir}/${x}
${default_append_line[@]}" >> ${iacfg}
fi