. ${BUILDFILE%/*}/common.sh pkgver=20210617 package() { preamble pkgdesc="Parabola server configuration: Use resolved" conflicts+=(config-parabola-base-openresolv) # Enable resolved add-unit etc/systemd/system/multi-user.target.wants/systemd-resolved.service ln -s /usr/lib/systemd/system/systemd-resolved.service etc/systemd/system/dbus-org.freedesktop.resolve1.service # Configure DNS to use resolved # # 'filesystem' contains a conflicting resolv.conf, so use Holo to # overwrite it. mkdir -p usr/share/holo/files/10-"$pkgname"/etc ln -s /run/systemd/resolve/stub-resolv.conf usr/share/holo/files/10-"$pkgname"/etc/resolv.conf postamble }