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

Chris Hofstaedtler noreply at github.com
Sun Jan 19 20:56:47 CET 2025


  Branch: refs/heads/zeha/minifai-zfs
  Home:   https://github.com/grml/grml-live
  Commit: 84eb26f5efba5924ac5d361420623405e1210031
      https://github.com/grml/grml-live/commit/84eb26f5efba5924ac5d361420623405e1210031
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-19 (Sun, 19 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: 1232b058a7a3d23225257e3e2882e172771660ab
      https://github.com/grml/grml-live/commit/1232b058a7a3d23225257e3e2882e172771660ab
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-19 (Sun, 19 Jan 2025)

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

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


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

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

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


  Commit: a278450f434e9d7ffb7b6e3ca7f57c71c1d54841
      https://github.com/grml/grml-live/commit/a278450f434e9d7ffb7b6e3ca7f57c71c1d54841
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-19 (Sun, 19 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: eb75fac5da92f38d5a51d561704bd5f603077594
      https://github.com/grml/grml-live/commit/eb75fac5da92f38d5a51d561704bd5f603077594
  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


  Commit: 9c9a3cccd3fbeaa67c6ff13f223d807404c8ef96
      https://github.com/grml/grml-live/commit/9c9a3cccd3fbeaa67c6ff13f223d807404c8ef96
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-01-19 (Sun, 19 Jan 2025)

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

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


Compare: https://github.com/grml/grml-live/compare/b3ad00198c02...9c9a3cccd3fb

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