[Bug 1459871] Re: arm64 images built w/ setjmp module fail w/ license error
Launchpad Bug Tracker
1459871 at bugs.launchpad.net
Thu Dec 10 18:13:19 UTC 2015
This bug was fixed in the package grub2 - 2.02~beta2-9ubuntu1.5
---------------
grub2 (2.02~beta2-9ubuntu1.5) trusty; urgency=medium
* d/p/arm64-set-correct-length-of-device-path-end-entry.patch: Fixes
booting arm64 kernels on certain UEFI implementations. (LP: #1476882)
* progress: avoid NULL dereference for net files. (LP: #1459872)
* arm64/setjmp: Add missing license macro. (LP: #1459871)
* Cherry-pick patch to add SAS disks to the device list from the ofdisk
module. (LP: #1517586)
* Cherry-pick patch to open Simple Network Protocol exclusively.
(LP: #1508893)
-- dann frazier <dannf at ubuntu.com> Wed, 25 Nov 2015 13:13:35 -0700
** Changed in: grub2 (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1459871
Title:
arm64 images built w/ setjmp module fail w/ license error
Status in grub2 package in Ubuntu:
Fix Released
Status in grub2 source package in Trusty:
Fix Released
Status in grub2 source package in Vivid:
Fix Committed
Status in grub2 source package in Wily:
Fix Committed
Status in grub2 source package in Xenial:
Fix Released
Bug description:
[Impact]
Any ARM64 GRUB image that includes the setjmp module will fail, reporting an "incompatible license" error. Ubuntu doesn't normally include this module in most images. The one exception I know of is MAAS which, by default, includes all modules when generating EFI images. MAAS currently has a hack to blacklist setjmp on arm64 because a fix wasn't available at the time - but I fear other users will try to do the same thing and hit this issue which can be difficult to track down.
[Test Case]
PXE boot a grub image on arm64 that includes the setjmp module:
$ grub-mkimage -v -o grubaa64.efi -O arm64-efi -d
/usr/lib/grub/arm64-efi setjmp
[Regression Risk]
The patch merely adds a license section to the module and it has been tested to work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1459871/+subscriptions
More information about the foundations-bugs
mailing list