Depend on either syslinux or grub2-common + grub-pc-bin
authorMichael Prokop <mika@grml.org>
Wed, 20 Feb 2019 14:52:21 +0000 (15:52 +0100)
committerMichael Prokop <mika@grml.org>
Wed, 20 Feb 2019 15:32:07 +0000 (16:32 +0100)
grml2usb depends on grub-pc(-bin) files and grub2-common's grub-install,
but if someone has grub-efi-amd64 installed, then the grub-pc(-bin)
files are missing. The grub-efi-amd64 package shouldn't matter at all,
since we explicitly run grub with `--target=i386-pc`. Adjust depends
accordingly.

Closes: #796801
Thanks: Albert Dengg for bugreport and suggested solution + Axel Beckert for assistance in getting a proper dependency resolution

debian/control

index 89a233f..fd97684 100644 (file)
@@ -22,7 +22,7 @@ Depends: mtools,
          python-parted,
          coreutils (>= 8.23-1~) | realpath,
          rsync,
          python-parted,
          coreutils (>= 8.23-1~) | realpath,
          rsync,
-         syslinux | grub-pc | grub-efi-amd64,
+         syslinux | grub2-common, syslinux | grub-pc-bin,
          ${misc:Depends},
          ${shlibs:Depends}
 Recommends: syslinux,
          ${misc:Depends},
          ${shlibs:Depends}
 Recommends: syslinux,