TODO 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. These are the TODO items for the next LFS release (3.0):
  2. 1) second chroot command, chapter 6 glibc, fix up -> must by identical
  3. to first chroot command in chapter 6
  4. 2) 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. 3) Chapter 5, gcc: change the title
  10. 4) Chapter 5, gzip: don't pass --disable-nls - it has no function on
  11. the gzip package
  12. 5) Chapter 5, tar: remove prefix=$LFS/usr from the 'make install'
  13. 6) 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. 7) Chapter 5, makedev: instead of sed "s/.../.../" put the quotations
  17. marks inside the search reg ex (sed s/"..."/.../).
  18. 8) Chapter 5, makedev: cd to $LFS/dev first, then cp to makedev-temp and
  19. patch it.
  20. 9) 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. 10) 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. 11) 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. 12) 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. 13) Check if findutils dumps binaries in /usr/local/bin
  33. 14) 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. 15) 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. 16) Chapter 3: mention lfs-packages isn't for CVS
  41. 17) Fix the static link problems some distro's are causing
  42. 18) 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. 19) 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. 20) Instead of rm file && ln -s source dest, use ln -sf source dest
  52. 21) e2fsprogs apparently needs ldconfig. Check if there are other
  53. packages before e2fsprogs which use ldconfig when it's present
  54. 22) Mention more hints through out the books (like BSD hint before
  55. staring with chapter 7, devfs hint before running MAKEDEV, etc)
  56. 23) Fix the layout of intel/chapter7/usage.xml
  57. 24) Consider ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/
  58. to replace console-tools/console-data
  59. 25) Try new procps install:
  60. make OPT="$CFLAGS" INCDIRS='-I/usr/include -I.' XSCPT='' install
  61. 26) When installing Glibc in chapter 6 the mtrace program isn't
  62. build. Find out why.
  63. 27) Incorporate LFS FAQ in the book
  64. 28) 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. 29) Bring the book up to speed with the current FHS specs.
  68. 30) Mention security patches that can be applied to packages.
  69. 31) Don't run lilo from inside chroot anymore. This causes severe problems
  70. sometimes including LILO not bootstrapping properly.
  71. 32) 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. 33) Add descriptions what the patches do we use (like the console-tools and
  77. gzip patches)
  78. 34) 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. 35) Add netkit-base and net-tools to Appendix A.
  82. 36) Suggest using this command to strip debug symbols after you finish
  83. chapter 6: find $LFS -type f -exec strip --strip-debug '{}' ';'