systemd/systemd: drop unnecessary conditionalization for $source

The upstream mkosi build does not fetch source files. Hence, it is not
necessary to exclude the tar ball from $source.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8832>
This commit is contained in:
Yu Watanabe 2026-06-17 01:31:17 +09:00 committed by The Friendly Meow (merge) Bot
parent eb81a92aae
commit 7eb30fa6f2
No known key found for this signature in database

View file

@ -221,13 +221,10 @@ if [ "$_systemd_upstream" = 1 ]; then
-Dukify=enabled
"
fi
else
# The source tar ball is of course only necessary when we are _not_ in upstream.
source="$pkgname-$pkgver.tar.gz::https://github.com/systemd/systemd/archive/refs/tags/v$_pkgver.tar.gz"
fi
source="
$source
$pkgname-$pkgver.tar.gz::https://github.com/systemd/systemd/archive/refs/tags/v$_pkgver.tar.gz
wired.network
"
builddir=${_upstream_srcdir:-"$srcdir/$pkgname-$_pkgver"}