summaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/0001-setup-apkrepos-force-install-virtual-package.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-27 17:03:17 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-27 17:03:17 +0200
commitd25edc54927d90ee88265254bff952a5f888c310 (patch)
tree2c3fa887de95ade5e33da28e105c00753c538de7 /main/alpine-conf/0001-setup-apkrepos-force-install-virtual-package.patch
parenta47cbd8f5e0078ef4332fcec7a5adc0712f4755b (diff)
downloadaports-d25edc54927d90ee88265254bff952a5f888c310.tar.bz2
aports-d25edc54927d90ee88265254bff952a5f888c310.tar.xz
main/alpine-conf: fix setup-apkrepos
Diffstat (limited to 'main/alpine-conf/0001-setup-apkrepos-force-install-virtual-package.patch')
-rw-r--r--main/alpine-conf/0001-setup-apkrepos-force-install-virtual-package.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/alpine-conf/0001-setup-apkrepos-force-install-virtual-package.patch b/main/alpine-conf/0001-setup-apkrepos-force-install-virtual-package.patch
new file mode 100644
index 000000000..32175f0f6
--- /dev/null
+++ b/main/alpine-conf/0001-setup-apkrepos-force-install-virtual-package.patch
@@ -0,0 +1,27 @@
+From 36bd76145a20479c867c7868e5c20396b2b9e30a Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Tue, 27 May 2014 16:58:42 +0200
+Subject: [PATCH] setup-apkrepos: force install virtual package
+
+it is tmpfs and we know it will be removed on reboot. Infact, we want
+it to be removed on reboot.
+---
+ setup-apkrepos.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup-apkrepos.in b/setup-apkrepos.in
+index ad9c309..e84b928 100644
+--- a/setup-apkrepos.in
++++ b/setup-apkrepos.in
+@@ -161,7 +161,7 @@ done
+ # install alpine-mirrors if its not already there
+ to_uninstall=
+ if ! apk info --quiet --installed alpine-mirrors; then
+- apk add --quiet --virtual .setup-apkrepos alpine-mirrors
++ apk add --force --quiet --virtual .setup-apkrepos alpine-mirrors
+ to_uninstall=.setup-apkrepos
+ fi
+
+--
+1.9.3
+