Hardknott: grub immediately reboots
After upgrading from Dunfell (YP 3.1) to Hardknott (YP 3.3), our
firmware was unable to boot. Our target hardware is x86-64 booting in
legacy BIOS mode using grub on a variety of motherboards and CPUs. The
grub menu would never show up; instead it would reboot immediately,
leading to an endless reboot loop.
I have two different workarounds. Create a bbappend file for grub, and
do one of the following two things:
1) Add the following line:
CFLAGS_remove = "-O2"
2) Or make a patch to revert the following commit, and add it to SRC_URI:
NOTE: this commit fixes a CVE, so do not revert it without due
Here is my upstream bug report:
Is anyone else experiencing this problem? I am wondering how it got
past Yocto QA.
toggle quoted messageShow quoted text
-----Original Message-----I think we should probably remove this. That's what Fedora also seems to be doing so Os is used.
and what grub configure expects:
On 4/28/21 11:25 PM, Mittal, Anuj wrote:
I have opened a Yocto bug here:-----Original Message-----I think we should probably remove this. That's what Fedora also seems to be doing so Os is used.