[Git-commits] [grml/grml-live] 11242f: Replace FAI with our own implementation

Chris Hofstaedtler noreply at github.com
Wed Jan 29 20:16:34 CET 2025


  Branch: refs/heads/zeha/minifai
  Home:   https://github.com/grml/grml-live
  Commit: 11242f7c0d024f73c30bc6f4de24a926a3bbf803
      https://github.com/grml/grml-live/commit/11242f7c0d024f73c30bc6f4de24a926a3bbf803
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M build-driver/build.py
    M config/class/GRMLBASE.var
    M config/hooks/instsoft.GRMLBASE
    M config/hooks/updatebase.GRMLBASE
    M config/package_config/GRMLBASE
    M config/scripts/GRMLBASE/01-packages
    M config/scripts/GRMLBASE/98-clean-chroot
    M config/scripts/GRMLBASE/99-finish-grml-build
    M debian/control
    M debian/grml-live.install
    M docs/grml-live.txt
    M etc/grml/grml-live.conf
    M grml-live
    A usr/lib/grml-live/minifai

  Log Message:
  -----------
  Replace FAI with our own implementation

Just short of 700 new lines of Python, but covers running mmdebstrap and lots
of workarounds go away. I've titled it "minifai".

grml-policyrcd gets removed, as minifai handles installing its own policy-rc.d.
This is necessary regardless if we want grml-policyrcd or not, and then
grml-policyrcd provides no value anymore.

The variables FAI_ARGS, FAI_DEBOOTSTRAP_OPTS and ZERO_FAI_LOGFILE are no longer
supported. The grml-live parameter -V is now always enabled and the option is
deprecated.

minifai logs to stdout/stderr, and aborts on the first error it encounters. All
log messages now end up in grml-live.log.  These log/data files are no longer
written: debconf.data, fai-monitor.log, fai.conf, fcopy.log, nfsroot.conf,
scripts.log, software.log, status.log, task_error, task_local_error,
variables.log.

Notably missing: packages can only be "install"-ed, which works like
"install-norec" in FAI.  "hold", etc are not implemented at all.


  Commit: 3c2c9057aa19c21cf40d56934f5567bee6e5996f
      https://github.com/grml/grml-live/commit/3c2c9057aa19c21cf40d56934f5567bee6e5996f
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M usr/lib/grml-live/minifai

  Log Message:
  -----------
  minifai: mark leaf packages as automatically installed


  Commit: e671369b872fb4c37bb5c8cde57c214bdfbb5497
      https://github.com/grml/grml-live/commit/e671369b872fb4c37bb5c8cde57c214bdfbb5497
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M config/scripts/GRMLBASE/01-packages
    M config/scripts/GRMLBASE/98-clean-chroot
    M grml-live
    M usr/lib/grml-live/minifai

  Log Message:
  -----------
  minifai: write logs into /grml-live/log/

Somewhat easier to deal with, as grml-live ensures this will not
exist in the packed chroot.


  Commit: 2598d20cefdab86cf0ba17a736ef3827d1bdee84
      https://github.com/grml/grml-live/commit/2598d20cefdab86cf0ba17a736ef3827d1bdee84
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M usr/lib/grml-live/minifai

  Log Message:
  -----------
  minifai: write install_packages.list


  Commit: aa8883c9811cf47ad54267f1ee6c52f4bf88289b
      https://github.com/grml/grml-live/commit/aa8883c9811cf47ad54267f1ee6c52f4bf88289b
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M grml-live

  Log Message:
  -----------
  grml-live: drop chown of minifai logs

minifai should never write logs as another user.


  Commit: 60a3688ac68fc2cb1366709111843f8c5e95c8b4
      https://github.com/grml/grml-live/commit/60a3688ac68fc2cb1366709111843f8c5e95c8b4
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M usr/lib/grml-live/minifai

  Log Message:
  -----------
  minifai: apply debconf selections before calling instsoft hooks


  Commit: 6e917e2decd456803e31050bc42091f55fcad35e
      https://github.com/grml/grml-live/commit/6e917e2decd456803e31050bc42091f55fcad35e
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    A config/debconf/ZFS
    M config/hooks/instsoft.ZFS

  Log Message:
  -----------
  ZFS: mount /proc for minifai and other /proc-less environments

Also set zfs-dkms/stop-build-for-unknown-kernel to avoid zfs-dkms.postinst
failing when it cannot identify the running kernel.


  Commit: 16231e655ad683579253f1dd9373c4f394214fbd
      https://github.com/grml/grml-live/commit/16231e655ad683579253f1dd9373c4f394214fbd
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    A config/bootstrap-keyring/DEBIAN_BOOKWORM
    A config/bootstrap-keyring/DEBIAN_BULLSEYE
    A config/bootstrap-keyring/DEBIAN_STABLE
    A config/bootstrap-keyring/DEBIAN_TESTING
    A config/bootstrap-keyring/DEBIAN_TRIXIE
    A config/bootstrap-keyring/DEBIAN_UNSTABLE
    M usr/lib/grml-live/minifai

  Log Message:
  -----------
  Introduce config/bootstrap-keyring to set keyring for mmdebstrap


Compare: https://github.com/grml/grml-live/compare/b86b4abbdda4...16231e655ad6

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