base-files: sysupgrade: use tar helper to include installed_packages.txt
authorRafał Miłecki <rafal@milecki.pl>
Wed, 28 Feb 2024 10:51:01 +0000 (11:51 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 29 Feb 2024 15:12:06 +0000 (16:12 +0100)
commite36cc530927c4294c1510d7cdf89f0b9739e6cde
treed679251cf7a6b37c4ab7eb72254afb6f232afafe
parent08495b7f2474801c0b80a7b5335a51f108e76be2
base-files: sysupgrade: use tar helper to include installed_packages.txt

Replace mount + overlay with manually built tar archive that gets
prepended to the actual config files backup. This allows more
flexibility with including extra backup files. They can be included at
any paths and don't require writing to flash or mounting an overlay
which has its own limitations (mount points).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Jo-Philipp Wich <jo@mein.io>
package/base-files/files/sbin/sysupgrade