From: John Audia Date: Fri, 14 Mar 2025 21:54:47 +0000 (-0400) Subject: lxc: add two files to default backup list X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=6fe80f5586bb8471d6e493a4e298e4b0da90a9bd;p=feed%2Fpackages.git lxc: add two files to default backup list Users running unprivileged containers will need to create /etc/subgid and /etc/subuid and want to have them preserved across updates. This commit adds them to the default backup set. Signed-off-by: John Audia Co-authored-by: Tianling Shen --- diff --git a/utils/lxc/Makefile b/utils/lxc/Makefile index b661c76bda..c389e1601d 100644 --- a/utils/lxc/Makefile +++ b/utils/lxc/Makefile @@ -103,6 +103,11 @@ define Package/lxc-unprivileged/install $(INSTALL_DATA) ./files/lxc-unprivileged.defaults $(1)/etc/uci-defaults/lxc-unprivileged endef +define Package/lxc-unprivileged/conffiles +/etc/subgid +/etc/subuid +endef + define Package/lxc/config source "$(SOURCE)/Config.in" endef