Verified Commit 75878716 authored by Jan Pavlinec's avatar Jan Pavlinec
Browse files

knot-resolver: set root.key as read-only and remove warning

Fixes https://gitlab.labs.nic.cz/turris/turris-os-packages/issues/609
parent 16a23da4
......@@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=knot-resolver
PKG_VERSION:=5.1.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://secure.nic.cz/files/knot-resolver
......
......@@ -106,7 +106,8 @@ load_uci_config_common() {
if [ -n "$keyfile" ]; then
ROOTKEYFILE=$keyfile
check_root_key cert-backup -x $ROOTKEYFILE
echo "trust_anchors.add_file('$ROOTKEYFILE')">>$CONFIGFILE
echo "trust_anchors.remove('.')">>$CONFIGFILE
echo "trust_anchors.add_file('$ROOTKEYFILE', true)">>$CONFIGFILE
fi
else
echo "trust_anchors.remove('.')">>$CONFIGFILE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment