Merge ~xnox/grub:do-not-finalize-twice into ~ubuntu-core-dev/grub/+git/ubuntu:ubuntu
Proposed by
Dimitri John Ledkov
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 5649e23f82323d7113813c612216a82d7e10222e | ||||
Proposed branch: | ~xnox/grub:do-not-finalize-twice | ||||
Merge into: | ~ubuntu-core-dev/grub/+git/ubuntu:ubuntu | ||||
Diff against target: |
125 lines (+22/-16) 5 files modified
debian/.git-dpm (+2/-2) debian/changelog (+1/-0) debian/patches/ubuntu-dejavu-font-path.patch (+1/-1) debian/patches/ubuntu-linuxefi-arm64.patch (+18/-10) grub-core/loader/arm64/linux.c (+0/-3) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Andres Klode | Approve | ||
Łukasz Zemczak | Approve | ||
Review via email:
|
Commit message
grub_err_t
grub_arch_
{
...
retval = finalize_
...
}
static grub_err_t
grub_linux_boot (void)
{
if (finalize_
return grub_errno;
return (grub_arch_
}
Calling finalize_
As we have observed loading fdt twice, corrupts things, on certain hardware.
To post a comment you must log in.
Oh! Ok, looking at the code, this new change makes sense. Since I see Julian already does finalize_ params_ linux () in grub_arch_ efi_linux_ boot_image( ) indeed. I feel like this fix is very straightforward.