diff --git a/lxqt.ks b/lxqt.ks index beff3ac..7819b5e 100644 --- a/lxqt.ks +++ b/lxqt.ks @@ -77,6 +77,6 @@ find /boot -name 'initrd-*' -print # debug %post --nochroot -tree -af $LIVE_ROOT/isolinux/ ls -la $LIVE_ROOT/isolinux/ +cp -v "$(find "${LIVE_ROOT}/boot" -name 'initrd-*.img' | sort -u | tail -n 1)" "${LIVE_ROOT}/isolinux/initrd0.img" %end