mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From 6f96e7a6100b48cd3a0820d530f9d79a31d26293 Mon Sep 17 00:00:00 2001
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
Date: Sun, 28 Dec 2014 22:33:00 -0700
|
|
Subject: [PATCH 4/7] arch-nspawn: arm fix
|
|
|
|
---
|
|
arch-nspawn.in | 2 +-
|
|
makechrootpkg.in | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/arch-nspawn.in b/arch-nspawn.in
|
|
index 496fbd4..76c595c 100644
|
|
--- a/arch-nspawn.in
|
|
+++ b/arch-nspawn.in
|
|
@@ -130,7 +130,7 @@ eval "$(grep -a '^CARCH=' "$working_dir/etc/makepkg.conf")"
|
|
|
|
[[ -z $nosetarch ]] || unset CARCH
|
|
|
|
-exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
|
|
+exec systemd-nspawn -q \
|
|
-D "$working_dir" \
|
|
-E "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin" \
|
|
--register=no --keep-unit --as-pid2 \
|
|
diff --git a/makechrootpkg.in b/makechrootpkg.in
|
|
index aa65ae5..c342d18 100644
|
|
--- a/makechrootpkg.in
|
|
+++ b/makechrootpkg.in
|
|
@@ -257,7 +257,7 @@ download_sources() {
|
|
# Ensure sources are downloaded
|
|
sudo -u "$makepkg_user" --preserve-env=GNUPGHOME \
|
|
env SRCDEST="$SRCDEST" BUILDDIR="$WORKDIR" \
|
|
- makepkg --config="$copydir/etc/makepkg.conf" --verifysource -o "${verifysource_args[@]}" ||
|
|
+ makepkg -A --config="$copydir/etc/makepkg.conf" --verifysource -o "${verifysource_args[@]}" ||
|
|
die "Could not download sources."
|
|
}
|
|
|
|
--
|
|
2.22.0
|
|
|