I created a way to make a "build area" using the overlayfs that is in
the linux kernel environment so you can build LFS/BLFS that completely
protects your host system from the building process.
I have placed it on github if you would like to have a gander at it
https://github.com/baho-utot/Overlay
to use it change directory to some place to your liking, I use /usr/src
cd /usr/src
git clone https://github.com/baho-utot/Overlay.git
cd Overlay
make
make chroot
you are now in the protected "jail"
You then have a clone of your host system less the /home directory
I then cd to /usr/src and git clone my LFS build system there and
run it.
I am using Raspian as my host system and while I am in the protected
"jail" can installed software using apt. The installed only is
installed to the protected "jail" and doesn't affect the your host system
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style