]> git.proxmox.com Git - zfs-grub.git/commitdiff
update patches
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 May 2019 20:37:54 +0000 (22:37 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 May 2019 11:19:10 +0000 (13:19 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
pvepatches/disable-unwanted-packages.patch
pvepatches/suggest-os-prober.patch

index 2f3b43c22af8afd9602b653d4599f0b7560be5b6..68183eeb1ba9187e763cc806c66f3996db5c3439 100644 (file)
@@ -1,17 +1,20 @@
-From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
-Date: Thu, 10 Nov 2016 15:13:56 +0100
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Thomas Lamprecht <t.lamprecht@proxmox.com>
+Date: Thu, 23 May 2019 22:33:37 +0200
 Subject: [PATCH] disable unwanted packages
 
 to reduce compile time and build dependencies
+
+Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
 ---
- debian/control | 453 ---------------------------------------------------------
- 1 file changed, 453 deletions(-)
+ debian/control | 479 -------------------------------------------------
+ 1 file changed, 479 deletions(-)
 
 diff --git a/debian/control b/debian/control
-index dada568..ba596b6 100644
+index 08d4198fc..78eb71228 100644
 --- a/debian/control
 +++ b/debian/control
-@@ -49,15 +49,6 @@ Description: GRand Unified Bootloader, version 2 (dummy package)
+@@ -51,15 +51,6 @@ Description: GRand Unified Bootloader, version 2 (dummy package)
   This is a dummy transitional package to handle GRUB 2 upgrades.  It can be
   safely removed.
  
@@ -27,7 +30,7 @@ index dada568..ba596b6 100644
  Package: grub-efi
  Section: oldlibs
  Architecture: any-i386 any-amd64
-@@ -100,25 +91,6 @@ Description: GRand Unified Bootloader (common files for version 2)
+@@ -101,25 +92,6 @@ Description: GRand Unified Bootloader (common files for version 2)
   The files in this package are specific to GRUB 2, and would break GRUB
   Legacy if installed on the same system.
  
@@ -51,9 +54,9 @@ index dada568..ba596b6 100644
 - you are trying to debug GRUB using its GDB stub.
 -
  Package: grub-pc-bin
- Priority: optional
  Architecture: any-i386 any-amd64
-@@ -191,56 +163,6 @@ Description: GRUB bootable rescue images, version 2 (PC/BIOS version)
+ Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version})
+@@ -192,58 +164,6 @@ Description: GRUB bootable rescue images, version 2 (PC/BIOS version)
    - grub-rescue-cdrom.iso: El Torito CDROM image.
    - grub-rescue-usb.img: USB image.
  
@@ -63,7 +66,7 @@ index dada568..ba596b6 100644
 -Replaces: grub2 (<< ${source:Version}), grub-common (<= 1.97~beta2-1), grub-linuxbios, grub-coreboot (<< 1.99-1)
 -Conflicts: grub-linuxbios (<< ${source:Version})
 -Multi-Arch: foreign
--Description: GRand Unified Bootloader, version 2 (Coreboot binaries)
+-Description: GRand Unified Bootloader, version 2 (Coreboot modules)
 - GRUB is a portable, powerful bootloader.  This version of GRUB is based on a
 - cleaner design than its predecessors, and provides the following new features:
 - .
@@ -73,10 +76,11 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use with
-- platforms running the Coreboot firmware.  It will not automatically install
-- GRUB as the active boot loader, nor will it automatically update grub.cfg
-- on upgrade, so most people should install grub-coreboot instead.
+- This package contains GRUB modules that have been built for use with
+- platforms running the Coreboot firmware.  It can be installed in parallel
+- with other flavours, but will not automatically install GRUB as the active
+- boot loader nor automatically update grub.cfg on upgrade unless
+- grub-coreboot is also installed.
 -
 -Package: grub-coreboot-dbg
 -Section: debug
@@ -104,21 +108,23 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use with
-- platforms running the Coreboot firmware.
+- This is a dependency package for a version of GRUB that has been built for
+- use with platforms running the Coreboot firmware.  Installing this package
+- indicates that this version of GRUB should be the active boot loader.
 -
  Package: grub-efi-ia32-bin
  Architecture: any-i386 any-amd64
- Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version}), efibootmgr [linux-any]
-@@ -343,374 +265,6 @@ Description: GRand Unified Bootloader, version 2 (EFI-AMD64 version)
-  EFI-AMD64 architecture, such as the one provided by Intel Macs (that is, unless
-  a BIOS interface has been activated).
+ Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version})
+@@ -366,398 +286,6 @@ Description: GRand Unified Bootloader, version 2 (EFI-AMD64 signing template)
+  This package contains template files for grub-efi-amd64-signed.
+  This is only needed for Secure Boot signing.
  
 -Package: grub-efi-ia64-bin
 -Architecture: any-ia64
 -Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version})
 -Multi-Arch: foreign
--Description: GRand Unified Bootloader, version 2 (IA64 binaries)
+-XB-Efi-Vendor: ${efi:Vendor}
+-Description: GRand Unified Bootloader, version 2 (IA64 modules)
 - GRUB is a portable, powerful bootloader.  This version of GRUB is based on a
 - cleaner design than its predecessors, and provides the following new features:
 - .
@@ -128,10 +134,10 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use on
-- IA64.  It will not automatically install GRUB as the active boot loader,
-- nor will it automatically update grub.cfg on upgrade, so most people should
-- install grub-efi-ia64 instead.
+- This package contains GRUB modules that have been built for use on IA64.
+- It can be installed in parallel with other flavours, but will not
+- automatically install GRUB as the active boot loader nor automatically
+- update grub.cfg on upgrade unless grub-efi-ia64 is also installed.
 -
 -Package: grub-efi-ia64-dbg
 -Section: debug
@@ -158,14 +164,17 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use on
-- IA64.
+- This is a dependency package for a version of GRUB that has been built for
+- use on IA64.  Installing this package indicates that this version of GRUB
+- should be the active boot loader.
 -
 -Package: grub-efi-arm-bin
 -Architecture: any-arm
--Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version}), efibootmgr [linux-any]
+-Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version})
+-Recommends: efibootmgr [linux-any]
 -Multi-Arch: foreign
--Description: GRand Unified Bootloader, version 2 (ARM UEFI binaries)
+-XB-Efi-Vendor: ${efi:Vendor}
+-Description: GRand Unified Bootloader, version 2 (ARM UEFI modules)
 - GRUB is a portable, powerful bootloader.  This version of GRUB is based on a
 - cleaner design than its predecessors, and provides the following new features:
 - .
@@ -175,10 +184,11 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use on ARM
-- systems with UEFI.  It will not automatically install GRUB as the active
-- boot loader, nor will it automatically update grub.cfg on upgrade, so most
-- people should install grub-efi-arm instead.
+- This package contains GRUB modules that have been built for use on ARM
+- systems with UEFI.  It can be installed in parallel with other flavours,
+- but will not automatically install GRUB as the active boot loader nor
+- automatically update grub.cfg on upgrade unless grub-efi-arm is also
+- installed.
 -
 -Package: grub-efi-arm-dbg
 -Section: debug
@@ -205,14 +215,17 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use on ARM
-- systems with UEFI.
+- This is a dependency package for a version of GRUB that has been built for
+- use on ARM systems with UEFI.  Installing this package indicates that this
+- version of GRUB should be the active boot loader.
 -
 -Package: grub-efi-arm64-bin
 -Architecture: any-arm64
--Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version}), efibootmgr [linux-any]
+-Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version})
+-Recommends: grub-efi-arm64-signed, efibootmgr [linux-any]
 -Multi-Arch: foreign
--Description: GRand Unified Bootloader, version 2 (ARM64 UEFI binaries)
+-XB-Efi-Vendor: ${efi:Vendor}
+-Description: GRand Unified Bootloader, version 2 (ARM64 UEFI modules)
 - GRUB is a portable, powerful bootloader.  This version of GRUB is based on a
 - cleaner design than its predecessors, and provides the following new features:
 - .
@@ -222,10 +235,11 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use on
-- ARM64 systems with UEFI.  It will not automatically install GRUB as the
-- active boot loader, nor will it automatically update grub.cfg on upgrade,
-- so most people should install grub-efi-arm64 instead.
+- This package contains GRUB modules that have been built for use on ARM64
+- systems with UEFI.  It can be installed in parallel with other flavours,
+- but will not automatically install GRUB as the active boot loader nor
+- automatically update grub.cfg on upgrade unless grub-efi-arm64 is also
+- installed.
 -
 -Package: grub-efi-arm64-dbg
 -Section: debug
@@ -251,8 +265,15 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use on
-- ARM64 systems with UEFI.
+- This is a dependency package for a version of GRUB that has been built for
+- use on ARM64 systems with UEFI.  Installing this package indicates that
+- this version of GRUB should be the active boot loader.
+-
+-Package: grub-efi-arm64-signed-template
+-Architecture: arm64
+-Description: GRand Unified Bootloader, version 2 (ARM64 UEFI signing template)
+- This package contains template files for grub-efi-arm64-signed.
+- This is only needed for Secure Boot signing.
 -
 -Package: grub-ieee1275-bin
 -Architecture: any-i386 any-amd64 any-powerpc any-ppc64 any-ppc64el any-sparc any-sparc64
@@ -260,7 +281,7 @@ index dada568..ba596b6 100644
 -Replaces: grub2 (<< ${source:Version}), grub-common (<= 1.97~beta2-1), grub-ieee1275 (<< 1.99-1)
 -Suggests: genisoimage [any-powerpc any-ppc64 any-ppc64el]
 -Multi-Arch: foreign
--Description: GRand Unified Bootloader, version 2 (Open Firmware binaries)
+-Description: GRand Unified Bootloader, version 2 (Open Firmware modules)
 - GRUB is a portable, powerful bootloader.  This version of GRUB is based on a
 - cleaner design than its predecessors, and provides the following new features:
 - .
@@ -270,10 +291,11 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use with
-- Open Firmware implementations.  It will not automatically install GRUB as
-- the active boot loader, nor will it automatically update grub.cfg on
-- upgrade, so most people should install grub-ieee1275 instead.
+- This package contains GRUB modules that have been built for use with Open
+- Firmware implementations.  It can be installed in parallel with other
+- flavours, but will not automatically install GRUB as the active boot loader
+- nor automatically update grub.cfg on upgrade unless grub-ieee1275 is also
+- installed.
 -
 -Package: grub-ieee1275-dbg
 -Section: debug
@@ -301,8 +323,9 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use with
-- Open Firmware implementations.
+- This is a dependency package for a version of GRUB that has been built for
+- use with Open Firmware implementations.  Installing this package indicates
+- that this version of GRUB should be the active boot loader.
 -
 -Package: grub-firmware-qemu
 -Architecture: any-i386 any-amd64
@@ -327,7 +350,7 @@ index dada568..ba596b6 100644
 -Architecture: any-arm
 -Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version})
 -Multi-Arch: foreign
--Description: GRand Unified Bootloader, version 2 (ARM U-Boot binaries)
+-Description: GRand Unified Bootloader, version 2 (ARM U-Boot modules)
 - GRUB is a portable, powerful bootloader.  This version of GRUB is based on a
 - cleaner design than its predecessors, and provides the following new features:
 - .
@@ -337,10 +360,11 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use with
-- ARM systems with U-Boot.  It will not automatically install GRUB as the
-- active boot loader, nor will it automatically update grub.cfg on upgrade,
-- so most people should install grub-uboot instead.
+- This package contains GRUB modules that have been built for use with ARM
+- systems with U-Boot.  It can be installed in parallel with other flavours,
+- but will not automatically install GRUB as the active boot loader nor
+- automatically update grub.cfg on upgrade unless grub-uboot is also
+- installed.
 -
 -Package: grub-uboot-dbg
 -Section: debug
@@ -367,14 +391,15 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use with
-- ARM systems with U-Boot.
+- This is a dependency package for a version of GRUB that has been built for
+- use with ARM systems with U-Boot.  Installing this package indicates that
+- this version of GRUB should be the active boot loader.
 -
 -Package: grub-xen-bin
 -Architecture: i386 amd64
 -Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version})
 -Multi-Arch: foreign
--Description: GRand Unified Bootloader, version 2 (Xen binaries)
+-Description: GRand Unified Bootloader, version 2 (Xen modules)
 - GRUB is a portable, powerful bootloader.  This version of GRUB is based on a
 - cleaner design than its predecessors, and provides the following new features:
 - .
@@ -384,10 +409,11 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use with
-- the Xen hypervisor (i.e. PV-GRUB).  It will not automatically install GRUB
-- as the active boot loader, nor will it automatically update grub.cfg on
-- upgrade, so most people should install grub-xen instead.
+- This package contains GRUB modules that have been built for use with the
+- Xen hypervisor (i.e. PV-GRUB).  It can be installed in parallel with other
+- flavours, but will not automatically install GRUB as the active boot loader
+- nor automatically update grub.cfg on upgrade unless grub-xen is also
+- installed.
 -
 -Package: grub-xen-dbg
 -Section: debug
@@ -414,8 +440,9 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use with
-- the Xen hypervisor (i.e. PV-GRUB).
+- This is a dependency package for a version of GRUB that has been built for
+- use with the Xen hypervisor (i.e. PV-GRUB).  Installing this package
+- indicates that this version of GRUB should be the active boot loader.
 -
 -Package: grub-xen-host
 -Architecture: i386 amd64
@@ -439,7 +466,7 @@ index dada568..ba596b6 100644
 -Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version})
 -Replaces: grub-common (<< 1.98+20100617-2), grub-yeeloong (<< 1.99-1)
 -Multi-Arch: foreign
--Description: GRand Unified Bootloader, version 2 (Yeeloong binaries)
+-Description: GRand Unified Bootloader, version 2 (Yeeloong modules)
 - GRUB is a portable, powerful bootloader.  This version of GRUB is based on a
 - cleaner design than its predecessors, and provides the following new features:
 - .
@@ -449,10 +476,11 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use with
-- the Lemote Yeeloong laptop.  It will not automatically install GRUB as the
-- active boot loader, nor will it automatically update grub.cfg on upgrade,
-- so most people should install grub-yeeloong instead.
+- This package contains GRUB modules that have been built for use with the
+- Lemote Yeeloong laptop.  It can be installed in parallel with other
+- flavours, but will not automatically install GRUB as the active boot loader
+- nor automatically update grub.cfg on upgrade unless grub-yeeloong is also
+- installed.
 -
 -Package: grub-yeeloong-dbg
 -Section: debug
@@ -479,13 +507,14 @@ index dada568..ba596b6 100644
 -    add-ons can plug in their own script rules and trigger updates by invoking
 -    update-grub.
 - .
-- This package contains a version of GRUB that has been built for use with
-- the Lemote Yeeloong laptop.
+- This is a dependency package for a version of GRUB that has been built for
+- use with the Lemote Yeeloong laptop.  Installing this package indicates
+- that this version of GRUB should be the active boot loader.
 -
  Package: grub-theme-starfield
  # Could be Architecture: any, but in practice this package is useless in a
  # utilities-only build.
-@@ -719,10 +273,3 @@ Depends: ${misc:Depends}, grub-common (= ${binary:Version})
+@@ -766,10 +294,3 @@ Depends: ${misc:Depends}, grub-common (= ${binary:Version})
  Multi-Arch: foreign
  Description: GRand Unified Bootloader, version 2 (starfield theme)
   This is the default theme for GRUB's graphical menu.
@@ -496,6 +525,3 @@ index dada568..ba596b6 100644
 -Architecture: linux-any kfreebsd-any
 -Depends: ${shlibs:Depends}, ${misc:Depends}
 -Description: export GRUB filesystems using FUSE
--- 
-2.1.4
-
index b8cf922ba61d5fc6aa83d2a7ad6476454003e90e..04af38068ae550396e64127312b02dea47aa074d 100644 (file)
@@ -2,24 +2,22 @@ From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
 Date: Tue, 18 Oct 2016 11:31:02 +0200
 Subject: [PATCH] suggest os prober
 
+Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
 ---
  debian/control | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
 
 diff --git a/debian/control b/debian/control
-index f251da5..e753f4a 100644
+index 3a7cc2ce8..54e171938 100644
 --- a/debian/control
 +++ b/debian/control
-@@ -64,8 +64,7 @@ Priority: optional
+@@ -75,8 +75,7 @@ Package: grub-common
  Architecture: any
  Depends: ${shlibs:Depends}, ${misc:Depends}, gettext-base, ${lsb-base-depends}
- Replaces: grub-pc (<< 2.00-4), grub-ieee1275 (<< 2.00-4), grub-efi (<< 1.99-1), grub-coreboot (<< 2.00-4), grub-linuxbios (<< 1.96+20080831-1), grub-efi-ia32 (<< 2.00-4), grub-efi-amd64 (<< 2.00-4), grub-efi-ia64 (<< 2.00-4), grub-yeeloong (<< 2.00-4)
+ Replaces: grub-pc (<< 2.00-4), grub-ieee1275 (<< 2.00-4), grub-efi (<< 1.99-1), grub-coreboot (<< 2.00-4), grub-linuxbios (<< 1.96+20080831-1), grub-efi-ia32 (<< 2.00-4), grub-efi-amd64 (<< 2.00-4), grub-efi-ia64 (<< 2.00-4), grub-yeeloong (<< 2.00-4), init-select
 -Recommends: os-prober (>= 1.33)
 -Suggests: multiboot-doc, grub-emu [any-i386 any-amd64 any-powerpc], xorriso (>= 0.5.6.pl00), desktop-base (>= 4.0.6), console-setup
-+Suggests: os-prober (>= 1.33), multiboot-doc, grub-emu [any-i386 any-amd64 any-powerpc], xorriso (>= 0.5.6.pl00), desktop-base (>= 4.0.6), console-setup
++Suggests: multiboot-doc, grub-emu [any-i386 any-amd64 any-powerpc], xorriso (>= 0.5.6.pl00), desktop-base (>= 4.0.6), console-setup, os-prober (>= 1.33)
+ Conflicts: init-select
  # mdadm: See bugs #435983 and #455746
  Breaks: mdadm (<< 2.6.7-2), lupin-support (<< 0.55), friendly-recovery (<< 0.2.13), apport (<< 2.1.1)
- Multi-Arch: foreign
--- 
-2.1.4
-