diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-20 11:23:05 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-20 11:23:05 +0000 |
commit | 403125843d731a34f2ff8193c87a867c587d9b0c (patch) | |
tree | 99108058e874484b09f47b112e2e87aad2025ac7 /community/tvheadend/APKBUILD | |
parent | 4ae55f56d7841219a62737942a7329cf7f54484e (diff) | |
download | aports-403125843d731a34f2ff8193c87a867c587d9b0c.tar.bz2 aports-403125843d731a34f2ff8193c87a867c587d9b0c.tar.xz |
community/tvheadend: build fix aarch64
Diffstat (limited to 'community/tvheadend/APKBUILD')
-rw-r--r-- | community/tvheadend/APKBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/community/tvheadend/APKBUILD b/community/tvheadend/APKBUILD index 322ac5756a..1ecaa44c69 100644 --- a/community/tvheadend/APKBUILD +++ b/community/tvheadend/APKBUILD @@ -45,10 +45,12 @@ package() { install -m755 -D "$srcdir"/$pkgname.initd \ "$pkgdir"/etc/init.d/$pkgname || return 1 - install -m755 -D "$srcdir"/$pkgname.confd \ + install -m755 -D -o $pkgname -g $pkgname "$srcdir"/$pkgname.confd \ "$pkgdir"/etc/conf.d/$pkgname || return 1 - install -d -o $pkgname -g $pkgname \ - "$pkgdir/etc/$pkgname" || return 1 + # /usr/bin/install seems to fail to apply ownership + # when running from abuild on aarch64 + mkdir -p "$pkgdir"/etc/"$pkgname" || return 1 + chown "$pkgusers:$pkggroups" "$pkgdir/etc/$pkgname" || return 1 } dvb_scan() { |