lxc: add two files to default backup list
authorJohn Audia <[email protected]>
Fri, 14 Mar 2025 21:54:47 +0000 (17:54 -0400)
committerTianling Shen <[email protected]>
Sat, 15 Mar 2025 13:32:58 +0000 (21:32 +0800)
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 <[email protected]>
Co-authored-by: Tianling Shen <[email protected]>
utils/lxc/Makefile

index b661c76bdaacb16a32315964cb18fe7d21aa894e..c389e1601dd986f364871e037fa55c4564fa8952 100644 (file)
@@ -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