1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/package/base-files/files
Rafał Miłecki 157d6019df Revert "base-files: sysupgrade: always setup overlay when creating backup"
This reverts commit 4fa9aaf0bed984d200b3c48d1cc81fca7847c394.

That seemed like a good idea allowing us to include any runtime
generated file in archive. Unfortuantely it broke backups with files
from mounted directories.

When mounting overlay with / as lowerdir its mounts don't propagete in
the mountpoint. That resulted in empty directories:
/tmp/overlay.XXXXXX/backup/tmp/
/tmp/overlay.XXXXXX/backup/var/
/tmp/overlay.XXXXXX/backup/dev/
/tmp/overlay.XXXXXX/backup/proc/
etc.

As some platforms / users try to backup files like /var/dhcp.leases or
/boot/cmdline.txt it means we can't use that solution.

Link: http://lists.openwrt.org/pipermail/openwrt-devel/2024-February/042320.html
Link: https://lore.kernel.org/linux-fsdevel/67bb0571-a6e0-44ea-9ab6-91c267d0642f@gmail.com/T/#u
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2024-02-22 22:08:14 +01:00
..
bin base-files: ipcalc.sh: Add netmask2prefix function 2023-12-12 12:30:35 -07:00
etc base-files/leds: add setting the LED color via uci 2024-02-07 15:34:43 +01:00
lib base-files: move uci_set_poe() to uci-defaults.sh 2024-02-12 20:46:51 +01:00
rom
sbin Revert "base-files: sysupgrade: always setup overlay when creating backup" 2024-02-22 22:08:14 +01:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00