openwrt/package/base-files/files/sbin
Rafał Miłecki 4fa9aaf0be base-files: sysupgrade: always setup overlay when creating backup
Setting overlay while creating backup allows including extra files in
archive without actually writing them to flash. Right now this feature
is limited to /etc/backup/ directory and is used only for including
installed_packages.txt.

Extend this solution to make it more generic:
1. Always mount overlay while creating backup
2. Overlay whole / to don't limit it to /etc/backup/

This allows including any additional files in backups and adding more
sysupgrade features.

Cc: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Cc: Christian Marangi <ansuelsmth@gmail.com>
Cc: Jo-Philipp Wich <jo@mein.io>
Cc: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2024-02-19 13:53:14 +01:00
..
firstboot base-files: firstboot: pass down arguments such as -y to jffs2reset 2015-03-10 23:43:25 +00:00
hotplug-call base-files: hotplug-call: exit success when dir is absent 2019-10-29 13:28:49 +00:00
led.sh scripts: fix wrong usage of '==' operator 2014-10-14 12:21:11 +00:00
pkg_check base-files: remove useless cat 2020-07-11 12:52:01 +02:00
sysupgrade base-files: sysupgrade: always setup overlay when creating backup 2024-02-19 13:53:14 +01:00