[Git-commits] [grml/live-boot-grml] 77dab1: Making the /live to /lib/live move for the persist...

Evgeni Golov evgeni at grml.org
Mon Dec 17 16:22:34 CET 2012


  Branch: refs/heads/debian
  Home:   https://github.com/grml/live-boot-grml
  Commit: 77dab1cb394c5fc2b9a848c6297d24f65a3b8259
      https://github.com/grml/live-boot-grml/commit/77dab1cb394c5fc2b9a848c6297d24f65a3b8259
  Author: Tails developers <amnesia at boum.org>
  Date:   2012-12-07 (Fri, 07 Dec 2012)

  Changed paths:
    M scripts/boot/9990-misc-helpers.sh
    M scripts/boot/9990-overlay.sh

  Log Message:
  -----------
  Making the /live to /lib/live move for the persistence code.

Exposing /lib/live/mount/persistence in user-space is highly relevant
for the (soon-to-come) tool for activating persistence post-initramfs.
We want to use the same persistence code for both scenarios, and avoid
using different cases for them, so we make it only use /lib/live.

Similarly we also make sure that persistence modes using unions use
the same copy-on-write dir or "overlay" (i.e. /lib/live/mount/overlay)
in order to make them work as intended.


  Commit: c32e1b2f0f8cbf4a11d198824f463cf7f7455a76
      https://github.com/grml/live-boot-grml/commit/c32e1b2f0f8cbf4a11d198824f463cf7f7455a76
  Author: Tails developers <amnesia at boum.org>
  Date:   2012-12-07 (Fri, 07 Dec 2012)

  Changed paths:
    M scripts/boot/9990-misc-helpers.sh

  Log Message:
  -----------
  Handling already mounted persistence backing media correctly.

I.e. treat the case where a backing media already had been mounted in
the expected place like a success (by printing the mount dir). This
doesn't fix any bug in live-boot, but it will come in handy for the
(soon-to-come) script for activating custom persistence in user-space.

While we're at it, document this function.


  Commit: 2f02d72b1816c4d8b59c10c56bd747f8f01e4d1e
      https://github.com/grml/live-boot-grml/commit/2f02d72b1816c4d8b59c10c56bd747f8f01e4d1e
  Author: Tails developers <amnesia at boum.org>
  Date:   2012-12-07 (Fri, 07 Dec 2012)

  Changed paths:
    M scripts/boot/9990-overlay.sh

  Log Message:
  -----------
  Fixing persistence-media option when no devices are attached.

Earlier, if it was set to e.g. 'removable-usb' and no USB storage was
connected, $whitelistdev would be empty, which is interpreted like all
devices are ok by the rest of the code.


  Commit: 7f275599f4d4c8800d1bbf6ee275328d033a7438
      https://github.com/grml/live-boot-grml/commit/7f275599f4d4c8800d1bbf6ee275328d033a7438
  Author: Tails developers <amnesia at boum.org>
  Date:   2012-12-07 (Fri, 07 Dec 2012)

  Changed paths:
    M scripts/boot/9990-misc-helpers.sh
    M scripts/boot/9990-mount-http.sh
    M scripts/boot/9990-mount-iscsi.sh
    M scripts/boot/9990-overlay.sh

  Log Message:
  -----------
  Using 'local' in a safe way.

First of all, 'local' is non-POSIX, but it is a really good safeguard
against hard-to-find bugs. However, doing a local + initializing combo
like `local X=$Y` in dash is error prone. If `Y=1 2` will get an error
since dash will expand $Y so we get `local X=1 2`, but it will treat
the "2" as another variable to be made local, which isn't what we
want. Hence, let's declare variables local and initialize them in
separate commands, which is safe.


  Commit: 11df12900362833ecf8748132138f88f9ff80b7b
      https://github.com/grml/live-boot-grml/commit/11df12900362833ecf8748132138f88f9ff80b7b
  Author: Daniel Baumann <daniel at debian.org>
  Date:   2012-12-10 (Mon, 10 Dec 2012)

  Changed paths:
    M VERSION
    M debian/changelog
    M manpages/de/live-boot.de.7
    M manpages/de/persistence.conf.de.5
    M manpages/en/live-boot.7
    M manpages/en/persistence.conf.5
    M manpages/es/live-boot.es.7
    M manpages/es/persistence.conf.es.5
    M manpages/po/de/live-boot.7.po
    M manpages/po/de/persistence.conf.5.po
    M manpages/po/es/live-boot.7.po
    M manpages/po/es/persistence.conf.5.po
    M manpages/pot/live-boot.7.pot
    M manpages/pot/persistence.conf.5.pot

  Log Message:
  -----------
  Releasing debian version 3.0~b9-1.


  Commit: 04ecb83516c5795cf4a1da19cf73b90ebd8d2747
      https://github.com/grml/live-boot-grml/commit/04ecb83516c5795cf4a1da19cf73b90ebd8d2747
  Author: Evgeni Golov <evgeni at grml.org>
  Date:   2012-12-17 (Mon, 17 Dec 2012)

  Changed paths:
    M VERSION
    M debian/changelog
    M manpages/de/live-boot.de.7
    M manpages/de/persistence.conf.de.5
    M manpages/en/live-boot.7
    M manpages/en/persistence.conf.5
    M manpages/es/live-boot.es.7
    M manpages/es/persistence.conf.es.5
    M manpages/po/de/live-boot.7.po
    M manpages/po/de/persistence.conf.5.po
    M manpages/po/es/live-boot.7.po
    M manpages/po/es/persistence.conf.5.po
    M manpages/pot/live-boot.7.pot
    M manpages/pot/persistence.conf.5.pot
    M scripts/boot/9990-misc-helpers.sh
    M scripts/boot/9990-mount-http.sh
    M scripts/boot/9990-mount-iscsi.sh
    M scripts/boot/9990-overlay.sh

  Log Message:
  -----------
  Merge remote-tracking branch 'deb/debian' into debian


Compare: https://github.com/grml/live-boot-grml/compare/cd438f06901d...04ecb83516c5


More information about the Git-commits mailing list