isolinux: fix toram=... variable usage within isolinux configs
authorMichael Prokop <mika@grml.org>
Mon, 27 Sep 2021 08:35:16 +0000 (10:35 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 27 Sep 2021 08:50:24 +0000 (10:50 +0200)
commit48c20386e11d2cb70b23ef8a6024d6f8c7d6720a
tree8b67196ee4362e69a1a078b0fcc89b9864ffb996
parentdfaf77aa87d08278f9af30d01243f27336b60f57
isolinux: fix toram=... variable usage within isolinux configs

Fixup for commit 9453222c0, where we introduced usage of
$fixed_squashfs_name.  This variable was set up only *after*
adjust_boot_files function got invoked for the isolinux configuration
files. As a result the isolinux configuration files ended up with their
template placeholder settings included ("toram=%SQUASHFS_NAME%").

Fix ordering, but also warn in adjust_boot_files() if the the
$fixed_squashfs_name + $fixed_release_info variables are unset.

Thanks: Chris Hofstaedtler for the bug report
Closes: https://github.com/grml/grml/issues/179
grml-live