enovance/edeploy — pull request #112 by EmilienM (2014-07-17 23:56:31+00:00)
Title: tools: add pkg-diff script

Compare two list of packages and show the differences.
Expected syntax of file:

Use:
diff-pkg old.packages new.packages

To generate the list of packages:
* Red Hat / CentOS: rpm -qa --queryformat '%{NAME} %{VERSION}'
* Debian / Ubuntu: dpkg -l | grep '^ii' | awk '{print $2 "\t" $3}'

Note: the package list generation is done by eDeploy in build/packages.