PKGBUILDs/alarm/devtools-alarm/0006-archbuild-no-setarch.patch

26 lines
750 B
Diff
Raw Normal View History

2017-12-13 01:42:01 +00:00
From 476a3b7efbd047ccf4be07ee40a0d1f336084f5a 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:34:04 -0700
2017-12-13 01:42:01 +00:00
Subject: [PATCH 6/8] archbuild: no setarch
2014-12-30 02:41:19 +00:00
---
archbuild.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/archbuild.in b/archbuild.in
2017-12-13 01:42:01 +00:00
index 8339aef..619fc8c 100644
2014-12-30 02:41:19 +00:00
--- a/archbuild.in
+++ b/archbuild.in
2017-12-13 01:42:01 +00:00
@@ -60,7 +60,7 @@ if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then
rm -rf --one-file-system "${chroots}/${repo}-${arch}"
mkdir -p "${chroots}/${repo}-${arch}"
- setarch "${arch}" mkarchroot \
+ mkarchroot \
-C "@pkgdatadir@/pacman-${repo}.conf" \
-M "@pkgdatadir@/makepkg-${arch}.conf" \
"${chroots}/${repo}-${arch}/root" \
2014-12-30 02:41:19 +00:00
--
2017-12-13 01:42:01 +00:00
2.14.1
2014-12-30 02:41:19 +00:00