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