diff --git a/grub/grub2/debian/deb_patches/0002-grub2-remove-unnecessary-patches.patch b/grub/grub2/debian/deb_patches/0002-grub2-remove-unnecessary-patches.patch new file mode 100644 index 000000000..1ca1c7a4e --- /dev/null +++ b/grub/grub2/debian/deb_patches/0002-grub2-remove-unnecessary-patches.patch @@ -0,0 +1,82 @@ +From 215aa0657ab2f7b52c7b7eebec465ffdda1ff0d1 Mon Sep 17 00:00:00 2001 +From: Li Zhou +Date: Wed, 31 Aug 2022 13:53:19 +0800 +Subject: [PATCH 2/4] grub2: remove unnecessary patches + +Clean the patches from debian release to get a clean grub source +and only keep 2 patches necessary for debian packages' build. + +Signed-off-by: Li Zhou +--- + debian/patches/series | 59 ------------------------------------------- + 1 file changed, 59 deletions(-) + +diff --git a/debian/patches/series b/debian/patches/series +index 748318a..0478754 100644 +--- a/debian/patches/series ++++ b/debian/patches/series +@@ -1,61 +1,2 @@ +-olpc-prefix-hack.patch +-core-in-fs.patch +-dpkg-version-comparison.patch +-grub-legacy-0-based-partitions.patch +-disable-floppies.patch +-grub.cfg-400.patch +-gfxpayload-keep-default.patch +-install-stage2-confusion.patch +-mkrescue-efi-modules.patch +-mkconfig-loopback.patch + restore-mkdevicemap.patch +-gettext-quiet.patch +-install-efi-fallback.patch +-mkconfig-ubuntu-recovery.patch +-install-locale-langpack.patch +-mkconfig-nonexistent-loopback.patch +-default-grub-d.patch +-blacklist-1440x900x32.patch +-mkconfig-ubuntu-distributor.patch +-linuxefi.patch +-mkconfig-signed-kernel.patch +-install-signed.patch +-wubi-no-windows.patch +-maybe-quiet.patch +-install-efi-adjust-distributor.patch +-quick-boot.patch +-quick-boot-lvm.patch +-gfxpayload-dynamic.patch +-vt-handoff.patch +-probe-fusionio.patch +-ignore-grub_func_test-failures.patch +-mkconfig-recovery-title.patch +-install-powerpc-machtypes.patch +-ieee1275-clear-reset.patch +-ppc64el-disable-vsx.patch +-grub-install-pvxen-paths.patch +-insmod-xzio-and-lzopio-on-xen.patch +-grub-install-extra-removable.patch +-mkconfig-other-inits.patch +-zpool-full-device-name.patch +-net-read-bracketed-ipv6-addr.patch +-bootp-new-net_bootp6-command.patch +-efinet-uefi-ipv6-pxe-support.patch +-bootp-process-dhcpack-http-boot.patch +-efinet-set-network-from-uefi-devpath.patch +-efinet-set-dns-from-uefi-proto.patch +-fix-lockdown.patch +-skip-grub_cmd_set_date.patch +-bash-completion-drop-have-checks.patch +-at_keyboard-module-init.patch +-uefi-secure-boot-cryptomount.patch +-efi-variable-storage-minimise-writes.patch +-grub-install-removable-shim.patch + dejavu-font-path.patch +-xen-no-xsm-policy-in-non-xsm-options.patch +-pc-verifiers-module.patch +-debug_verifiers.patch +-mkimage-fix-section-sizes.patch +-tpm-unknown-error-non-fatal.patch +-xfs-fix-v4-superblock.patch +-tests-ahci-update-qemu-device-name.patch +-- +2.17.1 + diff --git a/grub/grub2/debian/deb_patches/0003-grub2-remove-packages-build-about-grub-efi.patch b/grub/grub2/debian/deb_patches/0003-grub2-remove-packages-build-about-grub-efi.patch new file mode 100644 index 000000000..8b553329e --- /dev/null +++ b/grub/grub2/debian/deb_patches/0003-grub2-remove-packages-build-about-grub-efi.patch @@ -0,0 +1,321 @@ +From db378eae439f7d2d356441ec130ba12321815979 Mon Sep 17 00:00:00 2001 +From: Li Zhou +Date: Thu, 1 Sep 2022 14:41:02 +0800 +Subject: [PATCH 3/4] grub2: remove packages' build about grub-efi + +Packages related with grub-efi will be built separately with special +patches about secure boot. + +Signed-off-by: Li Zhou +--- + debian/control | 287 ------------------------------------------------- + 1 file changed, 287 deletions(-) + +diff --git a/debian/control b/debian/control +index 591394f..b318ec8 100644 +--- a/debian/control ++++ b/debian/control +@@ -60,15 +60,6 @@ Multi-Arch: foreign + Description: GRand Unified Bootloader, version 2 (dummy package) + This is a dummy transitional package that depends on grub-coreboot. + +-Package: grub-efi +-Architecture: any-i386 any-amd64 any-arm64 any-ia64 any-arm +-Pre-Depends: ${misc:Pre-Depends} +-Depends: ${misc:Depends}, grub-efi-ia32 (= ${binary:Version}) [any-i386], grub-efi-amd64 (= ${binary:Version}) [any-amd64], grub-efi-arm64 (= ${binary:Version}) [any-arm64], grub-efi-ia64 (= ${binary:Version}) [any-ia64], grub-efi-arm (= ${binary:Version}) [any-arm] +-Multi-Arch: foreign +-Description: GRand Unified Bootloader, version 2 (dummy package) +- This is a dummy package that depends on the grub-efi-$ARCH package most likely +- to be appropriate for each architecture. +- + Package: grub-common + Architecture: any + Depends: ${shlibs:Depends}, ${misc:Depends}, gettext-base, ${lsb-base-depends} +@@ -245,284 +236,6 @@ Description: GRand Unified Bootloader, version 2 (Coreboot version) + 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}) +-Recommends: grub-efi-ia32-signed [i386], efibootmgr [linux-any] +-Replaces: grub2 (<< ${source:Version}), grub-common (<= 1.97~beta2-1), grub-efi, grub-efi-ia32 (<< 1.99-1) +-Multi-Arch: foreign +-XB-Efi-Vendor: ${efi:Vendor} +-Description: GRand Unified Bootloader, version 2 (EFI-IA32 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: +- . +- - Scripting in grub.cfg using BASH-like syntax. +- - Support for modern partition maps such as GPT. +- - Modular generation of grub.cfg via update-grub. Packages providing GRUB +- add-ons can plug in their own script rules and trigger updates by invoking +- update-grub. +- . +- This package contains GRUB modules that have been built for use with the +- EFI-IA32 architecture, as used by Intel Macs (unless a BIOS interface has +- been activated). 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-ia32 is also +- installed. +- +-Package: grub-efi-ia32-dbg +-Section: debug +-Architecture: any-i386 any-amd64 +-Depends: ${misc:Depends}, grub-efi-ia32-bin (= ${binary:Version}), grub-common (= ${binary:Version}) +-Multi-Arch: foreign +-Description: GRand Unified Bootloader, version 2 (EFI-IA32 debug files) +- This package contains debugging files for grub-efi-ia32-bin. You only need +- these if you are trying to debug GRUB using its GDB stub. +- +-Package: grub-efi-ia32 +-Architecture: any-i386 any-amd64 +-Pre-Depends: ${misc:Pre-Depends} +-Depends: ${shlibs:Depends}, ${misc:Depends}, grub2-common (= ${binary:Version}), grub-efi-ia32-bin (= ${binary:Version}), ucf +-Replaces: grub, grub-legacy, grub2 (<< ${source:Version}), grub-common (<= 1.97~beta2-1), grub-efi, grub-efi-amd64, grub-pc, grub-coreboot, grub-ieee1275 +-Conflicts: grub (<< 0.97-54), grub-legacy, grub-efi-amd64, grub-pc, grub-coreboot, grub-ieee1275, grub-xen, elilo +-Multi-Arch: foreign +-Description: GRand Unified Bootloader, version 2 (EFI-IA32 version) +- 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: +- . +- - Scripting in grub.cfg using BASH-like syntax. +- - Support for modern partition maps such as GPT. +- - Modular generation of grub.cfg via update-grub. Packages providing GRUB +- add-ons can plug in their own script rules and trigger updates by invoking +- update-grub. +- . +- This is a dependency package for a version of GRUB that has been built for +- use with the EFI-IA32 architecture, as used by Intel Macs (unless a BIOS +- interface has been activated). Installing this package indicates that this +- version of GRUB should be the active boot loader. +- +-Package: grub-efi-ia32-signed-template +-Architecture: i386 +-Description: GRand Unified Bootloader, version 2 (EFI-IA32 signing template) +- This package contains template files for grub-efi-ia32-signed. +- This is only needed for Secure Boot signing. +- +-Package: grub-efi-amd64-bin +-Architecture: i386 kopensolaris-i386 any-amd64 +-Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version}) +-Recommends: grub-efi-amd64-signed [amd64], efibootmgr [linux-any] +-Replaces: grub2 (<< ${source:Version}), grub-common (<= 1.97~beta2-1), grub-efi-amd64 (<< 1.99-1) +-Multi-Arch: foreign +-XB-Efi-Vendor: ${efi:Vendor} +-Description: GRand Unified Bootloader, version 2 (EFI-AMD64 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: +- . +- - Scripting in grub.cfg using BASH-like syntax. +- - Support for modern partition maps such as GPT. +- - Modular generation of grub.cfg via update-grub. Packages providing GRUB +- add-ons can plug in their own script rules and trigger updates by invoking +- update-grub. +- . +- This package contains GRUB modules that have been built for use with the +- EFI-AMD64 architecture, as used by Intel Macs (unless a BIOS interface has +- been activated). 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-amd64 is also +- installed. +- +-Package: grub-efi-amd64-dbg +-Section: debug +-Architecture: i386 kopensolaris-i386 any-amd64 +-Depends: ${misc:Depends}, grub-efi-amd64-bin (= ${binary:Version}), grub-common (= ${binary:Version}) +-Multi-Arch: foreign +-Description: GRand Unified Bootloader, version 2 (EFI-AMD64 debug files) +- This package contains debugging files for grub-efi-amd64-bin. You only +- need these if you are trying to debug GRUB using its GDB stub. +- +-Package: grub-efi-amd64 +-Architecture: i386 kopensolaris-i386 any-amd64 +-Pre-Depends: ${misc:Pre-Depends} +-Depends: ${shlibs:Depends}, ${misc:Depends}, grub2-common (= ${binary:Version}), grub-efi-amd64-bin (= ${binary:Version}), ucf +-Replaces: grub, grub-legacy, grub2 (<< ${source:Version}), grub-common (<= 1.97~beta2-1), grub-pc, grub-efi-ia32, grub-coreboot, grub-ieee1275 +-Conflicts: grub, grub-legacy, grub-efi-ia32, grub-pc, grub-coreboot, grub-ieee1275, grub-xen, elilo +-Multi-Arch: foreign +-Description: GRand Unified Bootloader, version 2 (EFI-AMD64 version) +- 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: +- . +- - Scripting in grub.cfg using BASH-like syntax. +- - Support for modern partition maps such as GPT. +- - Modular generation of grub.cfg via update-grub. Packages providing GRUB +- add-ons can plug in their own script rules and trigger updates by invoking +- update-grub. +- . +- This is a dependency package for a version of GRUB that has been built for +- use with the EFI-AMD64 architecture, as used by Intel Macs (unless a BIOS +- interface has been activated). Installing this package indicates that this +- version of GRUB should be the active boot loader. +- +-Package: grub-efi-amd64-signed-template +-Architecture: amd64 +-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 +-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: +- . +- - Scripting in grub.cfg using BASH-like syntax. +- - Support for modern partition maps such as GPT. +- - Modular generation of grub.cfg via update-grub. Packages providing GRUB +- add-ons can plug in their own script rules and trigger updates by invoking +- update-grub. +- . +- 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 +-Architecture: any-ia64 +-Depends: ${misc:Depends}, grub-efi-ia64-bin (= ${binary:Version}), grub-common (= ${binary:Version}) +-Multi-Arch: foreign +-Description: GRand Unified Bootloader, version 2 (IA64 debug files) +- This package contains debugging files for grub-efi-ia64-bin. You only need +- these if you are trying to debug GRUB using its GDB stub. +- +-Package: grub-efi-ia64 +-Architecture: any-ia64 +-Pre-Depends: ${misc:Pre-Depends} +-Depends: ${shlibs:Depends}, ${misc:Depends}, grub2-common (= ${binary:Version}), grub-efi-ia64-bin (= ${binary:Version}), ucf +-Conflicts: elilo +-Multi-Arch: foreign +-Description: GRand Unified Bootloader, version 2 (IA64 version) +- 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: +- . +- - Scripting in grub.cfg using BASH-like syntax. +- - Support for modern partition maps such as GPT. +- - Modular generation of grub.cfg via update-grub. Packages providing GRUB +- add-ons can plug in their own script rules and trigger updates by invoking +- update-grub. +- . +- 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}) +-Recommends: efibootmgr [linux-any] +-Multi-Arch: foreign +-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: +- . +- - Scripting in grub.cfg using BASH-like syntax. +- - Support for modern partition maps such as GPT. +- - Modular generation of grub.cfg via update-grub. Packages providing GRUB +- add-ons can plug in their own script rules and trigger updates by invoking +- update-grub. +- . +- 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 +-Architecture: any-arm +-Depends: ${misc:Depends}, grub-efi-arm-bin (= ${binary:Version}), grub-common (= ${binary:Version}) +-Multi-Arch: foreign +-Description: GRand Unified Bootloader, version 2 (ARM UEFI debug files) +- This package contains debugging files for grub-efi-arm-bin. You only need +- these if you are trying to debug GRUB using its GDB stub. +- +-Package: grub-efi-arm +-Architecture: any-arm +-Pre-Depends: ${misc:Pre-Depends} +-Depends: ${shlibs:Depends}, ${misc:Depends}, grub2-common (= ${binary:Version}), grub-efi-arm-bin (= ${binary:Version}), ucf +-Conflicts: grub-uboot +-Multi-Arch: foreign +-Description: GRand Unified Bootloader, version 2 (ARM UEFI version) +- 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: +- . +- - Scripting in grub.cfg using BASH-like syntax. +- - Support for modern partition maps such as GPT. +- - Modular generation of grub.cfg via update-grub. Packages providing GRUB +- add-ons can plug in their own script rules and trigger updates by invoking +- update-grub. +- . +- 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}) +-Recommends: grub-efi-arm64-signed [arm64], efibootmgr [linux-any] +-Multi-Arch: foreign +-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: +- . +- - Scripting in grub.cfg using BASH-like syntax. +- - Support for modern partition maps such as GPT. +- - Modular generation of grub.cfg via update-grub. Packages providing GRUB +- add-ons can plug in their own script rules and trigger updates by invoking +- update-grub. +- . +- 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 +-Architecture: any-arm64 +-Depends: ${misc:Depends}, grub-efi-arm64-bin (= ${binary:Version}), grub-common (= ${binary:Version}) +-Multi-Arch: foreign +-Description: GRand Unified Bootloader, version 2 (ARM64 UEFI debug files) +- This package contains debugging files for grub-efi-arm64-bin. You only +- need these if you are trying to debug GRUB using its GDB stub. +- +-Package: grub-efi-arm64 +-Architecture: any-arm64 +-Pre-Depends: ${misc:Pre-Depends} +-Depends: ${shlibs:Depends}, ${misc:Depends}, grub2-common (= ${binary:Version}), grub-efi-arm64-bin (= ${binary:Version}), ucf +-Multi-Arch: foreign +-Description: GRand Unified Bootloader, version 2 (ARM64 UEFI version) +- 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: +- . +- - Scripting in grub.cfg using BASH-like syntax. +- - Support for modern partition maps such as GPT. +- - Modular generation of grub.cfg via update-grub. Packages providing GRUB +- add-ons can plug in their own script rules and trigger updates by invoking +- update-grub. +- . +- 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 + Depends: ${shlibs:Depends}, ${misc:Depends}, grub-common (= ${binary:Version}) +-- +2.17.1 + diff --git a/grub/grub2/debian/deb_patches/0004-grub-pc-remove-conflict-with-grub-efi-amd64.patch b/grub/grub2/debian/deb_patches/0004-grub-pc-remove-conflict-with-grub-efi-amd64.patch new file mode 100644 index 000000000..cfc8bbeaa --- /dev/null +++ b/grub/grub2/debian/deb_patches/0004-grub-pc-remove-conflict-with-grub-efi-amd64.patch @@ -0,0 +1,29 @@ +From 84bb9335c054cbd61fd54f05f1fa43318b44dae0 Mon Sep 17 00:00:00 2001 +From: Li Zhou +Date: Mon, 5 Sep 2022 11:00:14 +0800 +Subject: [PATCH 4/4] grub-pc: remove conflict with grub-efi-amd64 + +Solve this error when build-image with package grub-efi-amd64: + grub-pc : Conflicts: grub-efi-amd64 but 2.06-1.stx.3 is to be installed + +Signed-off-by: Li Zhou +--- + debian/control | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/debian/control b/debian/control +index b318ec8..b38d66a 100644 +--- a/debian/control ++++ b/debian/control +@@ -152,7 +152,7 @@ Architecture: any-i386 any-amd64 + Pre-Depends: ${misc:Pre-Depends} + Depends: ${shlibs:Depends}, ${misc:Depends}, grub2-common (= ${binary:Version}), grub-pc-bin (= ${binary:Version}), ucf, freebsd-utils (>= 8.0-4) [kfreebsd-any], ${gfxpayload-depends} + Replaces: grub, grub-legacy, grub2 (<< ${source:Version}), grub-common (<= 1.97~beta2-1), grub-efi-amd64, grub-efi-ia32, grub-coreboot, grub-ieee1275 +-Conflicts: grub (<< 0.97-54), grub-legacy, grub-efi-amd64, grub-efi-ia32, grub-coreboot, grub-ieee1275, grub-xen ++Conflicts: grub (<< 0.97-54), grub-legacy, grub-efi-ia32, grub-coreboot, grub-ieee1275, grub-xen + Multi-Arch: foreign + Description: GRand Unified Bootloader, version 2 (PC/BIOS version) + GRUB is a portable, powerful bootloader. This version of GRUB is based on a +-- +2.17.1 + diff --git a/grub/grub2/debian/deb_patches/series b/grub/grub2/debian/deb_patches/series index c69976f8c..f84d2ca97 100644 --- a/grub/grub2/debian/deb_patches/series +++ b/grub/grub2/debian/deb_patches/series @@ -1 +1,4 @@ 0001-Provide-softlinks-to-grub-menus.patch +0002-grub2-remove-unnecessary-patches.patch +0003-grub2-remove-packages-build-about-grub-efi.patch +0004-grub-pc-remove-conflict-with-grub-efi-amd64.patch diff --git a/grub/grub2/debian/dl_hook b/grub/grub2/debian/dl_hook new file mode 100755 index 000000000..5db450d43 --- /dev/null +++ b/grub/grub2/debian/dl_hook @@ -0,0 +1,40 @@ +#!/bin/bash +# +# Copyright (c) 2022 Wind River Systems, Inc. +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. The ASF licenses this +# file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +# The only parameter is the name of the folder where the source code +# is extracted to. Pay attention to that the extracted package should +# be put at the same path where this script is located. +# Tools needed: tar + +tar xvf grub2_2.06.orig.tar.xz +if [ $? -ne 0 ] +then + echo "tar failed: orig source!" + exit 1 +fi +mv grub-2.06 $1 + +cd $1 +tar xvf ../grub2_2.06-1.debian.tar.xz +if [ $? -ne 0 ] +then + echo "tar failed: debian folder!" + exit 1 +fi diff --git a/grub/grub2/debian/meta_data.yaml b/grub/grub2/debian/meta_data.yaml index 2ef4abfb5..4069538f6 100644 --- a/grub/grub2/debian/meta_data.yaml +++ b/grub/grub2/debian/meta_data.yaml @@ -1,6 +1,21 @@ --- -debver: 2.04-20 +debver: 2.06-1 +debname: grub2 serial: true +dl_hook: dl_hook +dl_files: + grub2_2.06.orig.tar.xz: + topdir: null + url: + "https://snapshot.debian.org/archive/debian/20211128T160803Z/\ + pool/main/g/grub2/grub2_2.06.orig.tar.xz" + sha256sum: b79ea44af91b93d17cd3fe80bdae6ed43770678a9a5ae192ccea803ebb657ee1 + grub2_2.06-1.debian.tar.xz: + topdir: null + url: + "https://snapshot.debian.org/archive/debian/20211128T160803Z/\ + pool/main/g/grub2/grub2_2.06-1.debian.tar.xz" + sha256sum: 16a1a89d93abf8beb148dc30738be1bda05ed3c09cfffd4a1f5e1a0328c74b26 revision: dist: $STX_DIST PKG_GITREVCOUNT: true