summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-26 01:30:05 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-26 01:30:05 +0000
commit174c4bb4a8b4c7cf94a265901fe28b6a99d17393 (patch)
tree69425915aad48d4abc32d529c75d231a4c7f5c9f
parent1b002db0e6ffe48241432645ef013df8bbcb0f22 (diff)
downloadpackages-174c4bb4a8b4c7cf94a265901fe28b6a99d17393.tar.gz
packages-174c4bb4a8b4c7cf94a265901fe28b6a99d17393.tar.bz2
packages-174c4bb4a8b4c7cf94a265901fe28b6a99d17393.tar.xz
packages-174c4bb4a8b4c7cf94a265901fe28b6a99d17393.zip
user/os-prober: Fix installation on x86
-rw-r--r--user/os-prober/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/os-prober/APKBUILD b/user/os-prober/APKBUILD
index fb228faf2..016f92168 100644
--- a/user/os-prober/APKBUILD
+++ b/user/os-prober/APKBUILD
@@ -35,8 +35,9 @@ package() {
install -Dm755 $file "$pkgdir/usr/lib/$probes"
done
if [ -e "$probes/${PROBE_ARCH}" ]; then
- install -Dm755 $probes/${PROBE_ARCH}/* \
- "$pkgdir/usr/lib/$probes"
+ mkdir -p "$pkgdir/usr/lib/$probes/${PROBE_ARCH}"
+ cp -a $probes/${PROBE_ARCH}/* \
+ "$pkgdir/usr/lib/$probes/${PROBE_ARCH}"
fi
done
mkdir -p "$pkgdir"/usr/lib/os-prober "$pkgdir"/usr/bin