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

Chris Hofstaedtler noreply at github.com
Sun Jan 19 20:27:28 CET 2025


  Branch: refs/heads/zeha/minifai-zfs
  Home:   https://github.com/grml/grml-live
  Commit: fcc6d4395272c69ec8ebc336d582c788abd35057
      https://github.com/grml/grml-live/commit/fcc6d4395272c69ec8ebc336d582c788abd35057
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-18 (Sat, 18 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: 60bf7958eabffff5deb3e1b76de95226681a6f97
      https://github.com/grml/grml-live/commit/60bf7958eabffff5deb3e1b76de95226681a6f97
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-18 (Sat, 18 Jan 2025)

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

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


  Commit: dbc815edeee9058b8421bc017fbe386226ed1991
      https://github.com/grml/grml-live/commit/dbc815edeee9058b8421bc017fbe386226ed1991
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-18 (Sat, 18 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: 2e9a437da450f49f0d6faa2344a78cf4d840e7fa
      https://github.com/grml/grml-live/commit/2e9a437da450f49f0d6faa2344a78cf4d840e7fa
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-18 (Sat, 18 Jan 2025)

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

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


  Commit: acc863b33ac3ed1184f06dfb97783646a9bf999d
      https://github.com/grml/grml-live/commit/acc863b33ac3ed1184f06dfb97783646a9bf999d
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-18 (Sat, 18 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: b3ad00198c02c383ef529377b5d8cb9a2bbc34cc
      https://github.com/grml/grml-live/commit/b3ad00198c02c383ef529377b5d8cb9a2bbc34cc
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-19 (Sun, 19 Jan 2025)

  Changed paths:
    M build-driver/build.py
    A config/debconf/ZFS
    M config/hooks/instsoft.ZFS

  Log Message:
  -----------
  WIP: build ZFS class


Compare: https://github.com/grml/grml-live/compare/fcc6d4395272%5E...b3ad00198c02

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