Remove stale "/lib/upgrade/keep.d/base-files-essentials" file, its contents are already listed in a conffiles section in the Makefile. "opkg list-changed-conffiles" finds all changed files listed in the base-files-essentials file, so it's not needed anymore. sysupgrade saves every file listed from "opkg list-changed-conffiles" on upgrades. I always wondered why files like /ets/shells are in every sysupgarade backup, I have never touched this file. With this patch these files are only backed up when they were changed.
Signed-off-by: Stefan Hellermann <[email protected]> --- package/base-files/files/lib/upgrade/keep.d/base-files-essential | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 package/base-files/files/lib/upgrade/keep.d/base-files-essential diff --git a/package/base-files/files/lib/upgrade/keep.d/base-files-essential b/package/base-files/files/lib/upgrade/keep.d/base-files-essential deleted file mode 100644 index 2c611d2..0000000 --- a/package/base-files/files/lib/upgrade/keep.d/base-files-essential +++ /dev/null @@ -1,9 +0,0 @@ -# Essential files that will be always kept -/etc/hosts -/etc/inittab -/etc/group -/etc/passwd -/etc/profile -/etc/shells -/etc/sysctl.conf -/etc/rc.local -- 1.8.1.2 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
