[Git-commits] [grml/grml2usb] 8b59cb: Check for boot flag before possibly creating FAT16...

Michael Prokop noreply at github.com
Wed Jun 3 15:10:44 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml2usb
  Commit: 8b59cb0b5c0cfaab6ea5f1ed29190d74726eb9b5
      https://github.com/grml/grml2usb/commit/8b59cb0b5c0cfaab6ea5f1ed29190d74726eb9b5
  Author: Darshaka Pathirana <dpat at syn-net.org>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Check for boot flag before possibly creating FAT16 on the partition

Checks should be performed before actually modifying the USB device,
if the user specified `--fat16` then the boot flag should be checked
*before* the FAT filesystem gets created.

check_for_fat(device) is called in handle_vfat(device) (if device is
present and not a directory and if option 'syslinux' (default) is set)
so it should be safe to remove check_for_fat(device) call in
install_grml().

The same applies to check_boot_flag() which should happen before
actually creating the FAT filesystem (in handle_vfat()).

Closes: grml/grml2usb#30


  Commit: 8576eac780fdac5bd1c71eafb5d8520da39c8d05
      https://github.com/grml/grml2usb/commit/8576eac780fdac5bd1c71eafb5d8520da39c8d05
  Author: Michael Prokop <mika at grml.org>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M grml2usb

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


Compare: https://github.com/grml/grml2usb/compare/aed7d831e1c9...8576eac780fd


More information about the Git-commits mailing list