summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/os-prober/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/user/os-prober/APKBUILD b/user/os-prober/APKBUILD
index 65ff5061b..fb228faf2 100644
--- a/user/os-prober/APKBUILD
+++ b/user/os-prober/APKBUILD
@@ -8,7 +8,7 @@ url="http://joeyh.name/code/os-prober/"
arch="all"
options="!check" # No test suite.
license="GPL-2.0+ AND GPL-1.0+"
-depends="/bin/sh"
+depends="/bin/sh grub-mount"
makedepends=""
subpackages=""
source="http://deb.debian.org/debian/pool/main/o/os-prober/os-prober_$pkgver.tar.xz"
@@ -32,19 +32,20 @@ package() {
linux-boot-probes linux-boot-probes/mounted; do
mkdir -p "$pkgdir/usr/lib/$probes"
for file in $probes/common/*; do
- install -Dm644 $file "$pkgdir/usr/lib/$probes"
+ install -Dm755 $file "$pkgdir/usr/lib/$probes"
done
if [ -e "$probes/${PROBE_ARCH}" ]; then
- install -Dm644 $probes/${PROBE_ARCH}/* \
+ install -Dm755 $probes/${PROBE_ARCH}/* \
"$pkgdir/usr/lib/$probes"
fi
done
mkdir -p "$pkgdir"/usr/lib/os-prober "$pkgdir"/usr/bin
mkdir -p "$pkgdir"/usr/share/os-prober
+ install -dm700 "$pkgdir"/var/lib/os-prober
install -Dm755 newns "$pkgdir"/usr/lib/os-prober/
install -Dm755 os-prober "$pkgdir"/usr/bin/
install -Dm755 linux-boot-prober "$pkgdir"/usr/bin/
- install -Dm644 common.sh "$pkgdir"/usr/share/os-prober/
+ install -Dm755 common.sh "$pkgdir"/usr/share/os-prober/
}
sha512sums="4d9c22ccc4d950644a06a17ec4424aca5ff82aeb20052dc389dd451b6b9a1799c5a9438644a29093153730af42066abbbbb78f593f2564314c9adbd43f60e39b os-prober_1.77.tar.xz"