On 2020-08-05 14:37 +0800, Kevin Buckley via lfs-dev wrote: > On Mon, 3 Aug 2020 at 00:46, Xi Ruoyao via lfs-dev > <lfs-dev@lists.linuxfromscratch.org> wrote: > > It's nearly impossible. If we do that we'll have to introduce at least five > > new > > packages: dosfstools, popt, pciutils, efivar, and efibootmgr. Pciutils is > > recommended to be installed along with "which" (it's a package's name), and > > one > > of wget/curl/lynx to make update-pciids script usable. And, to make grub > > menu > > "showing normal" we'll need freetype. Freetype has a circular dependency > > with > > harfbuzz. Harfbuzz requires glib, graphite, and ICU to be fully functional. > > > > Worth pointing out, as the hint does, that you can install Freetype > without the harfbuzz, so as to get enough to install an enhanced > Grub, and then go back and install a Freetype+harfbuzz later.
That's my approach, and OK for a hint. Another way: provide a binary unicode.pf2 file on Anduin, and skip freetype. It's just a font and it's not a problem not to build a font "from scratch". > Similarly, the lack of an update-pciids script may not be a major > problem as, when building the UEFI-aware Grub for the first time, > you can download what that script would fetch, using the host > system, and just put the payload into place on the LFS system. The problem is we have to defer the activation of update-usbids.timer (for systemd) or cron job (for sysv) after wget/curl/lynx is installed. Then where should we put the instruction? Not a technical problem but a book structure issue. > It's probably way too far beyond LFS to have it in the LFS Book, > but the basic capabilities are not as hard to add as one might > come to think, just by following all of the BLFS Book's dependencies > to the end of each chain. I think it might be better to put EFI grub and its dependencies into BLFS. There is BLFS #5379 (opened 6 years ago). If Bruce agrees I'll change the milestone to 10.1 (10.0 will be too hurry) and do it. And, William Harrington suggested that LFS should support some non-x86 architectures, which would require different bootloaders. They can be put into a new BLFS chapter "alternative bootloaders", along with EFI grub. -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page