pretorh / lfs-notes Goto Github PK
View Code? Open in Web Editor NEWNotes taken while building Linux from scratch
License: MIT License
Notes taken while building Linux from scratch
License: MIT License
change install notes and post install scripts to use DESTDIR envvar (ex make DESTDIR="$DESTDIR" install
, mv somedir/somefile "$DESTDIR"/usr/share/someplace
)
grep -E '^(FAIL|UNSUPPORTED|XFAIL|XPASS): ' out.log
grep -E '^PASS: ' out.log | wc -l
# for each result type:
grep '^# TOTAL' out.log | awk -F: '{sum+=$2;} END{print sum;}'
grep '^# PASS' out.log | awk -F: '{sum+=$2;} END{print sum;}'
grep '^# SKIP' out.log | awk -F: '{sum+=$2;} END{print sum;}'
grep '^# FAIL' out.log | awk -F: '{sum+=$2;} END{print sum;}'
grep '^# ERROR' out.log | awk -F: '{sum+=$2;} END{print sum;}'
# what else is there?
grep '^# ' out.log | grep -v -E '^# (TOTAL|PASS|SKIP|FAIL|ERROR): '
grep 'expected passes' out.log
grep 'Tests=' out.log
Remove scripts no longer needed after LFS 10, LFS 11. Remove step files that are deprecated. Rearrange and renumber the step and script files
some patch/post scripts need the path of a directory, based on the package's version. determine this from the working directory, instead of hardcoded (and needing to update on each update) in the scripts
ex scripts/6/6/systemd-patch.sh
has SYSTEMD_VERSION=251
, but can use something similar to scripts/6/perl-configure.sh
to get the version number
build with the lfs
user as in the notes, but install into a fakeroot only. install from this using sudo
this should remove the need to make lfs the owner of the root filesystem (and needing to fix that before entering chroot), and allow using package managers at this point already
A lot of packages install bins and libraries into /usr/bin
or /usr/lib
, resulting in a lot of notes about moving them to the "correct directory"
Changing these to symlinks (/bin -> usr/bin
, /lib -> usr/lib
, /lib64 -> usr/lib
) will probably simplify a lot of the post-install of packages (even if breaking FHS compliance)
BLFS will have a lot of packages to install. Adding a new file for each package will create a large number of files, each of which will need to be updated on new releases
Rather change the BLFS docs to show the list of "wanted" packages (not their dependencies) with a quick summary of non-trivial build/post-install-configuration needed for them
A lot of test failures.
binutils
with --jobs 1
seems better (though slow)A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.