[Git-commits] [grml/grml-live] 312f4f: Replace FAI with our own implementation

Chris Hofstaedtler noreply at github.com
Wed Jan 29 22:37:10 CET 2025


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-live
  Commit: 312f4f29e65ff27b696760c8e7106a544206b51d
      https://github.com/grml/grml-live/commit/312f4f29e65ff27b696760c8e7106a544206b51d
  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: 2d58b8fb5880e73dbdfc058cf98ca9228444e62f
      https://github.com/grml/grml-live/commit/2d58b8fb5880e73dbdfc058cf98ca9228444e62f
  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: e61bad475ce334063fe75d07504e4ab3bcd8c8bb
      https://github.com/grml/grml-live/commit/e61bad475ce334063fe75d07504e4ab3bcd8c8bb
  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: bc4dc176ced6a79e2eaf4794462482ba639f7766
      https://github.com/grml/grml-live/commit/bc4dc176ced6a79e2eaf4794462482ba639f7766
  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: 93f826f1836824943ec9d7811735a1b295b4a8a8
      https://github.com/grml/grml-live/commit/93f826f1836824943ec9d7811735a1b295b4a8a8
  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: c18d68c76b076ffad20df823508dc3c8affb60de
      https://github.com/grml/grml-live/commit/c18d68c76b076ffad20df823508dc3c8affb60de
  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: 396543e45652ccfad19e8e51756531510f5aff26
      https://github.com/grml/grml-live/commit/396543e45652ccfad19e8e51756531510f5aff26
  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: 34f96ca0658860b351084ae0aa3f075bcb42ac11
      https://github.com/grml/grml-live/commit/34f96ca0658860b351084ae0aa3f075bcb42ac11
  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


  Commit: 0bf6821b31ed729df42e682181b015903ee54541
      https://github.com/grml/grml-live/commit/0bf6821b31ed729df42e682181b015903ee54541
  Author: Chris Hofstaedtler <zeha at users.noreply.github.com>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M build-driver/build.py
    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 config/class/GRMLBASE.var
    A config/debconf/ZFS
    M config/hooks/instsoft.GRMLBASE
    M config/hooks/instsoft.ZFS
    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:
  -----------
  Merge pull request #281 from zeha/zeha/minifai

Replace FAI with our own implementation


Compare: https://github.com/grml/grml-live/compare/7304be3d5340...0bf6821b31ed

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