TODO 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. These are the TODO items for the next LFS release (3.0):
  2. * Full dependency list. This list isn't a list of "package a depends on
  3. package b" but a list like "package b depends on the files c, d and e
  4. from package f".
  5. * Bring the book up to speed with the current FHS specs.
  6. * Mention security patches that can be applied to packages.
  7. * At the end of the book suggest the user create the /etc/lfs-<version>
  8. file and give a few reasons why the user would want
  9. such a file (example: it's easy to forget after a while which LFS version
  10. you run; it makes debugging easier for us knowing which LFS version a user
  11. is running).
  12. * Check to see if we need the configparms file when installing Glibc.
  13. Rumours have it that the --prefix=/usr we use causes
  14. slibdir=/lib and sysconfdir=/etc to be assumed.
  15. * Explain how changing runlevels works. Use the file written by Simon
  16. Perreault at http://download.linuxfromscratch.org/misc/runlevels.txt
  17. * Don't run lilo from inside chroot anymore. This causes severe problems
  18. sometimes including LILO not bootstrapping properly.
  19. * Bring back the PPC book (recreate from scratch using current intel
  20. book) using Jesse McCrosky's notes at
  21. http://download.linuxfromscratch.org/misc/ppc-notes.txt
  22. * Add descriptions what the patches do we use (like the console-tools and gzip
  23. patches)
  24. * Try out Slackware's MAKEDEV script and see if it's any better than the
  25. currently used one. A copy can be found at
  26. http://download.linuxfromscratch.org/misc/Slackware-MAKEDEV
  27. * Sed'ing the MAKEDEV script gives us hda[1-20], hdb[1-20] and so forth.
  28. Mention that all of these can't actually be used due to kernel
  29. limitations (IDE goes to 16 max for example).
  30. * Install Glibc in chapter 6. This means chapter 5 needs mawk,
  31. texinfo and msgfmt from gettext added as extra static packages. Test if
  32. this really works and doesn't have unexpected problems. mawk needs the
  33. CFLAGS=-static variable during the compile stage, texinfo needs
  34. LDFLAGS=-static and msgfmt from gettext needs to be compiled with:
  35. cd src && make LDDFLAGS=-all-static msgfmt
  36. * Type in chapter 2 - how to install software: Last paragraph:
  37. s/There is on exception/There is one exception/
  38. * Rewrite chapter 2 a little bit. Add that export LFS=/mnt/lfs could be
  39. added to root's .bash_profile/.bashrc (outside chroot) to make sure
  40. that between build sessions the variable is still set.
  41. * Add to chapter 2 how to use .gz files (not just .tar.gz)
  42. * Mention LFS should be installed as user root
  43. * 'init S' has been reported not to work properly. Test this.
  44. * Add netkit-base and net-tools to Appendix A.
  45. * Use /etc/HOSTNAME for setting the hostname. This is a bit more
  46. compliant with other distributions and therefore less confusing to
  47. people.
  48. * Suggest using this command to strip debug symbols after you finish
  49. chapter 6: find $LFS -type f -exec strip --strip-debug '{}' ';'
  50. * Modify the killproc function in the functions script. Right now it
  51. works roughly as follows: killl, wait 2 secs, check if pid's are gone.
  52. If not, kill with -KILL (aka -9), wait 2 secs, checkif pid's are gone.
  53. If no, print error message.
  54. Change this into: kill, don't wait 2 secs but check for pid's right
  55. away. If pid's are still there, then wait 2 seconds and kill -KILL,
  56. wait, if pid's still there, print error. Most daemons will exit
  57. immediately and the 2 second wait for every daemon slows things down
  58. unnessary.