1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
These are the TODO items for the next LFS release (3.0):
* Move the explanations in MAKEDEV's installation to the "Command
* explanation" section (also move from chap6 to chap5)
* Unmount $LFS/proc when done with chapter 7
* Check out alternative findutils patch in
* http://download.linuxfromscratch.org/misc/findutils-4.1.alternative-patch
* Check to see if the man pages from the ld.so package also come with
the man-pages package.
* Incorporate LFS FAQ in the book
* In console-tools-0.2.3/doc/man, there are more files ending in *.in
that need to be renamed and copied to /usr/share/man. But before we
copy any files we should modify them first and change the @datadir@
occurances in those files to it's proper location (/usr/share IIRC)
* Work on intel/preface/whoread.sgml and change the working to make it
flow and sound nicer. Use
http://download.linuxfromscratch.org/misc/whoread-draft.txt as a base
(this is a draft by Oren Byer, based on an earlier draft by Gerard
Beekmans).
* After entering chroot check the $TERM variable and set it properly if
needed
* Add dedicated package version number entities (to avoid having to make
changes to 2-7 files to just change the version number of a package).
* Get rid of the codes 'pp' in chapter 5 entities, 'in' in chapter 6
entities and the like with other chapters.
* Re-arrange the list in chapter 3 to match the order in which
packages are installed.
* Find out why zoneinfo file are not installed when installing Glibc in
chapter 6
From an email to lfs-discuss:
I agree. Let me ask you this, though. Is there anything that
doesn't get
installed besides the zoneinfo? I figured out how to install that
manually, if it's all that's missing. It's simply:
zic /path/to/glibc/source/timezone/<continent>
If that's all it's missing, no need to install a static perl even.
Another lead: possibly cross-compiler detection. Fix with:
sed s,"cross-compiling = yes","cross-compiling = no", \
config.make > config.make~ && mv config.make~ config.make
make && make install
* Full dependency list. This list isn't a list of "package a depends on
package b" but a list like "package b depends on the files c, d and e
from package f".
* Bring the book up to speed with the current FHS specs.
* Mention security patches that can be applied to packages.
* At the end of the book suggest the user create the /etc/lfs-<version>
file and give a few reasons why the user would want
such a file (example: it's easy to forget after a while which LFS version
you run; it makes debugging easier for us knowing which LFS version a user
is running).
* Check to see if we need the configparms file when installing Glibc.
Rumours have it that the --prefix=/usr we use causes
slibdir=/lib and sysconfdir=/etc to be assumed.
* Explain how changing runlevels works. Use the file written by Simon
Perreault at http://download.linuxfromscratch.org/misc/runlevels.txt
* Don't run lilo from inside chroot anymore. This causes severe problems
sometimes including LILO not bootstrapping properly.
* Bring back the PPC book (recreate from scratch using current intel
book) using Jesse McCrosky's notes at
http://download.linuxfromscratch.org/misc/ppc-notes.txt
and the patch to the 'patch' package at:
http://download.linuxfromscratch.org/misc/ppc-patch.patch
* Add descriptions what the patches do we use (like the console-tools and gzip
patches)
* Try out Slackware's MAKEDEV script and see if it's any better than the
currently used one. A copy can be found at
http://download.linuxfromscratch.org/misc/Slackware-MAKEDEV
* Sed'ing the MAKEDEV script gives us hda[1-20], hdb[1-20] and so forth.
Mention that all of these can't actually be used due to kernel
limitations (IDE goes to 16 max for example).
* Type in chapter 2 - how to install software: Last paragraph:
s/There is on exception/There is one exception/
* Rewrite chapter 2 a little bit. Add that export LFS=/mnt/lfs could be
added to root's .bash_profile/.bashrc (outside chroot) to make sure
that between build sessions the variable is still set.
* Add to chapter 2 how to use .gz files (not just .tar.gz)
* Mention LFS should be installed as user root
* 'init S' has been reported not to work properly. Test this.
* Add netkit-base and net-tools to Appendix A.
* Use /etc/HOSTNAME for setting the hostname. This is a bit more
compliant with other distributions and therefore less confusing to
people.
* Suggest using this command to strip debug symbols after you finish
chapter 6: find $LFS -type f -exec strip --strip-debug '{}' ';'
* Modify the killproc function in the functions script. Right now it
works roughly as follows: killl, wait 2 secs, check if pid's are gone.
If not, kill with -KILL (aka -9), wait 2 secs, checkif pid's are gone.
If no, print error message.
Change this into: kill, don't wait 2 secs but check for pid's right
away. If pid's are still there, then wait 2 seconds and kill -KILL,
wait, if pid's still there, print error. Most daemons will exit
immediately and the 2 second wait for every daemon slows things down
unnessary.
|