]> git.ipfire.org Git - thirdparty/openwrt.git/commit
sysupgrade: create 10_disable_services w/ fixed modified time 16146/head
authorPhilip Prindeville <philipp@redfish-solutions.com>
Sun, 11 Aug 2024 21:28:01 +0000 (15:28 -0600)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Sat, 31 May 2025 17:18:50 +0000 (11:18 -0600)
commitc6c29d7b3837f41797c4bbaafad05c6487166d25
tree57d7841499ebb81d75de1318f8b0187f593460f0
parent30cdc48360db37251fddbed71c7a175239f63b55
sysupgrade: create 10_disable_services w/ fixed modified time

Every time "sysupgrade -b -" runs it would generate a new
(synthetic) "/etc/uci-defaults/10_disable_services" file with
the current time as the modified time.  This unfortunately
creates a non-deterministic tarball, so if you run a cron job
to save your state, you don't have a trivial way of seeing if
it changed or not without unpacking the archive, deleting this
file, and comparing the entire directory tree to the previous
backup.

Fixes: #16145
Fixes: 0ad062a21b ("base-files: sysupgrade: include uci-defaults script disabling services #2")
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
package/base-files/files/sbin/sysupgrade