[Git-commits] [grml/grml-live] 10c1cf: Generate make-fai-nfsroot.conf and nfsroot.conf on...

Michael Prokop mika at grml.org
Sun May 20 12:53:33 CEST 2012


  Branch: refs/heads/mika/rework_nfsroot.conf
  Home:   https://github.com/grml/grml-live
  Commit: 10c1cf123d8348a16dce3cf56c67a3566c3378ed
      https://github.com/grml/grml-live/commit/10c1cf123d8348a16dce3cf56c67a3566c3378ed
  Author: Michael Prokop <mika at grml.org>
  Date:   2012-05-20 (Sun, 20 May 2012)

  Changed paths:
    M docs/grml-live.txt
    R etc/grml/fai/make-fai-nfsroot.conf
    M etc/grml/grml-live.conf
    M grml-live

  Log Message:
  -----------
  Generate make-fai-nfsroot.conf and nfsroot.conf on-the-fly

FAI 4 uses nfsroot.conf instead of make-fai-nfsroot.conf without
providing any backwards compatibility. :( So while at it rework
the way how make-fai-nfsroot.conf is handled:

* No longer ship /etc/grml/fai/make-fai-nfsroot.conf at all
* Generate nfsroot.conf based on default settings (can be overriden
  by $FAI_DEBOOTSTRAP + $FAI_DEBOOTSTRAP_OPTS) on the fly
* Provide symlink make-fai-nfsroot.conf pointing to nfsroot.conf
  to support old and new FAI versions at the same time
* After execution copy generated nfsroot.conf file to log directory
  and get rid of make-fai-nfsroot.conf and nfsroot.conf in
  $GRML_FAI_CONFIG (/etc/grml/fai/ by default) afterwards

Closes: https://github.com/grml/grml-live/issues/4


  Commit: ba942c1c8fbfb06ab2b3df17a16868181d37ed05
      https://github.com/grml/grml-live/commit/ba942c1c8fbfb06ab2b3df17a16868181d37ed05
  Author: Michael Prokop <mika at grml.org>
  Date:   2012-05-20 (Sun, 20 May 2012)

  Changed paths:
    M grml-live

  Log Message:
  -----------
  Generate /etc/grml_live_version after FAI run + /etc/dpkg/dpkg.cfg.d/unsafe-io only if using BASEFILE

FAI uses /etc to detect whether a chroot exists or not and will
skip debootstrap stage if /etc exists already. This is unreliable
and will fail if the users doesn't use a BASEFILE, therefore
generate /etc/grml_live_version *after* FAI has been executed
and generate /etc/dpkg/dpkg.cfg.d/unsafe-io only if directory
/etc/dpkg/dpkg.cfg.d exists already, which is supposed to be
present if using a BASEFILE.


  Commit: df39f5d11b504b0c75bda89900bf93197fc14ced
      https://github.com/grml/grml-live/commit/df39f5d11b504b0c75bda89900bf93197fc14ced
  Author: Michael Prokop <mika at grml.org>
  Date:   2012-05-20 (Sun, 20 May 2012)

  Changed paths:
    M docs/grml-live.txt
    R etc/grml/fai/NFSROOT

  Log Message:
  -----------
  Drop unused NFSROOT configuration file


Compare: https://github.com/grml/grml-live/compare/10c1cf1^...df39f5d


More information about the Git-commits mailing list