1 | jhalfs TODO
|
---|
2 | ---------------
|
---|
3 |
|
---|
4 | CODE STYLE
|
---|
5 | ----------
|
---|
6 |
|
---|
7 | - To use the same coding style in all modules. The current used
|
---|
8 | for HLFS module (colors, error-handling, etc) look a good starting
|
---|
9 | point for me, with two notes (to be discussed):
|
---|
10 |
|
---|
11 | - Bash code: to use two-spaces indentation (no tabs).
|
---|
12 | - Makefile code: to use eight-characters tabs.
|
---|
13 |
|
---|
14 | - To set the "Date" and "Id" svn:keywords properties on all files
|
---|
15 | setting the "Id" key on the header of each file and using the
|
---|
16 | "Date" key when needed (like in the -v output of jhalfs)
|
---|
17 |
|
---|
18 |
|
---|
19 | MASTER SCRIPT
|
---|
20 | -------------
|
---|
21 |
|
---|
22 | - Make jhalfs a "master script" that will control and run each
|
---|
23 | book's module. When doing that reestructuration we coulud to change
|
---|
24 | the tool's name, if wanted.
|
---|
25 |
|
---|
26 | - Common code for all modules should be placed in this master script.
|
---|
27 |
|
---|
28 | - Common configuration options should be placed in a master configuration
|
---|
29 | file.
|
---|
30 |
|
---|
31 | - The LFS, CLFS and HLFS modules should be exclusives. I.e., when
|
---|
32 | one is called the others must be ignored.
|
---|
33 |
|
---|
34 | - The BLFS moudule should can be called in conjunction with any of
|
---|
35 | LFS, CLFS or HLFS modules.
|
---|
36 |
|
---|
37 | - Addapt the Makefile to install all modules system-wide.
|
---|
38 |
|
---|
39 |
|
---|
40 |
|
---|
41 | LFS MODULE (some of this is applicable also to CLFS and HLFS modules)
|
---|
42 | ----------
|
---|
43 |
|
---|
44 | - To move the LFS module to their own subdir.
|
---|
45 |
|
---|
46 | - To fix the now missing locales installation needed by testsuites
|
---|
47 | in Chapter05 Glibc.
|
---|
48 |
|
---|
49 | - Chapter05 testsuites should be optionals. Run by default Chapter06
|
---|
50 | testsuites only.
|
---|
51 |
|
---|
52 | - Look that there is no need now to keep the Binutils source.
|
---|
53 |
|
---|
54 | - Fix the unpack code to don't hang when both the bz2 and gz formats
|
---|
55 | of the same package are founds in the sources dir.
|
---|
56 |
|
---|
57 | - To add a switch to build the BLFS module dependencies at the end of
|
---|
58 | the LFS build, that is, wget and sudo. SVN and libxslt aren't needed
|
---|
59 | at this stage due that the BLFS book could be downloaded and parser
|
---|
60 | at the same time that the LFS book. Plus links or lynx to read the
|
---|
61 | (to be) generated BLFS HTML pages and, maybe, gpm.
|
---|
62 |
|
---|
63 |
|
---|
64 | CLFS MODULE
|
---|
65 | -----------
|
---|
66 |
|
---|
67 | - Start the module creation.
|
---|
68 |
|
---|
69 |
|
---|
70 | HLFS MODULE
|
---|
71 | -----------
|
---|
72 |
|
---|
73 | - To review and fix, if needed, the bash and XSL code.
|
---|
74 |
|
---|
75 | - Be sure that the book's XML code is in a sane state.
|
---|
76 |
|
---|
77 | - To do several build test for both Glibc and uClibc based systems.
|
---|
78 |
|
---|
79 |
|
---|
80 | BLFS MODULE
|
---|
81 | -----------
|
---|
82 |
|
---|
83 | - The SourceForge download links don't work.
|
---|
84 |
|
---|
85 | - To fix files creation using sudo. Comment from Ag Hatzim:
|
---|
86 |
|
---|
87 | Commands, that using cat with sudo, to redirect the output to
|
---|
88 | certain files that users have no write access, will fail.
|
---|
89 |
|
---|
90 | Eg. fcron.
|
---|
91 |
|
---|
92 | #-------------------------------#
|
---|
93 | (~/jhablfs)sudo cat >> /etc/syslog.conf << "EOF"
|
---|
94 | # Begin fcron addition to /etc/syslog.conf
|
---|
95 |
|
---|
96 | cron.* -/var/log/cron.log
|
---|
97 |
|
---|
98 | # End fcron addition
|
---|
99 | EOF
|
---|
100 | zsh: permission denied: /etc/syslog.conf
|
---|
101 | #-------------------------------#
|
---|
102 |
|
---|
103 | Since the shell is doing the redirection (man bash -REDIRECTION),
|
---|
104 | *before* the command is executed, sudo can not see the redirection,
|
---|
105 | so a new shell is needed for sudo to execute the actual command.
|
---|
106 |
|
---|
107 | Like so, the previous command should be something like this.
|
---|
108 |
|
---|
109 | #-------------------------------#
|
---|
110 | (~/jhablfs)sudo sh -c "cat >> /etc/syslog.conf << "EOF"
|
---|
111 | # Begin fcron addition to /etc/syslog.conf
|
---|
112 |
|
---|
113 | cron.* -/var/log/cron.log
|
---|
114 |
|
---|
115 | # End fcron addition
|
---|
116 | EOF"
|
---|
117 | #-------------------------------#
|
---|
118 |
|
---|
119 | - Figure out how to handle Perl modules installation and other pages
|
---|
120 | that have commands to install more that one package (e.g., Gnat in GCC
|
---|
121 | Java-bin in Java, sane-backends and sane-frotnends in Sane, etc)
|
---|
122 |
|
---|
123 | - Figure out how to handle alternative dependencies. I.e.,
|
---|
124 | XFRee86 versus Xorg.
|
---|
125 |
|
---|
126 |
|
---|
127 | OTHERS
|
---|
128 | ------
|
---|
129 |
|
---|
130 | - Add a Cunstomization file discussing how to hack the generated scripts
|
---|
131 | and Makefiles, using the Cracklib support foe Shadow in LFS as an example.
|
---|
132 |
|
---|
133 | - To add support for ICA/farce? Can be done as a separate module?
|
---|
134 |
|
---|
135 | - To add support for package management???
|
---|
136 |
|
---|
137 |
|
---|