aboutsummaryrefslogtreecommitdiffstats
path: root/main/lxc/0002-lxc-alpine-add-support-for-architecture-arm.patch
blob: f4bfad2fce946ba63c6d801a977aac214a563e1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 882bdfc07672202fbade0d8e38d26cf0a5309b5d Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Thu, 20 Feb 2014 10:30:22 +0000
Subject: [PATCH 2/2] lxc-alpine: add support for architecture arm

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
---
 templates/lxc-alpine.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
index afda971..d8c6674 100644
--- a/templates/lxc-alpine.in
+++ b/templates/lxc-alpine.in
@@ -368,6 +368,9 @@ case "$arch" in
         ;;
     x86_64|"")
         ;;
+    arm*)
+        apk_arch=armhf
+        ;;
     *)
         die "unsupported architecture: $arch"
         ;;
-- 
1.8.5.4