diff options
author | Luiz Angelo Daros de Luca <luizluca@gmail.com> | 2018-08-17 20:49:53 -0300 |
---|---|---|
committer | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2018-12-09 18:04:11 +0000 |
commit | 5cb1dce542a6a13fd250e9ef9c8290568c610c39 (patch) | |
tree | 6b9051885596a914099f2a40418f26d6f556b1f8 /tools | |
parent | 96392e5da4251454ae5b921754cc35fab1bfce85 (diff) | |
download | upstream-5cb1dce542a6a13fd250e9ef9c8290568c610c39.tar.gz upstream-5cb1dce542a6a13fd250e9ef9c8290568c610c39.tar.bz2 upstream-5cb1dce542a6a13fd250e9ef9c8290568c610c39.zip |
base-files: add sysupgrade -k to save list of pkgs
When '-k' is used, sysupgrade inserts into backup a new file
/etc/backup/installed_packages.txt which contains pkgname and origin (rom,
overlay, unknown) without touching rootfs.
It's mainly used to reinstall all extra packages:
# opkg update
# grep "\toverlay" /etc/backup/installed_packages.txt | cut -f1 | xargs -r opkg install
# rm /etc/backup/installed_packages.txt
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions