From b07b4b215d47d9d5723bcf2d4a204bf7320bb145 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 22 Jul 2022 15:36:55 +0200 Subject: core/systemd: patching SBAT data for Archlinux32 --- core/systemd/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'core/systemd/PKGBUILD') diff --git a/core/systemd/PKGBUILD b/core/systemd/PKGBUILD index 6b71579b..ccec11a5 100644 --- a/core/systemd/PKGBUILD +++ b/core/systemd/PKGBUILD @@ -1,3 +1,13 @@ +# replace SBAT data +eval "$( + declare -f build | \ + sed ' + s/-Dsbat-distro='"'"'arch'"'"'/-Dsbat-distro='"'"'arch32'"'"'/g + s/-Dsbat-distro-summary='"'"'Arch Linux'"'"'/-Dsbat-distro-summary='"'"'Arch Linux 32'"'"'/g + s|-Dsbat-distro-url="[^"]*"|-Dsbat-distro-url="https://archlinux32.org/packages/core/${CARCH}/${pkgname}"|g + ' +)" + # some tests run into timeouts eval "$( declare -f check | \ -- cgit v1.2.3-70-g09d2