Hi guys, Since David Woodhouse's hdrinstall branch was merged into Linus' tree and released in 2.6.18-rc1, I decided to give it a spin with the bits in trunk now. Everything built except for sysklogd and util-linux in Chapter 6. I haven't actually ran anything yet since the build was done remotely. Important note: I removed a few headers from the vanilla install as is done in the Fedora glibc-kernheaders package. I figured this was wise since David Woodhouse works for RedHat, and they've been using these headers for a couple months now.
The build was done using jhalfs, so I patched the book to get the commands to dump out. It's far from complete. Most of the data needs to be fixed. I just wanted to get things running. Diff is here: http://www.linuxfromscratch.org/~dnicholson/lfs-trunk-headers_install.diff A couple notes on the fixes for sysklogd and util-linux. For sysklogd, two headers were being used that aren't distributed in `make headers_install'. I was able to get by by just removing the #include lines like so: sed -i '/atomic.h/d' module.h sed -i '/linkage.h/d' ksym_mod.c The first fix is in sysklogd CVS. The second one...just a guess, but it built. Someone with more knowledge would have to look into that one. For util-linux, I bisected a patch from upstream util-linux-2.13-pre6 that replaced all of the ext2_llseek calls with lseek. The patch is here: http://www.linuxfromscratch.org/~dnicholson/downloads/util-linux-2.12r-lseek-1.patch All in all, things look pretty good. Linux-2.6.18 will probably be stable by the time LFS-6.2 gets done and we could start using these kernel headers in trunk. Yay! I haven't built any BLFS packages yet. I'll probably just let my scripts run and see where they bomb. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page