summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-10-31 06:55:44 +0300
committerDevaev Maxim <[email protected]>2020-10-31 06:55:44 +0300
commit1f09bfe0de3f6e1165c0a9849027a0e1b70e7e3e (patch)
treecebf2f9cc7f0bf8f081e0efde0000013f486c920 /PKGBUILD
parent386461c9746665ef3440fe2c29ec60584d29cbbf (diff)
avoid dhcpcd stack trace
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a310bf73..0bc20eb0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -64,6 +64,10 @@ depends=(
dnsmasq
"raspberrypi-io-access>=0.5"
"ustreamer>=1.19"
+
+ # Avoid dhcpcd stack trace
+ dhclient
+ netctl
)
makedepends=(python-setuptools)
source=("$url/archive/v$pkgver.tar.gz")
@@ -118,6 +122,9 @@ package_kvmd() {
install -Dm600 -t "$pkgdir/etc/kvmd" "$_cfg_default/kvmd"/*passwd
mkdir -p "$pkgdir/var/lib/kvmd/msd"
+
+ # Avoid dhcp problems
+ install -DTm755 configs/os/netctl-dhcp "$pkgdir/etc/netctl/hooks/pikvm-dhcp"
}