mkarchiso: add missing replacement for ARCHISO_UUID in /loader/entries/*.conf on ISO 9660

Fixes: 094afd169a ("mkarchiso: support %ARCHISO_UUID% variable in boot loader configuration")
This commit is contained in:
nl6720 2023-12-21 09:41:54 +02:00
parent cb61daf8ea
commit ebceecbd84
No known key found for this signature in database
GPG key ID: 5CE88535E188D369
2 changed files with 3 additions and 0 deletions

View file

@ -23,6 +23,8 @@ Deprecated
Fixed
-----
- Add missing replacement for the UUID variable in systemd-boot configuration files on ISO 9660.
Removed
-------

View file

@ -868,6 +868,7 @@ _make_common_bootmode_systemd-boot_conf.isofs() {
install -m 0644 -- "${profile}/efiboot/loader/loader.conf" "${isofs_dir}/loader/"
for _conf in "${profile}/efiboot/loader/entries/"*".conf"; do
sed "s|%ARCHISO_LABEL%|${iso_label}|g;
s|%ARCHISO_UUID%|${iso_uuid}|g;
s|%INSTALL_DIR%|${install_dir}|g;
s|%ARCH%|${arch}|g" \
"${_conf}" >"${isofs_dir}/loader/entries/${_conf##*/}"