[Git-commits] [grml/grml-autoconfig] deb3d7: if multiple mountpoints avail, pick the first one

Michael Prokop noreply at github.com
Wed Oct 4 19:00:00 CEST 2023


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-autoconfig
  Commit: deb3d70e647ada382f2a82d7d9ff77ebb3f5772b
      https://github.com/grml/grml-autoconfig/commit/deb3d70e647ada382f2a82d7d9ff77ebb3f5772b
  Author: Csillag Tamas <cstamas at digitus.itk.ppke.hu>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M autoconfig.functions

  Log Message:
  -----------
  if multiple mountpoints avail, pick the first one


  Commit: 6dbba29033e56f15bb725003b3077334d89d90a1
      https://github.com/grml/grml-autoconfig/commit/6dbba29033e56f15bb725003b3077334d89d90a1
  Author: Michael Prokop <mika at grml.org>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M autoconfig.functions

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/github/pr/15'

Quoting from the PR at https://github.com/grml/grml-autoconfig/pull/15:

| If I put the ISO to hard disk (e.g sda1) and also label that GRMLCFG I get an error:
|
| [  OK  ] Searching for device(s) labeled with GRMLCFG. (Disable this via boot option: noautoconfig)
| [  OK  ] debs, config, scripts are read from /dev/sda1.
| [ WARN ] /dev/sda1 already mounted on /run/live/findiso
| /usr/lib/live/mount/findiso
| [  OK  ] Debs, config, scripts (if present) will be read from /run/live/findiso
| /usr/lib/live/mount/findiso.
| config_config:cd:4: no such file or directory: /run/live/findiso\n/usr/lib/live/mount/findiso
| [  OK  ] Trying to execute /run/live/findiso
| /usr/lib/live/mount/findiso/scripts/
| sh: 1: /run/live/findiso: Permission denied
| sh: 2: /usr/lib/live/mount/findiso/scripts/: not found
| [ WARN ] No soundcard present, skipping mixer settings therefore.
| [  OK  ] Starting gpm in background.
|
| The findiso mechanism mounts sda1 twice and when trying to find that mountpoint the script fails.
| I suggest to pick the first mountpoint.


Compare: https://github.com/grml/grml-autoconfig/compare/541958eb286e...6dbba29033e5


More information about the Git-commits mailing list