An idea for a new development model
Walter Barnes
walter_barnes05 at yahoo.com
Thu Aug 16 20:51:38 MDT 2007
This thread has been rife with lurkers and newbies...... So why not one more? :-) Anyway, I'll keep this short.
Has anyone considered using unionfs to create a fake root? You can merge $LFS and an empty directory (lets call it $PKG) specifying $LFS as the read-only branch and $PKG as the read-write branch. chroot into that instead of $LFS directly and all changes that result from the build/install will not touch $LFS. When you're done, umount everything and all new files (and modified files too) will be in $PKG ready to packaged up.
The big catch: you need a host system with a kernel that's been built with support for unionfs or aufs. I think only newer kernels (2.6.x) support these file systems. Since this thread originally pertained to the LiveCD this might not be a problem.
I first learned of using unionfs for package management from a LFS hint: http://www.linuxfromscratch.org/hints/downloads/files/package_management_using_trip.txt
Walter
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC
More information about the lfs-dev
mailing list