Removing old changelog entries, make files ready for lfs-4.0 release
[linux_from_scratch.git] / checklfs / TODO
blob4a227cb2e015529f0f325fb4fe28581ff80de6ea
1 Things to do:
3 - Rewrite log-install to use strace instead of find. I've been using strace
4 to create the installation dependencies in the book, so why not use it to
5 create installation log files. It's pretty much identical anyways (instead
6 of looking for mainly 'execve' in strace's output, now look for mainly
7 'write' output). I'm too far into creating the current scripts to change
8 to strace. I want to get these log files wrapped up (at the time of writing
9 this I'm almost done logging chapter 6's installation) and upload this
10 package for testing.
12 Perhaps the strace rewrite can take place even before LFS-4.0 is released.
13 Afterall, strace is not needed to check an installation, only to create the
14 log files to check an installation afterwards. In other words: if you
15 install software not covered by the LFS Book.
17 - Implement -q option for silent running (for use in scripts for example to
18   check an install without having to see output)
20 From lfs-dev discussion:
22 On Fri, Mar 15, 2002 at 11:30:26PM +0000, Mark Hymers wrote:
23 > /checklfs-0.1/install-logs/gcc-2.95.3:
24 > /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3
25 > /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/cc1
26 > /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/crtbeginS.o
27 > /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/cpp0
28
29 > etc..
30
31 > Is there anything clever we could do to avoid this putting out an error
32 > on different systems or should we just add a note to the book when it's
33 > added to CVS?
35 How about this for "cleaverness":
37 add a little sed thing to the log-install script to replace
38 i686-pc-linux-gnu with *
40 that way checklfs will check for
42 /usr/lib/gcc-lib/*/2.95.3/fooblahbar
44 Hm, that means it'll only work when an i686'er runs log-install. What if
45 it's sparc or something, sedding for i*(86) wouldn't do either.
47 We could just hardcode those paths and change them. We know there's an
48 architecture dir in /usr/lib/gcc-lib always, so perhaps this:
50 sed s%/usr/lib/gcc-lib/*%/usr/lib/gcc-lib/\*%'
52 that should make the shell expand the first * into the real dir. name, then
53 replace with a literal * (\* will stop bash from expanding it).
54 -----------------