summaryrefslogtreecommitdiffstats
path: root/mkosi.images/system
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-04-08 11:35:38 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-04-08 11:36:40 +0200
commitda38f93bd6e5a6afa11c895c262a0dfc0bac0363 (patch)
treea0eb12f58ec4837a099b7be225958b50733fde7d /mkosi.images/system
parentInstall build dependencies into final image (diff)
downloadsystemd-da38f93bd6e5a6afa11c895c262a0dfc0bac0363.tar.xz
systemd-da38f93bd6e5a6afa11c895c262a0dfc0bac0363.zip
mkosi: Fix environment variable in arch prepare script
Diffstat (limited to 'mkosi.images/system')
-rwxr-xr-xmkosi.images/system/mkosi.conf.d/10-arch/mkosi.prepare2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.prepare b/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.prepare
index 2a0ef35965..dd4ac96cb9 100755
--- a/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.prepare
+++ b/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.prepare
@@ -20,7 +20,7 @@ sed --expression 's/^[ \t]*//' "pkg/$PKG_SUBDIR/.SRCINFO" |
# We get makedepends from the PKGBUILD as .SRCINFO can't encode conditional dependencies depending on
# whether some environment variable is set or not.
# shellcheck source=/dev/null
-UPSTREAM=1 . "pkg/$PKG_SUBDIR/PKGBUILD"
+_systemd_UPSTREAM=1 . "pkg/$PKG_SUBDIR/PKGBUILD"
# shellcheck disable=SC2154
mkosi-install "${makedepends[@]}"