Comment 10 for bug 1892290

Revision history for this message
cleary (bernard-gray) wrote :

hi @xinliang - thanks for raising this bug, and for the info.
I've got my way through to a grub build (I'm going to append some extra notes to your instructions) but, I'm unclear about where the:

$ sudo apt install ./*.deb

is supposed to be applied - are you doing this on your pxe/tftp server? Or does this need to be in the image that is being netbooted? (or both?)

If it's going on the pxe/tftp server, what files is it providing/replacing to resolve the bug (ie is it updating a bootx64.efi image)?

As promised - a little extra detail on the build notes:

$ git clone -b applied/ubuntu/focal-updates https://git.launchpad.net/ubuntu/+source/grub2
$ cd grub2
$ git cherry-pick a6838bbc6726ad624bd2b94991f690b8e9d23c69 # this will throw an error
$ git remote add upstream https://git.savannah.gnu.org/git/grub.git
$ git fetch upstream
$ git cherry-pick a6838bbc6726ad624bd2b94991f690b8e9d23c69
$ dpkg-buildpackage -rfakeroot -b