source: TODO@ b701a0f

1.0 2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since b701a0f was b792da1, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Updated TODO.

  • Property mode set to 100644
File size: 4.0 KB
Line 
1 jhalfs TODO
2 ---------------
3
4CODE 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
19MASTER 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
41LFS 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 Fixed in part in r2292. The XSL need be fixed yet.
54
55 - Fix the unpack code to don't hang when both the bz2 and gz formats
56 of the same package are founds in the sources dir.
57
58 - To add a switch to build the BLFS module dependencies at the end of
59 the LFS build, that is, wget and sudo. SVN and libxslt aren't needed
60 at this stage due that the BLFS book could be downloaded and parser
61 at the same time that the LFS book. Plus links or lynx to read the
62 (to be) generated BLFS HTML pages and, maybe, gpm.
63
64
65CLFS MODULE
66-----------
67
68 - Start the module creation.
69
70
71HLFS MODULE
72-----------
73
74 - To review and fix, if needed, the bash and XSL code.
75
76 - Be sure that the book's XML code is in a sane state.
77
78 - To do several build test for both Glibc and uClibc based systems.
79
80
81BLFS MODULE
82-----------
83
84 - The SourceForge download links don't work.
85
86 - To fix files creation using sudo. Comment from Ag Hatzim:
87
88 Commands, that using cat with sudo, to redirect the output to
89 certain files that users have no write access, will fail.
90
91 Eg. fcron.
92
93 #-------------------------------#
94 (~/jhablfs)sudo cat >> /etc/syslog.conf << "EOF"
95 # Begin fcron addition to /etc/syslog.conf
96
97 cron.* -/var/log/cron.log
98
99 # End fcron addition
100 EOF
101 zsh: permission denied: /etc/syslog.conf
102 #-------------------------------#
103
104 Since the shell is doing the redirection (man bash -REDIRECTION),
105 *before* the command is executed, sudo can not see the redirection,
106 so a new shell is needed for sudo to execute the actual command.
107
108 Like so, the previous command should be something like this.
109
110 #-------------------------------#
111 (~/jhablfs)sudo sh -c "cat >> /etc/syslog.conf << "EOF"
112 # Begin fcron addition to /etc/syslog.conf
113
114 cron.* -/var/log/cron.log
115
116 # End fcron addition
117 EOF"
118 #-------------------------------#
119
120 - Figure out how to handle Perl modules installation and other pages
121 that have commands to install more that one package (e.g., Gnat in GCC
122 Java-bin in Java, sane-backends and sane-frotnends in Sane, etc)
123
124 - Figure out how to handle alternative dependencies. I.e.,
125 XFRee86 versus Xorg.
126
127
128OTHERS
129------
130
131 - Add a Cunstomization file discussing how to hack the generated scripts
132 and Makefiles, using the Cracklib support for Shadow in LFS as an example.
133
134 - To add support for ICA/farce? Can be done as a separate module?
135
136 - To add support for package management???
137
138
Note: See TracBrowser for help on using the repository browser.