aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-14 00:24:42 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-14 09:35:40 -0300
commit13f58dce5181d64c26f74775e77463630a01bc56 (patch)
treed046c9e1b0fc500e7efc5402af5018e5bac71b17
parent8094d204a0bfcb5b61b9823916916339fe57b37b (diff)
downloadaports-13f58dce5181d64c26f74775e77463630a01bc56.tar.bz2
aports-13f58dce5181d64c26f74775e77463630a01bc56.tar.xz
main/libvirt: install module file to /lib/modules-load.d
-rw-r--r--main/libvirt/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD
index b287348cc0..2f3790771d 100644
--- a/main/libvirt/APKBUILD
+++ b/main/libvirt/APKBUILD
@@ -2,7 +2,7 @@
pkgname=libvirt
pkgver=6.0.0
_ver="${pkgver/_rc/-rc}"
-pkgrel=0
+pkgrel=1
pkgdesc="A virtualization API for several hypervisor and container systems"
url="https://libvirt.org/"
arch="all"
@@ -88,8 +88,8 @@ package() {
install -D -m755 $srcdir/virtlogd.initd $pkgdir/etc/init.d/virtlogd
install -D -m755 $srcdir/virtlockd.initd $pkgdir/etc/init.d/virtlockd
- install -d "$pkgdir"/etc/modules-load.d
- echo "tun" > "$pkgdir"/etc/modules-load.d/libvirt.conf
+ install -d "$pkgdir"/lib/modules-load.d
+ echo "tun" > "$pkgdir"/lib/modules-load.d/libvirt.conf
rm -rf "$pkgdir"/usr/lib/charset.alias
rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true
@@ -112,7 +112,7 @@ daemon() {
"$subpkgdir"/usr/sbin
mv "$pkgdir"/etc/init.d "$subpkgdir"/etc
mv "$pkgdir"/etc/conf.d "$subpkgdir"/etc
- mv "$pkgdir"/etc/modules-load.d "$subpkgdir"/etc
+ mv "$pkgdir"/lib/modules-load.d "$subpkgdir"/lib
mv "$pkgdir"/etc/$pkgname/libvirtd.conf "$subpkgdir"/etc/libvirt/
mv "$pkgdir"/usr/sbin/libvirtd "$subpkgdir"/usr/sbin/
mv "$pkgdir"/etc/logrotate.d/libvirtd "$subpkgdir"/etc/logrotate.d/