2021-10-01 23:34:58 +00:00
|
|
|
From d9d880448cf065cf5a9ad8649d2ce53f9055e289 Mon Sep 17 00:00:00 2001
|
2014-12-30 02:41:19 +00:00
|
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
Date: Sun, 28 Dec 2014 22:33:00 -0700
|
2021-10-01 23:34:58 +00:00
|
|
|
Subject: [PATCH 4/8] arch-nspawn: arm fix
|
2014-12-30 02:41:19 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
arch-nspawn.in | 2 +-
|
2017-12-13 01:42:01 +00:00
|
|
|
makechrootpkg.in | 2 +-
|
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
2014-12-30 02:41:19 +00:00
|
|
|
|
|
|
|
diff --git a/arch-nspawn.in b/arch-nspawn.in
|
2021-10-01 23:34:58 +00:00
|
|
|
index 18febda..be9f49a 100644
|
2014-12-30 02:41:19 +00:00
|
|
|
--- a/arch-nspawn.in
|
|
|
|
+++ b/arch-nspawn.in
|
2021-10-01 23:34:58 +00:00
|
|
|
@@ -126,7 +126,7 @@ eval "$(grep -a '^CARCH=' "$working_dir/etc/makepkg.conf")"
|
2014-12-30 02:41:19 +00:00
|
|
|
|
2017-12-13 01:42:01 +00:00
|
|
|
[[ -z $nosetarch ]] || unset CARCH
|
2013-06-27 17:15:42 +00:00
|
|
|
|
2015-12-05 17:10:02 +00:00
|
|
|
-exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
|
|
|
|
+exec systemd-nspawn -q \
|
2013-06-27 17:15:42 +00:00
|
|
|
-D "$working_dir" \
|
2017-12-13 01:42:01 +00:00
|
|
|
-E "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin" \
|
|
|
|
--register=no --keep-unit --as-pid2 \
|
2014-12-30 02:41:19 +00:00
|
|
|
diff --git a/makechrootpkg.in b/makechrootpkg.in
|
2021-10-01 23:34:58 +00:00
|
|
|
index af3cc28..aeb6d4a 100644
|
2014-12-30 02:41:19 +00:00
|
|
|
--- a/makechrootpkg.in
|
|
|
|
+++ b/makechrootpkg.in
|
2021-10-01 23:34:58 +00:00
|
|
|
@@ -241,7 +241,7 @@ download_sources() {
|
2013-06-27 17:15:42 +00:00
|
|
|
# Ensure sources are downloaded
|
2018-05-31 18:51:19 +00:00
|
|
|
sudo -u "$makepkg_user" --preserve-env=GNUPGHOME \
|
2019-06-09 21:08:25 +00:00
|
|
|
env SRCDEST="$SRCDEST" BUILDDIR="$WORKDIR" \
|
2019-09-21 15:13:45 +00:00
|
|
|
- makepkg --config="$copydir/etc/makepkg.conf" --verifysource -o "${verifysource_args[@]}" ||
|
|
|
|
+ makepkg -A --config="$copydir/etc/makepkg.conf" --verifysource -o "${verifysource_args[@]}" ||
|
2017-12-13 01:42:01 +00:00
|
|
|
die "Could not download sources."
|
2019-06-09 21:08:25 +00:00
|
|
|
}
|
2017-12-13 01:42:01 +00:00
|
|
|
|
2014-12-30 02:41:19 +00:00
|
|
|
--
|
2021-10-01 23:34:58 +00:00
|
|
|
2.30.0
|
2014-12-30 02:41:19 +00:00
|
|
|
|