[Git-commits] [grml/grml2usb] 657b88: Skip boot flag check when installing to directory

Michael Prokop noreply at github.com
Sat Jun 6 12:35:00 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml2usb
  Commit: 657b880f0229f3e11d7eff07f0b285bf708606ff
      https://github.com/grml/grml2usb/commit/657b880f0229f3e11d7eff07f0b285bf708606ff
  Author: Michael Prokop <mika at grml.org>
  Date:   2020-06-06 (Sat, 06 Jun 2020)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Skip boot flag check when installing to directory

In commit 8b59cb0b5c0cfa the check_boot_flag was moved from
install_grml() to main(), though inside install_grml() we
had the special casing whether the target is a directory or not.

To avoid having to add this check before any possible check_boot_flag()
invocation (and possibly forget about it), add this check to the
implementation of check_boot_flag().

Fixes:

| % sudo grml2usb --tmpdir=/tmp/grml2iso.tmp grml64-small_2020.06-rc1.iso grml32-small_2020.06-rc1.iso /tmp/grml2iso.tmp/cddir
| Executing grml2usb version 0.18.1
| Checking for boot flag
| Fatal: /tmp/grml2iso.tmp/cddir: unrecognised disk label




More information about the Git-commits mailing list