/linuxfromscratch-scripts

Linux From Scratch scripts

Primary LanguageShellMIT LicenseMIT

linuxfromscratch-scripts

Linux From Scratch Scripts.

Documents

Versions

  • Version 12 (2023-):
    • Version 12.1-rc1: February 15th, 2024
    • Version 12.0: September 1st, 2023
  • Version 11 (2021-2023):
    • Version 11.3: March 1st, 2023
    • Version 11.2: September 1st, 2022
    • Version 11.1: March 1st, 2022
    • Version 11.0: September 1st, 2021
  • Version 10 (2020-2021):
    • Version GIT-20210406-g8186f16b0 (10.2-rc1): April 6th, 2021
    • Version 10.1: March 1st, 2021
    • Version 10.0: September 1st, 2020
  • Version 9 (2019-2020):
    • Version 9.1: March 1st, 2020
    • Version 9.0: September 1st, 2019

Steps

  1. Create Scripts

[!info] This step extract script from LFS document <pre> part.

# optional: download full directory, just need NOCHUNKS.html and md5sums file
## sysvinit version
wget -r -np -nH -R index.html https://www.linuxfromscratch.org/lfs/downloads/12.0/
## systemd version
wget -r -np -nH -R index.html https://www.linuxfromscratch.org/lfs/downloads/12.0-systemd/

## stable version
# https://www.linuxfromscratch.org/lfs/downloads/stable/
# https://www.linuxfromscratch.org/lfs/downloads/stable-systemd/

# run scripts, use python 3.10+ with beautifulsoup4
python html2scripts.py
  1. Run LFS Scripts

Warning

Before run, read the LFS documents first and check autogen scripts.

Don't run immediately, read the LFS documents first, then follow the Step-by-Step part in lfs/note.md, run the command in your terminal manually. Some modifications are added from original extracted shell scripts by python.

Related