Created
October 18, 2017 20:54
-
-
Save simonswine/4165bc042d2cb5fb54ebf096cb73d38c to your computer and use it in GitHub Desktop.
List installed packages after ROM was installed on OpenWRT/LEDE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# show pages installed since ROM | |
opkg list_installed | sort > /tmp/installed_now | |
opkg list_installed -o /rom | sort > /tmp/installed_rom | |
grep -Fxv -f /tmp/installed_rom /tmp/installed_now | tee /tmp/installed_diff | |
# echo installable list of packages | |
cat /tmp/installed_diff | cut -f 1 -d ' ' | xargs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment