source: BOOK/boot/x86/grub-build.xml@ bc19d65

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since bc19d65 was 22da6db, checked in by Chris Staub <chris@…>, 11 years ago

Install GRUB entirely in /tools

  • Property mode set to 100644
File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-grub-build" role="wrap">
9 <?dbhtml filename="grub-build.html"?>
10
11 <title>GRUB-&grub-version;</title>
12
13 <indexterm zone="ch-boot-grub-build">
14 <primary sortas="a-GRUB">GRUB</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19 href="../../final-system/x86/grub.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of GRUB</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26 href="../../final-system/x86/grub.xml"
27 xpointer="xpointer(//*[@os='n1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30 href="../../final-system/x86/grub.xml"
31 xpointer="xpointer(//*[@os='s1'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
34 href="../../final-system/x86/grub.xml"
35 xpointer="xpointer(//*[@os='s2'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
38 href="../../final-system/x86/grub.xml"
39 xpointer="xpointer(//*[@os='a'])"/>
40
41<screen os="ab"><userinput>./configure --prefix=/tools \
42 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
43 --disable-werror --enable-grub-mkfont=no</userinput></screen>
44
45<para os="b">The meaning of the new configure option:</para>
46
47 <variablelist os="bc">
48 <varlistentry>
49 <term><parameter>--enable-grub-mkfont=no</parameter></term>
50 <listitem><para>Prevents GRUB from trying to build
51 <command>grub-mkfont</command>, which requires Freetype.</para></listitem>
52 </varlistentry>
53
54 </variablelist>
55
56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
57 href="../../final-system/x86/grub.xml"
58 xpointer="xpointer(//*[@os='c'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
61 href="../../final-system/x86/grub.xml"
62 xpointer="xpointer(//*[@os='d'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
65 href="../../final-system/x86/grub.xml"
66 xpointer="xpointer(//*[@os='f'])"/>
67
68<screen os="ag"><userinput>make install</userinput></screen>
69
70 </sect2>
71
72 <sect2 role="content">
73 <title/>
74
75 <para>Details on this package are located in <xref
76 linkend="contents-grub" role="."/></para>
77
78 </sect2>
79
80</sect1>
Note: See TracBrowser for help on using the repository browser.