diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-18 23:12:21 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-18 23:12:21 +0000 |
commit | a237745f0e3fcc4652fd8168abd14ab82908743f (patch) | |
tree | 0937b7669d2c8ac243bff4036442abfeaa22951a /user | |
parent | c0cb8fd82a65ef16e828fc45a65018f3d135074f (diff) | |
download | packages-a237745f0e3fcc4652fd8168abd14ab82908743f.tar.gz packages-a237745f0e3fcc4652fd8168abd14ab82908743f.tar.bz2 packages-a237745f0e3fcc4652fd8168abd14ab82908743f.tar.xz packages-a237745f0e3fcc4652fd8168abd14ab82908743f.zip |
user/os-prober: make scripts +x, create /var/lib dir
Diffstat (limited to 'user')
-rw-r--r-- | user/os-prober/APKBUILD | 9 |
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" |