diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-26 14:35:46 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-26 14:35:46 -0400 |
commit | 0c2bf8bec3ff0f558785b29980c193b054c3b529 (patch) | |
tree | 13b9885d67ede3e33863264cee8d46d22bed735c /config-parabola-base-openresolv.PKGBUILD | |
parent | d6801ddd960843ca9c503acb937e7b807852bcf8 (diff) |
Rename everything from config-* to config-parabola-*
Diffstat (limited to 'config-parabola-base-openresolv.PKGBUILD')
-rw-r--r-- | config-parabola-base-openresolv.PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/config-parabola-base-openresolv.PKGBUILD b/config-parabola-base-openresolv.PKGBUILD new file mode 100644 index 0000000..289f2a5 --- /dev/null +++ b/config-parabola-base-openresolv.PKGBUILD @@ -0,0 +1,31 @@ +. ${BUILDFILE%/*}/common.sh +pkgver=20180826 + +package() { +preamble + +# The [resolvconf][openresolv] program (used by netctl and other +# network managers) manages the /etc/resolv.conf file. A few programs +# need to be made aware of this in order to play nice. +# +# [openresolv]: https://www.parabola.nu/packages/core/any/openresolv/ +depends+=(openresolv) + +# Instruct etckeeper to ignore it. +add-file -m755 etc/etckeeper/update-ignore.d/10resolvconf <<'_EOF_' +#!/bin/bash +cat >> .gitignore <<EOF +/resolv.conf +/resolv.conf.bak +EOF +_EOF_ + +# Instruct pacman to not try to update it. +depends+=(config-base-pacman) +add-file etc/pacman.d/resolvconf.conf <<'EOF' +[options] +NoExtract = etc/resolv.conf +EOF + +postamble +} |