TODO 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. These are the TODO items for the next LFS release (3.0):
  2. * second chroot command, chapter 6 glibc, fix up -> must by identical
  3. to first chroot command in chapter 6
  4. * Chapter 5 fileutils, gcc, linux: instead of for example:
  5. ln -s ../../bin/install install
  6. change it to
  7. ln -s ../../bin/install
  8. This just shortens the command a bit and it looks better.
  9. * Chapter 5, gcc: change the title
  10. * Chapter 5, gzip: don't pass --disable-nls - it has no function on
  11. the gzip package
  12. * Chapter 5, tar: remove prefix=$LFS/usr from the 'make install'
  13. * Chapter 5, mawk: instead of putting -static in CFLAGS which is sloppy
  14. sed the Makefile to add an LDFLAGS variable similar to what we do
  15. with bzip2 in chapter 5
  16. * Chapter 5, makedev: instead of sed "s/.../.../" put the quotations
  17. marks inside the search reg ex (sed s/"..."/.../).
  18. * Chapter 5, makedev: cd to $LFS/dev first, then cp to makedev-temp and
  19. patch it.
  20. * Chapter 6, glibc: after copying pt_chown set mode 4755 on it (Glibc
  21. doesn't do this because it failed to copy pt_chown. It tried to chown
  22. root it which failed because glibc wasn't fully installed yet)
  23. * Chapter 5, bash: add note that when error occurs regarding
  24. install-info (on Debian systems for example) it can be safely
  25. ignored.
  26. * Chapter 5, kernel: Remove the exessive explanations. Just the
  27. commands in sequence like with any other package and explain below
  28. in the "command explanations"
  29. * Chapter 5, bash: when the 'install-info' error corrurs on Debian
  30. systems, check if this affects && (the message is Error 2 (ignored)
  31. but does that mean the return value is set to 0 as well...)
  32. * Check if findutils dumps binaries in /usr/local/bin
  33. * Try out latest shadow suite. If it fails with "nflg undefined" change
  34. this in useradd.c : line 1768:
  35. -if (! (nflg || gflg)) {
  36. +if (!gflg) {
  37. * Make a note that during the first reboot an error from sysklogd is
  38. normal due to missing /etc/services|protocols files which are
  39. installed when netkit-base is installed later on in chapter 9
  40. * Chapter 3: mention lfs-packages isn't for CVS
  41. * Fix the static link problems some distro's are causing
  42. * Clean out the ethnet script (for interface in $(ls
  43. /etc/sysconfig/network-scripts/ifcfg* | grep -v ifcfg-lo)
  44. do) needs some updating for example)
  45. * Don't use \u in PS1 when entering chroot to avoid the 'i have no
  46. name'. After Glibc installation we could modify the PS1 (export
  47. PS1=newvalues) and test that way if glibc is working properly. This
  48. saves us the having to exit and re-end chroot environtment. Another
  49. idea is to run 'id' or 'whoami' after Glibc installation and check if
  50. it's able to find a matching username with root's id.
  51. * Instead of rm file && ln -s source dest, use ln -sf source dest
  52. * e2fsprogs apparently needs ldconfig. Check if there are other
  53. packages before e2fsprogs which use ldconfig when it's present
  54. * Mention more hints through out the books (like BSD hint before
  55. staring with chapter 7, devfs hint before running MAKEDEV, etc)
  56. * Fix the layout of intel/chapter7/usage.xml
  57. * Consider ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/
  58. to replace console-tools/console-data
  59. * Try new procps install:
  60. make OPT="$CFLAGS" INCDIRS='-I/usr/include -I.' XSCPT='' install
  61. * When installing Glibc in chapter 6 the mtrace program isn't
  62. build. Find out why.
  63. * Incorporate LFS FAQ in the book
  64. * Full dependency list. This list isn't a list of "package a depends on
  65. package b", but a list of "package a depends on b and c from
  66. package d"
  67. * Bring the book up to speed with the current FHS specs.
  68. * Mention security patches that can be applied to packages.
  69. * Don't run lilo from inside chroot anymore. This causes severe problems
  70. sometimes including LILO not bootstrapping properly.
  71. * Bring back the PPC book (recreate from scratch using current intel
  72. book) using Jesse McCrosky's notes at
  73. http://download.linuxfromscratch.org/misc/ppc-notes.txt
  74. and the patch to the 'patch' package at:
  75. http://download.linuxfromscratch.org/misc/ppc-patch.patch
  76. * Add descriptions what the patches do we use (like the console-tools and gzip
  77. patches)
  78. * Try out Slackware's MAKEDEV script and see if it's any better than the
  79. currently used one. A copy can be found at
  80. http://download.linuxfromscratch.org/misc/Slackware-MAKEDEV
  81. * Add netkit-base and net-tools to Appendix A.
  82. * Suggest using this command to strip debug symbols after you finish
  83. chapter 6: find $LFS -type f -exec strip --strip-debug '{}' ';'