From f74abacbc9f0c3bb8dedd5a19ad2d434889950ac Mon Sep 17 00:00:00 2001 From: Anton Skshidlevsky Date: Tue, 18 Aug 2015 11:52:46 +0300 Subject: [PATCH] Added support x86_64 (amd64) Former-commit-id: 7ca7858cf16fdd1e6511ba12583b1230ff994cbc --- res/values/arrays.xml | 8 ++++++-- src/ru/meefik/linuxdeploy/PrefStore.java | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/res/values/arrays.xml b/res/values/arrays.xml index cdf188bf..0d41ceb1 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -227,8 +227,8 @@ kali fedora archlinux - opensuse gentoo + opensuse slackware rootfs @@ -238,8 +238,8 @@ Kali Linux Fedora Arch Linux - openSUSE Gentoo + openSUSE Slackware RootFS @@ -368,6 +368,7 @@ armhfp aarch64 i386 + x86_64 desktop @@ -392,6 +393,7 @@ armv6h armv7h i686 + x86_64 desktop @@ -415,6 +417,7 @@ armv7hl i586 + x86_64 desktop @@ -443,6 +446,7 @@ armv7a_hardfp i486 i686 + amd64 desktop diff --git a/src/ru/meefik/linuxdeploy/PrefStore.java b/src/ru/meefik/linuxdeploy/PrefStore.java index 802057f3..190796ca 100644 --- a/src/ru/meefik/linuxdeploy/PrefStore.java +++ b/src/ru/meefik/linuxdeploy/PrefStore.java @@ -343,7 +343,8 @@ public static String getArch(String arch) { char a = arch.toLowerCase().charAt(0); switch (a) { case 'a': - march = "arm"; + if (arch.equals("amd64")) march = "intel"; + else march = "arm"; break; case 'm': march = "mips";