[Git-commits] [grml/grml-live] 7cf7e5: minifai: fix starting without any arguments

Chris Hofstaedtler noreply at github.com
Wed Jun 18 13:13:12 CEST 2025


  Branch: refs/heads/faiactions
  Home:   https://github.com/grml/grml-live
  Commit: 7cf7e538096fd9329995f71892de7e99b57c787a
      https://github.com/grml/grml-live/commit/7cf7e538096fd9329995f71892de7e99b57c787a
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-06-18 (Wed, 18 Jun 2025)

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

  Log Message:
  -----------
  minifai: fix starting without any arguments


  Commit: 0eb6efa4ea64681fb5e5c9fca6608d370b658ca9
      https://github.com/grml/grml-live/commit/0eb6efa4ea64681fb5e5c9fca6608d370b658ca9
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2025-06-18 (Wed, 18 Jun 2025)

  Changed paths:
    M config/hooks/GRMLBASE/instsoft
    M config/hooks/GRMLBASE/updatebase
    M debian/control
    M grml-live
    M usr/lib/grml-live/minifai

  Log Message:
  -----------
  Redefine minifai actions

Instead of the traditional dirinstall and softupdate FAI_ACTIONs, minifai now
provides four:

* bootstrap: create chroot and install packages ("updatebase", "instsoft")
* dirinstall: everything: create chroot, install packages and run configure
  scripts
* softupdate: everything except creating the chroot
* reconfigure: only run configure scripts

Instead of distributing the logic of what to run when in grml-live, FAI and
instsoft/updatebase hooks, grml-live now makes a decision and calls minifai
with the correct action.

Notably, except for "reconfigure", the "updatebase" task now gets to always
run, ensuring APT package lists are available. minifai's updatebase was already
minimal and only runs `apt-get update`, which is what grml-live needs.


Compare: https://github.com/grml/grml-live/compare/afde0c5d2ab1...0eb6efa4ea64

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