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