PKGBUILDs/alarm/devtools-alarm/0002-arch-nspawn-keep-mirrorlist.patch

26 lines
821 B
Diff
Raw Normal View History

2017-12-13 01:42:01 +00:00
From b7c0c20f3681aa0982d4f804c18292b4aa3efa72 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:27:34 -0700
2017-12-13 01:42:01 +00:00
Subject: [PATCH 2/8] arch-nspawn: keep mirrorlist
2014-12-30 02:41:19 +00:00
---
arch-nspawn.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch-nspawn.in b/arch-nspawn.in
2017-12-13 01:42:01 +00:00
index c55f498..3896992 100644
2014-12-30 02:41:19 +00:00
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
2017-12-13 01:42:01 +00:00
@@ -80,7 +80,7 @@ build_mount_args() {
copy_hostconf () {
2014-12-30 02:41:19 +00:00
cp -a /etc/pacman.d/gnupg "$working_dir/etc/pacman.d"
2014-01-22 01:39:39 +00:00
- echo "Server = $host_mirror" >"$working_dir/etc/pacman.d/mirrorlist"
+ #echo "Server = $host_mirror" >"$working_dir/etc/pacman.d/mirrorlist"
2017-12-13 01:42:01 +00:00
[[ -n $pac_conf ]] && cp "$pac_conf" "$working_dir/etc/pacman.conf"
[[ -n $makepkg_conf ]] && cp "$makepkg_conf" "$working_dir/etc/makepkg.conf"
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