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