Signed-off-by: Erik Hollensbe <firstname.lastname@example.org>
|6 months ago|
|pkg||6 months ago|
|setup||6 months ago|
|stage1||6 months ago|
|tools||6 months ago|
|Makefile||6 months ago|
|README.md||6 months ago|
|lfs.lib||6 months ago|
This is much of the instructions from Linux from Scratch, 10.1 translated to script form. I have taken some liberties with the effort:
- Build host is expected to be an ubuntu 20.04 machine that can be dirtied up by our scripts. It must possess a second disk.
- Everything runs as root, we control this other ways.
- Create an ubuntu 20.04 VM with two disks. Install ubuntu on the first and leave the second alone.
sudo make INSTALL_DISK=/dev/sdbor whatever that second disk resolves to. It will prompt for confirmation before partitioning the disk, after that it's all downhill. :)
- To enter the chroot:
sudo make enter-chrootas root. To make a user,
sudo make create-user.
Nothing else works yet.
Don't ask me for help! This is based on this book, Linux From Scratch 10.1. Go read it!