[Git-commits] [grml/grml-live] 7c9816: minifai: extract PackageList and parsing code to p...

Chris Hofstaedtler noreply at github.com
Sun Jun 22 13:34:40 CEST 2025


  Branch: refs/heads/zeha/packages-skip
  Home:   https://github.com/grml/grml-live
  Commit: 7c981643a68f312274b74c6ad7dbb08e3bce7d92
      https://github.com/grml/grml-live/commit/7c981643a68f312274b74c6ad7dbb08e3bce7d92
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-06-22 (Sun, 22 Jun 2025)

  Changed paths:
    M usr/lib/grml-live/minifai
    A usr/lib/grml-live/packages.py

  Log Message:
  -----------
  minifai: extract PackageList and parsing code to packages.py

Extract the PackageList class and parse_class_packages function into a
separate packages.py module to improve code organization and enable
better testing. The minifai script now imports these components.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply at anthropic.com>


  Commit: 643e5a7b7ec32eb1218076ea8cfe0f9b26d5cd1f
      https://github.com/grml/grml-live/commit/643e5a7b7ec32eb1218076ea8cfe0f9b26d5cd1f
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-06-22 (Sun, 22 Jun 2025)

  Changed paths:
    M .github/workflows/test-build.yml
    M build-driver/build.py
    A config/package_config/GRML_GHACI_CLOUD
    M test/gha-build-iso.sh
    A usr/lib/grml-live/.gitignore
    M usr/lib/grml-live/minifai
    M usr/lib/grml-live/packages.py
    A usr/lib/grml-live/tests/__init__.py
    A usr/lib/grml-live/tests/test_packages.py

  Log Message:
  -----------
  minifai: add "PACKAGE skip"

Core Refactoring:
- Change PackageList from inheriting dict to using to_install member dict
- Add to_skip member dict for package exclusion functionality

Package Skip Feature:
- Add support for "PACKAGES skip" directive in package config files
- Skip packages can be architecture-specific (e.g., "PACKAGES skip amd64")
- Later classes can override earlier skip/install decisions
- Add GRML_GHACI_CLOUD class that skips regular kernels and installs cloud variants (for testing)

CI/Build System Enhancements:
- Extend test-build workflow to test GRML_GHACI_CLOUD class on trixie
- Add EXTRA_CLASSES support to build-driver for flexible class injection
- Matrix testing: bookworm+GHACI, trixie+GHACI, trixie+GHACI+CLOUD
- Artifact names include class information for easy identification

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply at anthropic.com>


Compare: https://github.com/grml/grml-live/compare/7c981643a68f%5E...643e5a7b7ec3

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