aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2024-05-13 10:06:42 -0500
committerBen Kohler <bkohler@gentoo.org>2024-05-13 10:06:42 -0500
commit6e3cb65fdfedc2bdd2c1ddf4cd60fcdc38168760 (patch)
tree1a3a0098b5012e1430523acc8e9e9e3016d39290 /targets/support/bootloader-setup.sh
parentbootloader_setup.sh: don't assume LABEL=ISOIMAGE (diff)
downloadcatalyst-6e3cb65fdfedc2bdd2c1ddf4cd60fcdc38168760.tar.gz
catalyst-6e3cb65fdfedc2bdd2c1ddf4cd60fcdc38168760.tar.bz2
catalyst-6e3cb65fdfedc2bdd2c1ddf4cd60fcdc38168760.zip
bootloader_setup.sh: fix LABEL for cached entry as well
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'targets/support/bootloader-setup.sh')
-rwxr-xr-xtargets/support/bootloader-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh
index 9196ea14..2f2f97a5 100755
--- a/targets/support/bootloader-setup.sh
+++ b/targets/support/bootloader-setup.sh
@@ -132,7 +132,7 @@ case ${clst_hostarch} in
echo "menuentry 'Boot LiveCD (kernel: ${x}) (cached)' --class gnu-linux --class os {" >> ${iacfg}
if [ ${distkernel} = "yes" ]
then
- echo " search --no-floppy --set=root -l 'ISOIMAGE'" >> ${iacfg}
+ echo " search --no-floppy --set=root -l ${clst_iso_volume_id}" >> ${iacfg}
echo " linux ${kern_subdir}/${x} ${default_dracut_append_line[@]} rd.live.ram=1" >> ${iacfg}
else
echo " linux ${kern_subdir}/${x} ${default_append_line[@]} docache" >> ${iacfg}