diff options
author | Devaev Maxim <[email protected]> | 2020-10-31 06:55:44 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-10-31 06:55:44 +0300 |
commit | 1f09bfe0de3f6e1165c0a9849027a0e1b70e7e3e (patch) | |
tree | cebf2f9cc7f0bf8f081e0efde0000013f486c920 | |
parent | 386461c9746665ef3440fe2c29ec60584d29cbbf (diff) |
avoid dhcpcd stack trace
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | configs/os/netctl-dhcp | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -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" } diff --git a/configs/os/netctl-dhcp b/configs/os/netctl-dhcp new file mode 100644 index 00000000..ba172f19 --- /dev/null +++ b/configs/os/netctl-dhcp @@ -0,0 +1,2 @@ +#!/bin/sh +DHCPClient='dhclient' |