diff options
Diffstat (limited to 'user/os-prober/APKBUILD')
-rw-r--r-- | user/os-prober/APKBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/user/os-prober/APKBUILD b/user/os-prober/APKBUILD index 65ff5061b..016f92168 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,21 @@ 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}/* \ - "$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 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" |