Subject: [alpine-aports] [PATCH v2] main/lxc: add GNU tar depends for unprivileged containers

From: Stuart Cardall <[email-masked]>
Date: Sat, 28 Nov 2015 20:33:57 +0000

The lxc download template for unprivileged containers requires
'tar --anchored' which is not possible with Busybox tar.

Adds GNU tar to the depends of lxc-templates.
---
Changes v1 -> v2:
- depends added to lxc-templates not lxc

 main/lxc/APKBUILD | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main/lxc/APKBUILD b/main/lxc/APKBUILD
index 32bdb48..286e03f 100644
--- a/main/lxc/APKBUILD
+++ b/main/lxc/APKBUILD
@@ -78,6 +78,7 @@ _lua52() {
 
 templates() {
 	pkgdesc="Templates for LXC"
+	depends="tar"
 	arch="noarch"
 	mkdir -p "$subpkgdir"/usr/share/lxc
 	mv "$pkgdir"/usr/share/lxc/templates "$subpkgdir"/usr/share/lxc/
-- 
2.6.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---