Linux From Scratch
my experience with linux from scratch
Setting up
Nixos
check configuration.nix
for packages: https://www.linuxfromscratch.org/lfs/view/stable/prologue/package-choices.html
ignoring them symlinks for now
okay theres a lovely script
Partitions and Filesystems
-
could do it on existing system
-
http://www.linuxfromscratch.org/hints/downloads/files/lfs_next_to_existing_systems.txt
-
minimal = 1.2GB, prefer 2-3GB. i have like 200G (this was for ancient times, min 30GB now)
-
swap
-
ext4
Packages and Patches
https://www.linuxfromscratch.org/lfs/view/stable/prologue/package-choices.html
-
set up /src
-
make it sticky
chmod a+wt
-
autoconf: macros that produce shellscripts to configure source code packages → adapt packages to many kinds of unix systems
-
acl → manipulate access control lists
-
attr → file system extended attributes
-
bc → ???
-
bison → parser generator
-
dejagnu
nvm theres too many
opened up in vim and did some magic to create wget-list-sysv
then used wget
verify md5sum
pushd
and popd
wow