Skip to content

Commit

Permalink
Added support x86_64 (amd64)
Browse files Browse the repository at this point in the history
Former-commit-id: 7ca7858
  • Loading branch information
meefik committed Aug 18, 2015
1 parent 39b6091 commit f74abac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@
<item>kali</item>
<item>fedora</item>
<item>archlinux</item>
<item>opensuse</item>
<item>gentoo</item>
<item>opensuse</item>
<item>slackware</item>
<item>rootfs</item>
</string-array>
Expand All @@ -238,8 +238,8 @@
<item>Kali Linux</item>
<item>Fedora</item>
<item>Arch Linux</item>
<item>openSUSE</item>
<item>Gentoo</item>
<item>openSUSE</item>
<item>Slackware</item>
<item>RootFS</item>
</string-array>
Expand Down Expand Up @@ -368,6 +368,7 @@
<item>armhfp</item> <!-- f19 and later -->
<item>aarch64</item> <!-- f21 and later -->
<item>i386</item>
<item>x86_64</item>
</string-array>
<string-array name="fedora_components_values" translatable="false">
<item>desktop</item>
Expand All @@ -392,6 +393,7 @@
<item>armv6h</item>
<item>armv7h</item>
<item>i686</item>
<item>x86_64</item>
</string-array>
<string-array name="archlinux_components_values" translatable="false">
<item>desktop</item>
Expand All @@ -415,6 +417,7 @@
<string-array name="opensuse_architecture_values" translatable="false">
<item>armv7hl</item>
<item>i586</item>
<item>x86_64</item>
</string-array>
<string-array name="opensuse_components_values" translatable="false">
<item>desktop</item>
Expand Down Expand Up @@ -443,6 +446,7 @@
<item>armv7a_hardfp</item>
<item>i486</item>
<item>i686</item>
<item>amd64</item> <!-- need manually change the mirror url -->
</string-array>
<string-array name="gentoo_components_values" translatable="false">
<item>desktop</item>
Expand Down
3 changes: 2 additions & 1 deletion src/ru/meefik/linuxdeploy/PrefStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit f74abac

Please sign in to comment.