Skip to content

DLPX-84430 Boot fails with grub error: "Free Magic is Broken at..." #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3,671 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3671 commits
Select commit Hold shift + click to select a range
804a83b
2.04-1ubuntu26.15 (patches applied)
Jan 11, 2022
d5bf09e
DLPX-80252 [Backport of DLPX-80189 to 6.0.14.0] grub-probe failed dur…
Mar 24, 2022
c3456d2
Merge branch 'refs/heads/upstream-HEAD' into repo-HEAD
Apr 5, 2022
8037dce
Merge remote-tracking branch 'origin/master' into 6.0/stage
Jul 20, 2022
245d6e8
Remove "Build-Conflicts" so we can build on DE buildserver (#31)
Nov 10, 2022
7d36332
Hack prefix for OLPC
Dec 2, 2022
6208e92
Write marker if core.img was written to filesystem
Dec 2, 2022
1944d2c
Improve handling of Debian kernel version numbers
Dec 2, 2022
439aa75
Support running grub-probe in grub-legacy's update-grub
Dec 2, 2022
5bdf581
Disable use of floppy devices
Dec 2, 2022
787526a
Make grub.cfg world-readable if it contains no passwords
Dec 2, 2022
44dca1c
UBUNTU: Enhance ZFS grub support
Dec 2, 2022
ceb0cce
Disable gfxpayload=keep by default
Dec 2, 2022
8cb3cd2
If GRUB Legacy is still around, tell packaging to ignore it
Dec 2, 2022
69459c2
Build vfat into EFI boot images
Dec 2, 2022
f6c707c
Handle filesystems loop-mounted on file images
Dec 2, 2022
7315bd4
Restore grub-mkdevicemap
Dec 2, 2022
91d61e6
Silence error messages when translations are unavailable
Dec 2, 2022
a3611bc
Bail out if trying to run grub-mkconfig during upgrade to 2.00
Dec 2, 2022
ee84652
Fall back to non-EFI if booted using EFI but -efi is missing
Dec 2, 2022
fd83bc9
"single" -> "recovery" when friendly-recovery is installed
Dec 2, 2022
c7712bc
Prefer translations from Ubuntu language packs if available
Dec 2, 2022
8794093
Avoid getting confused by inaccessible loop device backing paths
Dec 2, 2022
05082ed
Don't permit loading modules on UEFI secure boot
Dec 2, 2022
d7f1ad9
Read /etc/default/grub.d/*.cfg after /etc/default/grub
Dec 2, 2022
af95467
Blacklist 1440x900x32 from VBE preferred mode handling
Dec 2, 2022
e1a38d9
Output a menu entry for firmware setup on UEFI FastBoot systems
Dec 2, 2022
4ccc4c9
Remove GNU/Linux from default distributor string for Ubuntu
Dec 2, 2022
340c556
Generate configuration for signed UEFI kernels if available
Dec 2, 2022
02c38a6
UBUNTU: Install signed images if UEFI Secure Boot is enabled
Dec 2, 2022
44d4e73
Allow Shift to interrupt 'sleep --interruptible'
Dec 2, 2022
0f28433
Skip Windows os-prober entries on Wubi systems
Dec 2, 2022
6e75924
Add configure option to reduce visual clutter at boot time
Dec 2, 2022
49d7915
Cope with Kubuntu setting GRUB_DISTRIBUTOR
Dec 2, 2022
add0504
Add configure option to bypass boot menu if possible
Dec 2, 2022
57ff507
If we don't have writable grubenv and we're on EFI,
Dec 2, 2022
0bc45e8
Add configure option to enable gfxpayload=keep dynamically
Dec 2, 2022
2c20fb0
Add configure option to use vt.handoff=7
Dec 2, 2022
fb1ffff
Probe FusionIO devices
Dec 2, 2022
5737d7a
Ignore functional test failures for now as they are broken
Dec 2, 2022
52ac9c9
Add GRUB_RECOVERY_TITLE option
Dec 2, 2022
0308a78
Port yaboot logic for various powerpc machine types
Dec 2, 2022
2f0c992
Include a text attribute reset in the clear command for ppc
Dec 2, 2022
0908d41
Disable VSX instruction
Dec 2, 2022
0506eed
grub-install: Install PV Xen binaries into the upstream specified
Dec 2, 2022
bcb4b0c
Arrange to insmod xzio and lzopio when booting a kernel as a Xen
Dec 2, 2022
77a42ac
UBUNTU: Add support for forcing EFI installation to the removable
Dec 2, 2022
ae52006
Generate alternative init entries in advanced menu
Dec 2, 2022
86e31b0
Tell zpool to emit full device names
Dec 2, 2022
625d35d
net: read bracketed ipv6 addrs and port numbers
Dec 2, 2022
161cb63
bootp: New net_bootp6 command
Dec 2, 2022
7872681
efinet: UEFI IPv6 PXE support
Dec 2, 2022
3205fcb
bootp: Add processing DHCPACK packet from HTTP Boot
Dec 2, 2022
c1ea233
efinet: Setting network from UEFI device path
Dec 2, 2022
b25b60b
efinet: Setting DNS server from UEFI protocol
Dec 2, 2022
6cb447c
Skip flaky grub_cmd_set_date test
Dec 2, 2022
64e09d2
bash-completion: Drop "have" checks
Dec 2, 2022
a60910e
at_keyboard: initialize keyboard in module init if keyboard is ready
Dec 2, 2022
e475066
Fix setup on Secure Boot systems where cryptodisk is in use
Dec 2, 2022
939d298
Add %X to grub_vsnprintf_real and friends
Dec 2, 2022
898aaf5
Minimise writes to EFI variable storage
Dec 2, 2022
d171551
Forbid the "devicetree" command when Secure Boot is enabled.
Dec 2, 2022
019ebd0
UBUNTU: Add support for linuxefi
Dec 2, 2022
4cfb61f
UBUNTU: EFI: Do not set text-mode until we actually need it
Dec 2, 2022
1f217bb
UBUNTU: Added knobs to allow non-initrd boot config
Dec 2, 2022
e80ad44
UBUNTU: Show only upstream version,
Dec 2, 2022
04745ee
UBUNTU: Added initrd-less boot capabilities.
Dec 2, 2022
90c69f7
UBUNTU: grub-mkconfig: leave a trace of what files were sourced to
Dec 2, 2022
69ef1ad
UBUNTU: Have the lzma decompressor image only contain the .text
Dec 2, 2022
2bcb929
UBUNTU: Temporarily keep grub-install's --auto-nvram.
Dec 2, 2022
aa67165
Add devicetree command, if a dtb is present.
Dec 2, 2022
8bd2d29
UBUNTU: Boot from multipath-dependent symlink when / is multipathed.
Dec 2, 2022
240d3fb
Skip /dev/disk/by-id/lvm-pvm-uuid entries from device iteration
Dec 2, 2022
bea2e67
tpm: Pass unknown error as non-fatal,
Dec 2, 2022
ac8292f
UBUNTU: Allow chainloading EFI apps from loop mounts.
Dec 2, 2022
0c0b6a0
lsefisystab: Define SMBIOS3 entry point structures for EFI
Dec 2, 2022
78f9068
smbios: Add a module for retrieving SMBIOS information
Dec 2, 2022
080d92f
lsefisystab: Add support for device tree table
Dec 2, 2022
b064bbd
uefi-firmware: rename fwsetup menuentry to UEFI Firmware Settings
Dec 2, 2022
ef102f1
smbios: Add a --linux argument to apply linux modalias-like
Dec 2, 2022
3fe4077
ubuntu: Make the linux command in EFI grub always try EFI handover
Dec 2, 2022
485098e
ubuntu: Update the linux boot protocol version check.
Dec 2, 2022
3a1f8ef
UBUNTU: efivar: Ignore alternative ESPs
Dec 2, 2022
686dd0b
UBUNTU: efivar: Correctly handle boot order of multiple ESPs
Dec 2, 2022
e8b5179
UBUNTU: Improve performance in bootmenu for zsys
Dec 2, 2022
affdd82
yylex: Make lexer fatal errors actually be fatal
Dec 2, 2022
300a604
safemath: Add some arithmetic primitives that check for overflow
Dec 2, 2022
c51a176
calloc: Make sure we always have an overflow-checking calloc()
Dec 2, 2022
869c89f
calloc: Use calloc() at most places
Dec 2, 2022
93407d1
malloc: Use overflow checking primitives where we do complex
Dec 2, 2022
beaf9c7
iso9660: Don't leak memory on realloc() failures
Dec 2, 2022
49c6425
font: Do not load more than one NAME section
Dec 2, 2022
7a158be
gfxmenu: Fix double free in load_image()
Dec 2, 2022
508c230
lzma: Make sure we don't dereference past array
Dec 2, 2022
82dd9f6
tftp: Do not use priority queue
Dec 2, 2022
a593b8d
script: Remove unused fields from grub_script_function struct
Dec 2, 2022
8519477
script: Avoid a use-after-free when redefining a function during
Dec 2, 2022
70afb0c
hfsplus: fix two more overflows
Dec 2, 2022
04c1a61
lvm: fix two more potential data-dependent alloc overflows
Dec 2, 2022
43957d4
efi: fix some malformed device path arithmetic errors.
Dec 2, 2022
bfe180d
linuxefi: fail kernel validation without shim protocol.
Dec 2, 2022
2c17cd4
Fix a regression caused by "efi: fix some malformed device path
Dec 2, 2022
47141ef
efi: Fix use-after-free in halt/reboot path
Dec 2, 2022
bff38a6
chainloader: Avoid a double free when validation fails
Dec 2, 2022
f78b600
relocator: Protect grub_relocator_alloc_chunk_addr() input args
Dec 2, 2022
d7e3e4e
relocator: Protect grub_relocator_alloc_chunk_align() max_addr
Dec 2, 2022
7a16853
relocator: Fix grub_relocator_alloc_chunk_align() top memory
Dec 2, 2022
c2926fb
linux loader: avoid overflow on initrd size calculation
Dec 2, 2022
26424f6
linux: Fix integer overflows in initrd size handling
Dec 2, 2022
d6ad76c
efilinux: Fix integer overflows in grub_cmd_initrd
Dec 2, 2022
b7c7082
UBUNTU: Add GRUB_FLAVOUR_ORDER configuration item
Dec 2, 2022
dbda523
UBUNTU: disk/loopback: Don't verify loopback images
Dec 2, 2022
f70e554
Pass dis_ucode_ldr to kernel for recovery mode
Dec 2, 2022
9a4d1df
grub-install: Add backup and restore
Dec 2, 2022
31846f5
Cherry-pick back parts of "Load arm with SB enabled."
Dec 2, 2022
3f251eb
efi: Set image base address before jumping to the PE/COFF entry
Dec 2, 2022
f9aaac1
tftp: Roll-over block counter to prevent data packets timeouts
Dec 2, 2022
a9cd61f
Make "exit" take a return code.
Dec 2, 2022
ebbd2a8
don't use int for efi status
Dec 2, 2022
1845b06
Make pmtimer tsc calibration not take 51 seconds to fail.
Dec 2, 2022
b7811e4
net: Fix crash on http
Dec 2, 2022
e6a90f8
Ubuntu: add initrd-less-boot informational messages
Dec 2, 2022
4d372e7
Call hwmatch only on the grub-pc platform
Dec 2, 2022
e194598
2.04-1ubuntu26.16 (patches unapplied)
Dec 2, 2022
629265a
2.04-1ubuntu26.16 (patches applied)
Dec 2, 2022
f5baaa7
Merge branch 'refs/heads/upstream-HEAD' into repo-HEAD
Jan 12, 2023
101f9b6
2.04-1ubuntu26.17 (patches unapplied)
Dec 18, 2022
c0d9405
Hack prefix for OLPC
Dec 18, 2022
24a1fbb
Write marker if core.img was written to filesystem
Dec 18, 2022
fecc24c
Improve handling of Debian kernel version numbers
Dec 18, 2022
c5ba8b6
Support running grub-probe in grub-legacy's update-grub
Dec 18, 2022
7b30013
Disable use of floppy devices
Dec 18, 2022
f7168c9
Make grub.cfg world-readable if it contains no passwords
Dec 18, 2022
af2ecbb
UBUNTU: Enhance ZFS grub support
Dec 18, 2022
90c3c49
Disable gfxpayload=keep by default
Dec 18, 2022
5702426
If GRUB Legacy is still around, tell packaging to ignore it
Dec 18, 2022
8664287
Build vfat into EFI boot images
Dec 18, 2022
ac6b9b8
Handle filesystems loop-mounted on file images
Dec 18, 2022
67c7cf4
Restore grub-mkdevicemap
Dec 18, 2022
5744b93
Silence error messages when translations are unavailable
Dec 18, 2022
49c2b2b
Bail out if trying to run grub-mkconfig during upgrade to 2.00
Dec 18, 2022
10f7527
Fall back to non-EFI if booted using EFI but -efi is missing
Dec 18, 2022
40c3b90
"single" -> "recovery" when friendly-recovery is installed
Dec 18, 2022
052b05a
Prefer translations from Ubuntu language packs if available
Dec 18, 2022
85ca723
Avoid getting confused by inaccessible loop device backing paths
Dec 18, 2022
9f2e1c8
Don't permit loading modules on UEFI secure boot
Dec 18, 2022
c0969da
Read /etc/default/grub.d/*.cfg after /etc/default/grub
Dec 18, 2022
5c66d5f
Blacklist 1440x900x32 from VBE preferred mode handling
Dec 18, 2022
48f205c
Output a menu entry for firmware setup on UEFI FastBoot systems
Dec 18, 2022
b6aa676
Remove GNU/Linux from default distributor string for Ubuntu
Dec 18, 2022
9155738
Generate configuration for signed UEFI kernels if available
Dec 18, 2022
12f7293
UBUNTU: Install signed images if UEFI Secure Boot is enabled
Dec 18, 2022
bb06f44
Allow Shift to interrupt 'sleep --interruptible'
Dec 18, 2022
5520086
Skip Windows os-prober entries on Wubi systems
Dec 18, 2022
f23cd4e
Add configure option to reduce visual clutter at boot time
Dec 18, 2022
730058b
Cope with Kubuntu setting GRUB_DISTRIBUTOR
Dec 18, 2022
5e4451b
Add configure option to bypass boot menu if possible
Dec 18, 2022
1dda0e6
If we don't have writable grubenv and we're on EFI,
Dec 18, 2022
af32a8b
Add configure option to enable gfxpayload=keep dynamically
Dec 18, 2022
bdd70f9
Add configure option to use vt.handoff=7
Dec 18, 2022
833a21f
Probe FusionIO devices
Dec 18, 2022
f9cab08
Ignore functional test failures for now as they are broken
Dec 18, 2022
d78ade7
Add GRUB_RECOVERY_TITLE option
Dec 18, 2022
575d482
Port yaboot logic for various powerpc machine types
Dec 18, 2022
d562ba1
Include a text attribute reset in the clear command for ppc
Dec 18, 2022
28c1690
Disable VSX instruction
Dec 18, 2022
a73bd5c
grub-install: Install PV Xen binaries into the upstream specified
Dec 18, 2022
f013196
Arrange to insmod xzio and lzopio when booting a kernel as a Xen
Dec 18, 2022
875a5b9
UBUNTU: Add support for forcing EFI installation to the removable
Dec 18, 2022
0f797a3
Generate alternative init entries in advanced menu
Dec 18, 2022
63438ee
Tell zpool to emit full device names
Dec 18, 2022
4fdc0e0
net: read bracketed ipv6 addrs and port numbers
Dec 18, 2022
c5d9396
bootp: New net_bootp6 command
Dec 18, 2022
dac8b29
efinet: UEFI IPv6 PXE support
Dec 18, 2022
a3929eb
bootp: Add processing DHCPACK packet from HTTP Boot
Dec 18, 2022
f9f52ad
efinet: Setting network from UEFI device path
Dec 18, 2022
1974609
efinet: Setting DNS server from UEFI protocol
Dec 18, 2022
9d988fd
Skip flaky grub_cmd_set_date test
Dec 18, 2022
736d48a
bash-completion: Drop "have" checks
Dec 18, 2022
5031ea3
at_keyboard: initialize keyboard in module init if keyboard is ready
Dec 18, 2022
0285b45
Fix setup on Secure Boot systems where cryptodisk is in use
Dec 18, 2022
0e966d9
Add %X to grub_vsnprintf_real and friends
Dec 18, 2022
1d9b7f0
Minimise writes to EFI variable storage
Dec 18, 2022
8ca1cb7
Forbid the "devicetree" command when Secure Boot is enabled.
Dec 18, 2022
4edf39c
UBUNTU: Add support for linuxefi
Dec 18, 2022
5b71175
UBUNTU: EFI: Do not set text-mode until we actually need it
Dec 18, 2022
d5e98f4
UBUNTU: Added knobs to allow non-initrd boot config
Dec 18, 2022
1c6d131
UBUNTU: Show only upstream version,
Dec 18, 2022
9837a6b
UBUNTU: Added initrd-less boot capabilities.
Dec 18, 2022
00e1519
UBUNTU: grub-mkconfig: leave a trace of what files were sourced to
Dec 18, 2022
a7e4d71
UBUNTU: Have the lzma decompressor image only contain the .text
Dec 18, 2022
a55c7ba
UBUNTU: Temporarily keep grub-install's --auto-nvram.
Dec 18, 2022
ee54024
Add devicetree command, if a dtb is present.
Dec 18, 2022
1586f99
UBUNTU: Boot from multipath-dependent symlink when / is multipathed.
Dec 18, 2022
5b28b02
Skip /dev/disk/by-id/lvm-pvm-uuid entries from device iteration
Dec 18, 2022
ecf8f12
tpm: Pass unknown error as non-fatal,
Dec 18, 2022
e182ade
UBUNTU: Allow chainloading EFI apps from loop mounts.
Dec 18, 2022
9ce0c4c
lsefisystab: Define SMBIOS3 entry point structures for EFI
Dec 18, 2022
bbd79f0
smbios: Add a module for retrieving SMBIOS information
Dec 18, 2022
57306be
lsefisystab: Add support for device tree table
Dec 18, 2022
dc4cba1
uefi-firmware: rename fwsetup menuentry to UEFI Firmware Settings
Dec 18, 2022
3ff68d6
smbios: Add a --linux argument to apply linux modalias-like
Dec 18, 2022
2bfc211
ubuntu: Make the linux command in EFI grub always try EFI handover
Dec 18, 2022
0ee5d56
ubuntu: Update the linux boot protocol version check.
Dec 18, 2022
6b9fd4c
UBUNTU: efivar: Ignore alternative ESPs
Dec 18, 2022
25d3b9f
UBUNTU: efivar: Correctly handle boot order of multiple ESPs
Dec 18, 2022
ed735f3
UBUNTU: Improve performance in bootmenu for zsys
Dec 18, 2022
ddd663a
yylex: Make lexer fatal errors actually be fatal
Dec 18, 2022
d3f2aa3
safemath: Add some arithmetic primitives that check for overflow
Dec 18, 2022
3abea41
calloc: Make sure we always have an overflow-checking calloc()
Dec 18, 2022
4f2136d
calloc: Use calloc() at most places
Dec 18, 2022
42a5a1a
malloc: Use overflow checking primitives where we do complex
Dec 18, 2022
504c331
iso9660: Don't leak memory on realloc() failures
Dec 18, 2022
c75a458
font: Do not load more than one NAME section
Dec 18, 2022
ff68afd
gfxmenu: Fix double free in load_image()
Dec 18, 2022
abd959c
lzma: Make sure we don't dereference past array
Dec 18, 2022
cf60694
tftp: Do not use priority queue
Dec 18, 2022
60d87dd
script: Remove unused fields from grub_script_function struct
Dec 18, 2022
592a238
script: Avoid a use-after-free when redefining a function during
Dec 18, 2022
4cb2ffb
hfsplus: fix two more overflows
Dec 18, 2022
29e12f0
lvm: fix two more potential data-dependent alloc overflows
Dec 18, 2022
c9768a7
efi: fix some malformed device path arithmetic errors.
Dec 18, 2022
07acf49
linuxefi: fail kernel validation without shim protocol.
Dec 18, 2022
4401a81
Fix a regression caused by "efi: fix some malformed device path
Dec 18, 2022
3be04dd
efi: Fix use-after-free in halt/reboot path
Dec 18, 2022
f671e41
chainloader: Avoid a double free when validation fails
Dec 18, 2022
a7b7418
relocator: Protect grub_relocator_alloc_chunk_addr() input args
Dec 18, 2022
6babd87
relocator: Protect grub_relocator_alloc_chunk_align() max_addr
Dec 18, 2022
8eadcd9
relocator: Fix grub_relocator_alloc_chunk_align() top memory
Dec 18, 2022
b010114
linux loader: avoid overflow on initrd size calculation
Dec 18, 2022
3a2532e
linux: Fix integer overflows in initrd size handling
Dec 18, 2022
56f6f73
efilinux: Fix integer overflows in grub_cmd_initrd
Dec 18, 2022
b717195
UBUNTU: Add GRUB_FLAVOUR_ORDER configuration item
Dec 18, 2022
08e7656
UBUNTU: disk/loopback: Don't verify loopback images
Dec 18, 2022
4f4944a
Pass dis_ucode_ldr to kernel for recovery mode
Dec 18, 2022
23a3b18
grub-install: Add backup and restore
Dec 18, 2022
67d40e0
Cherry-pick back parts of "Load arm with SB enabled."
Dec 18, 2022
19ef317
efi: Set image base address before jumping to the PE/COFF entry
Dec 18, 2022
fec16e2
tftp: Roll-over block counter to prevent data packets timeouts
Dec 18, 2022
cfad21c
Make "exit" take a return code.
Dec 18, 2022
a938cf7
don't use int for efi status
Dec 18, 2022
b08105b
Make pmtimer tsc calibration not take 51 seconds to fail.
Dec 18, 2022
ff1d95e
net: Fix crash on http
Dec 18, 2022
99d47c5
Ubuntu: add initrd-less-boot informational messages
Dec 18, 2022
428e1af
Call hwmatch only on the grub-pc platform
Dec 18, 2022
f3131df
templates/linux_xen: Properly load multiple initrd files
Dec 18, 2022
281c55a
templates/linux_xen: Properly order the multiple initrd files
Dec 18, 2022
6808951
2.04-1ubuntu26.17 (patches applied)
Dec 18, 2022
10c0861
Merge branch 'refs/heads/upstream-HEAD' into repo-HEAD
Jun 6, 2023
cad311a
DLPX-84430 Boot fails with grub error: "Free Magic is Broken at..."
Apr 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 2 additions & 20 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,9 @@ GRUB depends on some software packages installed into your system. If
you don't have any of them, please obtain and install them before
configuring the GRUB.

* GCC 4.1.3 or later
Note: older versions may work but support is limited

Experimental support for clang 3.3 or later (results in much bigger binaries)
* GCC 5.1.0 or later
Experimental support for clang 3.8.0 or later (results in much bigger binaries)
for i386, x86_64, arm (including thumb), arm64, mips(el), powerpc, sparc64
Note: clang 3.2 or later works for i386 and x86_64 targets but results in
much bigger binaries.
earlier versions not tested
Note: clang 3.2 or later works for arm
earlier versions not tested
Note: clang on arm64 is not supported due to
https://llvm.org/bugs/show_bug.cgi?id=26030
Note: clang 3.3 or later works for mips(el)
earlier versions fail to generate .reginfo and hence gprel relocations
fail.
Note: clang 3.2 or later works for powerpc
earlier versions not tested
Note: clang 3.5 or later works for sparc64
earlier versions return "error: unable to interface with target machine"
Note: clang has no support for ia64 and hence you can't compile GRUB
for ia64 with clang
* GNU Make
* GNU Bison 2.3 or later
* GNU gettext 0.17 or later
Expand Down
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,9 @@ ChangeLog: FORCE
touch $@; \
fi

systemdsystemunit_DATA = \
grub-initrd-fallback.service

EXTRA_DIST += ChangeLog ChangeLog-2015

syslinux_test: $(top_builddir)/config.status tests/syslinux/ubuntu10.04_grub.cfg
Expand Down
6 changes: 3 additions & 3 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ noinst_PROGRAMS =
platform_PROGRAMS =
TESTS = example_unit_test$(EXEEXT) printf_test$(EXEEXT) \
date_test$(EXEEXT) $(am__EXEEXT_5) cmp_test$(EXEEXT) \
ext234_test squashfs_test iso9660_test hfsplus_test ntfs_test \
ext234_test iso9660_test hfsplus_test ntfs_test \
reiserfs_test fat_test minixfs_test xfs_test f2fs_test \
nilfs2_test romfs_test exfat_test tar_test udf_test hfs_test \
jfs_test btrfs_test zfs_test cpio_test example_scripted_test \
Expand Down Expand Up @@ -2640,7 +2640,7 @@ pkgdata_DATA = $(am__append_93) grub-mkconfig_lib
bin_SCRIPTS = grub-kbdcomp
sbin_SCRIPTS = grub-mkconfig grub-set-default grub-reboot
platform_DATA =
check_SCRIPTS = ext234_test squashfs_test iso9660_test hfsplus_test \
check_SCRIPTS = ext234_test iso9660_test hfsplus_test \
ntfs_test reiserfs_test fat_test minixfs_test xfs_test \
f2fs_test nilfs2_test romfs_test exfat_test tar_test udf_test \
hfs_test jfs_test btrfs_test zfs_test cpio_test \
Expand Down Expand Up @@ -2872,7 +2872,7 @@ CLEANFILES = $(nodist_libgrubkern_a_SOURCES) \
$(am__append_89) grub-mkconfig $(am__append_90) \
grub-set-default $(am__append_91) grub-reboot \
grub-mkconfig_lib $(am__append_92) grub-kbdcomp grub-shell \
grub-shell-tester grub-fs-tester ext234_test squashfs_test \
grub-shell-tester grub-fs-tester ext234_test \
iso9660_test hfsplus_test ntfs_test reiserfs_test fat_test \
minixfs_test xfs_test f2fs_test nilfs2_test romfs_test \
exfat_test tar_test udf_test hfs_test jfs_test btrfs_test \
Expand Down
10 changes: 0 additions & 10 deletions Makefile.util.am
Original file line number Diff line number Diff line change
Expand Up @@ -832,16 +832,6 @@ ext234_test: $(top_builddir)/config.status tests/ext234_test.in
CLEANFILES += ext234_test
EXTRA_DIST +=
dist_noinst_DATA += tests/ext234_test.in
check_SCRIPTS += squashfs_test
TESTS += squashfs_test

squashfs_test: $(top_builddir)/config.status tests/squashfs_test.in
(for x in tests/squashfs_test.in ; do cat $(srcdir)/"$$x"; done) | $(top_builddir)/config.status --file=$@:-
chmod a+x squashfs_test

CLEANFILES += squashfs_test
EXTRA_DIST +=
dist_noinst_DATA += tests/squashfs_test.in
check_SCRIPTS += iso9660_test
TESTS += iso9660_test

Expand Down
6 changes: 0 additions & 6 deletions Makefile.util.def
Original file line number Diff line number Diff line change
Expand Up @@ -779,12 +779,6 @@ script = {
common = tests/ext234_test.in;
};

script = {
testcase;
name = squashfs_test;
common = tests/squashfs_test.in;
};

script = {
testcase;
name = iso9660_test;
Expand Down
12 changes: 11 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,16 @@ AC_SUBST(grubdirname)
AC_DEFINE_UNQUOTED(GRUB_DIR_NAME, "$grubdirname",
[Default grub directory name])

##### systemd unit files
AC_ARG_WITH([systemdsystemunitdir],
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
[],
[with_systemdsystemunitdir=/usr/lib/systemd/system],
[with_systemdsystemunitdir=no])
if test "x$with_systemdsystemunitdir" != xno; then
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
fi

#
# Checks for build programs.
#
Expand Down Expand Up @@ -410,7 +420,7 @@ else
fi

# Check for functions and headers.
AC_CHECK_FUNCS(posix_memalign memalign getextmntent)
AC_CHECK_FUNCS(posix_memalign memalign getextmntent on_exit)
AC_CHECK_HEADERS(sys/param.h sys/mount.h sys/mnttab.h limits.h)

# glibc 2.25 still includes sys/sysmacros.h in sys/types.h but emits deprecation
Expand Down
9 changes: 0 additions & 9 deletions debian/.git-dpm

This file was deleted.

110 changes: 0 additions & 110 deletions debian/.gitignore

This file was deleted.

3 changes: 3 additions & 0 deletions debian/README.source
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ grub-team/grub uses git-dpm and contains the following branches:
- pristine-tar:

pritine-tar metadata based on upstream (not upstream).

Ubuntu unapplies git-dpm patches, and instead uses gbp pq
import|export --no-patch-numbers.
13 changes: 9 additions & 4 deletions debian/build-efi-images
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ CD_MODULES="
search_fs_file
search_label
sleep
smbios
squash4
test
true
Expand Down Expand Up @@ -189,6 +190,7 @@ GRUB_MODULES="$CD_MODULES
raid6rec
"
NET_MODULES="$CD_MODULES
http
tftp
"

Expand All @@ -212,9 +214,12 @@ NET_MODULES="$CD_MODULES
# Special network boot image for d-i to use. Just the same as the
# normal network boot image, but with a different value baked in for
# the prefix setting
"$grub_mkimage" -O "$platform" -o "$outdir/grubnet$efi_name-installer.efi" \
-d "$grub_core" -c "$workdir/grub-bootstrap.cfg" \
-m "$workdir/memdisk-netboot.fat" \
-p "${efi_vendor}-installer/$deb_arch/grub" $NET_MODULES
#
# but not on Ubuntu LP: #1863994
#
#"$grub_mkimage" -O "$platform" -o "$outdir/grubnet$efi_name-installer.efi" \
# -d "$grub_core" -c "$workdir/grub-bootstrap.cfg" \
# -m "$workdir/memdisk-netboot.fat" \
# -p "${efi_vendor}-installer/$deb_arch/grub" $NET_MODULES

exit 0
25 changes: 25 additions & 0 deletions debian/canonical-uefi-ca.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
-----BEGIN CERTIFICATE-----
MIIENDCCAxygAwIBAgIJALlBJKAYLJJnMA0GCSqGSIb3DQEBCwUAMIGEMQswCQYD
VQQGEwJHQjEUMBIGA1UECAwLSXNsZSBvZiBNYW4xEDAOBgNVBAcMB0RvdWdsYXMx
FzAVBgNVBAoMDkNhbm9uaWNhbCBMdGQuMTQwMgYDVQQDDCtDYW5vbmljYWwgTHRk
LiBNYXN0ZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTEyMDQxMjExMTI1MVoX
DTQyMDQxMTExMTI1MVowgYQxCzAJBgNVBAYTAkdCMRQwEgYDVQQIDAtJc2xlIG9m
IE1hbjEQMA4GA1UEBwwHRG91Z2xhczEXMBUGA1UECgwOQ2Fub25pY2FsIEx0ZC4x
NDAyBgNVBAMMK0Nhbm9uaWNhbCBMdGQuIE1hc3RlciBDZXJ0aWZpY2F0ZSBBdXRo
b3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC/WzoWdO4hXa5h
7Z1WrL3e3nLz3X4tTGIPrMBtSAgRz42L+2EfJ8wRbtlVPTlU60A7sbvihTR5yvd7
v7p6yBAtGX2tWc+m1OlOD9quUupMnpDOxpkNTmdleF350dU4Skp6j5OcfxqjhdvO
+ov3wqIhLZtUQTUQVxONbLwpBlBKfuqZqWinO8cHGzKeoBmHDnm7aJktfpNS5fbr
yZv5K+24aEm82ZVQQFvFsnGq61xX3nH5QArdW6wehC1QGlLW4fNrbpBkT1u06yDk
YRDaWvDq5ELXAcT+IR/ZucBUlUKBUnIfSWR6yGwk8QhwC02loDLRoBxXqE3jr6WO
BQU+EEOhAgMBAAGjgaYwgaMwHQYDVR0OBBYEFK2RmQvCKrH1FwSMI7ZlWiaONFpj
MB8GA1UdIwQYMBaAFK2RmQvCKrH1FwSMI7ZlWiaONFpjMA8GA1UdEwEB/wQFMAMB
Af8wCwYDVR0PBAQDAgGGMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly93d3cuY2Fu
b25pY2FsLmNvbS9zZWN1cmUtYm9vdC1tYXN0ZXItY2EuY3JsMA0GCSqGSIb3DQEB
CwUAA4IBAQA/ffZ2pbODtCt60G1SGgODxBKnUJxHkszAlHeC0q5Xs5kE9TI6xlUd
B9sSqVb62NR2IOvkw1Hbmlyckj8Yc9qUaqGZOIykiG3B/Dlx0HR2FgM+ViM11VVH
WxodQcLTEkzc/64KkpxiChcBnHPgXrH9vNa1GRF6fs0+A35m21uoyTlIUf9T4Zwx
U5EbOxB1Axe65oECgJRwTEa3lLA9Fc0fjgLgaAKP+/lHHX2iAcYHUcSazO3dz6Nd
7ZK7vtH95uwfM1FzBL48crB9CPgB/5h9y5zgaTl3JUdxiLGNJ6UuqPc/X4Bplz6p
9JkU284DDgtmxBxtvbgnd8FClL38agq8
-----END CERTIFICATE-----
Loading