diff options
author | 2024-05-13 10:06:42 -0500 | |
---|---|---|
committer | 2024-05-13 10:06:42 -0500 | |
commit | 6e3cb65fdfedc2bdd2c1ddf4cd60fcdc38168760 (patch) | |
tree | 1a3a0098b5012e1430523acc8e9e9e3016d39290 | |
parent | bootloader_setup.sh: don't assume LABEL=ISOIMAGE (diff) | |
download | catalyst-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>
-rwxr-xr-x | targets/support/bootloader-setup.sh | 2 |
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} |