Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2023-12-21 09:41:54 +0200
committernl6720 <nl6720@gmail.com>2023-12-21 10:03:47 +0200
commitebceecbd848e2cad15393fe6db66737eea9e422d (patch)
treed3a8d58196c7eb46a18873a6f8aba2c7b4216ac5
parentcb61daf8eaffb5e831e51f50aa44080fffac27e8 (diff)
mkarchiso: add missing replacement for ARCHISO_UUID in /loader/entries/*.conf on ISO 9660
Fixes: 094afd169a0ff871eb7a6b37d68a9b9bcb7195e4 ("mkarchiso: support %ARCHISO_UUID% variable in boot loader configuration")
-rw-r--r--CHANGELOG.rst2
-rwxr-xr-xarchiso/mkarchiso1
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index fcc57c2..b9813c7 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -23,6 +23,8 @@ Deprecated
Fixed
-----
+- Add missing replacement for the UUID variable in systemd-boot configuration files on ISO 9660.
+
Removed
-------
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 7890615..fc5976c 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -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##*/}"