From c778a19367e5c3727bb6acf94ef86be92d2daeb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramon=20Buld=C3=B3?= Date: Mon, 20 Apr 2015 15:29:09 +0200 Subject: [PATCH] Provide vmlinuz, initramfs and fallback for thus configuration. --- lib/util-iso-calamares.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/util-iso-calamares.sh b/lib/util-iso-calamares.sh index 8e25a01..f08bda4 100644 --- a/lib/util-iso-calamares.sh +++ b/lib/util-iso-calamares.sh @@ -156,7 +156,10 @@ configure_thus(){ echo "LIVE_MEDIA_DESKTOP = \"/bootmnt/${iso_name}/${arch}/${custom}-image.sqfs\"" >> "$conf" echo "LIVE_MEDIA_TYPE = \"squashfs\"" >> "$conf" echo "LIVE_USER_NAME = \"${username}\"" >> "$conf" - echo "KERNEL = \"${kernel}\"" >> "$conf" + echo "KERNEL = ${kernel}" >> "$conf" + echo "VMLINUZ = \"$(echo ${ALL_kver} | sed s'|/boot||')\"" >> "$conf" + echo "INITRAMFS = \"$(echo ${default_image} | sed s'|/boot||')\"" >> "$conf" + echo "FALLBACK = \"$(echo ${fallback_image} | sed s'|/boot||')\"" >> "$conf" mkdir -p $1/home/${username}/Desktop if [[ -f $1/usr/bin/kdesu ]];then sed -i -e 's|sudo|kdesu|g' $1/usr/share/applications/thus.desktop