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:
parent
cb61daf8ea
commit
ebceecbd84
@ -23,6 +23,8 @@ Deprecated
|
|||||||
Fixed
|
Fixed
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Add missing replacement for the UUID variable in systemd-boot configuration files on ISO 9660.
|
||||||
|
|
||||||
Removed
|
Removed
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
@ -868,6 +868,7 @@ _make_common_bootmode_systemd-boot_conf.isofs() {
|
|||||||
install -m 0644 -- "${profile}/efiboot/loader/loader.conf" "${isofs_dir}/loader/"
|
install -m 0644 -- "${profile}/efiboot/loader/loader.conf" "${isofs_dir}/loader/"
|
||||||
for _conf in "${profile}/efiboot/loader/entries/"*".conf"; do
|
for _conf in "${profile}/efiboot/loader/entries/"*".conf"; do
|
||||||
sed "s|%ARCHISO_LABEL%|${iso_label}|g;
|
sed "s|%ARCHISO_LABEL%|${iso_label}|g;
|
||||||
|
s|%ARCHISO_UUID%|${iso_uuid}|g;
|
||||||
s|%INSTALL_DIR%|${install_dir}|g;
|
s|%INSTALL_DIR%|${install_dir}|g;
|
||||||
s|%ARCH%|${arch}|g" \
|
s|%ARCH%|${arch}|g" \
|
||||||
"${_conf}" >"${isofs_dir}/loader/entries/${_conf##*/}"
|
"${_conf}" >"${isofs_dir}/loader/entries/${_conf##*/}"
|
||||||
|
Loading…
Reference in New Issue
Block a user