From: Daan De Meyer Date: Mon, 8 Apr 2024 09:35:38 +0000 (+0200) Subject: mkosi: Fix environment variable in arch prepare script X-Git-Tag: v256-rc1~269^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da38f93bd6e5a6afa11c895c262a0dfc0bac0363;p=thirdparty%2Fsystemd.git mkosi: Fix environment variable in arch prepare script --- 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 2a0ef359650..dd4ac96cb9b 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[@]}"