summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2016-01-19 01:16:38 +0100
committerOlivier Blin <dev@blino.org>2016-01-19 01:16:38 +0100
commit84a60ba01cd093704b0125c3078924e14ccfd671 (patch)
tree0f10907edde0b90962b99087487f1a440f162831 /tools
parent1d67c58f104b1057a0718db927bb7a641316edea (diff)
downloaddrakx-84a60ba01cd093704b0125c3078924e14ccfd671.tar
drakx-84a60ba01cd093704b0125c3078924e14ccfd671.tar.gz
drakx-84a60ba01cd093704b0125c3078924e14ccfd671.tar.bz2
drakx-84a60ba01cd093704b0125c3078924e14ccfd671.tar.xz
drakx-84a60ba01cd093704b0125c3078924e14ccfd671.zip
Use arm instead of full arm version as arch when installing files from xml list
Instead of armv7l as detected from uname -m. Perl files are installed in /usr/lib/perl5/<version>/arm-linux-thread-multi
Diffstat (limited to 'tools')
-rwxr-xr-xtools/install-xml-file-list1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/install-xml-file-list b/tools/install-xml-file-list
index 7bd0588fe..b5413a1ab 100755
--- a/tools/install-xml-file-list
+++ b/tools/install-xml-file-list
@@ -23,6 +23,7 @@ if ($>) {
my $initial_dir = cwd();
my $ARCH = arch() =~ /i.86/ ? 'i386' : arch();
+$ARCH =~ s/^(arm).*/$1/;
my $LIB = arch() =~ /x86_64/ ? "lib64" : "lib";
my $base_cpio_options = '-pumd --quiet';