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

Chris Hofstaedtler noreply at github.com
Wed Jan 22 15:01:42 CET 2025


  Branch: refs/heads/zeha/minifai
  Home:   https://github.com/grml/grml-live
  Commit: ec37218396348f25600f0f318e29ab17433b1945
      https://github.com/grml/grml-live/commit/ec37218396348f25600f0f318e29ab17433b1945
  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: d59304b2bcc3f5f6c586b703d12bd7612e51dc7c
      https://github.com/grml/grml-live/commit/d59304b2bcc3f5f6c586b703d12bd7612e51dc7c
  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: 450495e8fd055ff4b93f047632a33e327e69bc9f
      https://github.com/grml/grml-live/commit/450495e8fd055ff4b93f047632a33e327e69bc9f
  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: 3667a013f68164aa80bbcc6bf6cd996e3eb16a5b
      https://github.com/grml/grml-live/commit/3667a013f68164aa80bbcc6bf6cd996e3eb16a5b
  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: 190ca1ac68799da03a69357d0c5f41100bdbdc25
      https://github.com/grml/grml-live/commit/190ca1ac68799da03a69357d0c5f41100bdbdc25
  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: 9baa252bf16c21ca0dff93b9b249299616f7a79e
      https://github.com/grml/grml-live/commit/9baa252bf16c21ca0dff93b9b249299616f7a79e
  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


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


Compare: https://github.com/grml/grml-live/compare/ec3721839634%5E...4e4ba36ce25e

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