Ticket #4354: lfs-uefi-20180409-relocation_fix.patch

File lfs-uefi-20180409-relocation_fix.patch, 1.3 KB (added by Xi Ruoyao, 6 years ago)

Proposed change to the hint

  • lfs-uefi-20180409.txt

    old new  
    22
    33AUTHOR: Dan McGhee, Kevin M. Buckley, and Xi Ruoyao
    44
    5 DATE: 2018-04-10
     5DATE: 2019-01-10
    66
    77LICENSE: GNU Free Documentation License Version 1.2
    88
    99SYNOPSIS: Boot LFS by default in a UEFI Environment using GRUB
    1010
    11 PRIMARY URI: https://linux.xidian.edu.cn/git/xry111/LFS-book/wiki/lfs-uefi
    12 (Markdown formatted, update once the author has built a new LFS version)
    13 
    1411DESCRIPTION:
    1512This hint contains the information to direct the OS Boot Manager to default
    1613to the GRUB in a UEFI environment employing EFI Mode.  This hint applies to
     
    278275
    279276Download:
    280277* https://ftp.gnu.org/gnu/grub/grub-2.02.tar.xz
     278* Required patch:
     279https://bf.mengyan1223.wang/assets/patches/grub-2.02-relocation_fix-1.patch
    281280
    282281Prepare for compilation:
    283282
     283  Apply a patch to make some fixes required by binutils-2.31:
     284
     285    patch -Np1 -i ../grub-2.02-relocation_fix-1.patch
     286
    284287  [NOTE] Some options in 2017-02-07 hint are no longer necessary.
    285288
    286289        ./configure --prefix=/usr  \
     
    561564  from distro
    562565
    563566CHANGELOG:
     567[2019-01-10]
     568    Added grub patch for binutils-2.31
     569
    564570[2018-04-09]
    565571    Updated for LFS 8.2
    566572    Use BLFS-like format for package dependency list