[Git-commits] [grml/grml-live] d6d374: scripts/GRMLBASE/95-package-information: get non-f...

Michael Prokop noreply at github.com
Thu Dec 19 13:45:03 CET 2024


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-live
  Commit: d6d3743d42a08ebc4e5a3ae94787fd168cf489c7
      https://github.com/grml/grml-live/commit/d6d3743d42a08ebc4e5a3ae94787fd168cf489c7
  Author: Michael Prokop <mika at grml.org>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M etc/grml/fai/config/scripts/GRMLBASE/95-package-information

  Log Message:
  -----------
  scripts/GRMLBASE/95-package-information: get non-free info without aptitude

We ship aptitude only via GRML_SMALL, but not on GRML_SMALL.  As a
result, the nonfree-licenses.txt file was missing on all grml-small
flavours.  Instead, switch from aptitude to usage of `apt-cache show` to
get list of non-free packages.

Related changes:

* simplify code flow logic (no need for else within if ... exit)
* fix code indention
* run script under pipefail to properly fail on errors


  Commit: 647a3affe6e0b41aec386ea6806cdaa90b76a037
      https://github.com/grml/grml-live/commit/647a3affe6e0b41aec386ea6806cdaa90b76a037
  Author: Michael Prokop <115592+mika at users.noreply.github.com>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M etc/grml/fai/config/scripts/GRMLBASE/95-package-information

  Log Message:
  -----------
  Merge pull request #237 from grml/mika/non-free-info

scripts/GRMLBASE/95-package-information: get non-free info also without aptitude


Compare: https://github.com/grml/grml-live/compare/17bf9e708037...647a3affe6e0

To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml-live/settings/notifications


More information about the Git-commits mailing list