1 | jhalfs TODO
|
---|
2 | ---------------
|
---|
3 |
|
---|
4 |
|
---|
5 | MASTER SCRIPT
|
---|
6 | -------------
|
---|
7 |
|
---|
8 | - The BLFS moudule should can be called in conjunction with any of
|
---|
9 | LFS, CLFS or HLFS modules.
|
---|
10 | Before working on that we need to fix the BLFS support.
|
---|
11 |
|
---|
12 | - To create a script to install jhalfs system-wide. Work in progess.
|
---|
13 |
|
---|
14 | - To add support for build optimizations
|
---|
15 |
|
---|
16 |
|
---|
17 | LFS MODULE (all this is applicable also to CLFS and HLFS modules)
|
---|
18 | ----------
|
---|
19 |
|
---|
20 | - To add a switch to build the BLFS module dependencies at the end of
|
---|
21 | the LFS build, that is, wget and sudo. SVN and libxslt aren't needed
|
---|
22 | at this stage due that the BLFS book could be downloaded and parser
|
---|
23 | at the same time that the LFS book. Plus links or lynx to read the
|
---|
24 | (to be) generated BLFS HTML pages and, maybe, gpm.
|
---|
25 | Before working on that we need to fix the BLFS support.
|
---|
26 |
|
---|
27 |
|
---|
28 | BLFS MODULE
|
---|
29 | -----------
|
---|
30 |
|
---|
31 | - The SourceForge download links don't work.
|
---|
32 |
|
---|
33 | - The current code to use a FTP mirror as fallback is broken
|
---|
34 | for several packages due FTP migration to upstream formats.
|
---|
35 |
|
---|
36 | - To fix files creation using sudo. Comment from Ag Hatzim:
|
---|
37 |
|
---|
38 | Commands, that using cat with sudo, to redirect the output to
|
---|
39 | certain files that users have no write access, will fail.
|
---|
40 |
|
---|
41 | Eg. fcron.
|
---|
42 |
|
---|
43 | #-------------------------------#
|
---|
44 | (~/jhablfs)sudo cat >> /etc/syslog.conf << "EOF"
|
---|
45 | # Begin fcron addition to /etc/syslog.conf
|
---|
46 |
|
---|
47 | cron.* -/var/log/cron.log
|
---|
48 |
|
---|
49 | # End fcron addition
|
---|
50 | EOF
|
---|
51 | zsh: permission denied: /etc/syslog.conf
|
---|
52 | #-------------------------------#
|
---|
53 |
|
---|
54 | Since the shell is doing the redirection (man bash -REDIRECTION),
|
---|
55 | *before* the command is executed, sudo can not see the redirection,
|
---|
56 | so a new shell is needed for sudo to execute the actual command.
|
---|
57 |
|
---|
58 | Like so, the previous command should be something like this.
|
---|
59 |
|
---|
60 | #-------------------------------#
|
---|
61 | (~/jhablfs)sudo sh -c "cat >> /etc/syslog.conf << "EOF"
|
---|
62 | # Begin fcron addition to /etc/syslog.conf
|
---|
63 |
|
---|
64 | cron.* -/var/log/cron.log
|
---|
65 |
|
---|
66 | # End fcron addition
|
---|
67 | EOF"
|
---|
68 | #-------------------------------#
|
---|
69 |
|
---|
70 | - Figure out how to handle Perl modules installation and other pages
|
---|
71 | that have commands to install more that one package (e.g., Gnat in GCC
|
---|
72 | Java-bin in Java, sane-backends and sane-frotnends in Sane, etc)
|
---|
73 |
|
---|
74 | - Figure out how to handle alternative dependencies. I.e.,
|
---|
75 | XFRee86 versus Xorg.
|
---|
76 |
|
---|
77 |
|
---|
78 | OTHERS
|
---|
79 | ------
|
---|
80 |
|
---|
81 | - Add a Cunstomization file discussing how to hack the generated scripts
|
---|
82 | and Makefiles, using the Cracklib support for Shadow in LFS as an example.
|
---|
83 | NOTE: that could require an special command line switch to regenerate the
|
---|
84 | Makefile if additional scripts are manually added to the *-commands/*/ dirs.
|
---|
85 |
|
---|
86 |
|
---|