base-files: sysupgrade: add saving list of installed packages for APK
authorRobert Marko <robimarko@gmail.com>
Sat, 30 Nov 2024 12:05:39 +0000 (13:05 +0100)
committerRobert Marko <robimarko@gmail.com>
Sat, 28 Dec 2024 09:59:50 +0000 (10:59 +0100)
commitcee18af7049c32713a5ada5196d8ad238ee837fb
tree81cbef0b6a89014475e5a5199a3c07ed05d937dc
parentda7ab64f1f6d72597a1c8a8bb3b57409227bc635
base-files: sysupgrade: add saving list of installed packages for APK

Add support for saving list of installed packages for APK in the same way
we do it for OPKG.

Unlike OPKG, we dont generate .control files for packages so lets use .list
files instead.

Fixes: #16947
Link: https://github.com/openwrt/openwrt/pull/17123
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/base-files/files/sbin/sysupgrade