2025-12-24 03:03:37 -05:00
2026-01-06 06:17:09 -05:00
2025-12-25 02:10:59 -05:00
2026-01-06 01:14:30 -05:00
2025-12-25 06:37:13 -05:00
2026-01-02 05:40:06 -05:00
2025-12-23 05:15:17 -05:00
2026-01-01 02:11:07 -05:00
2025-12-25 15:19:16 -05:00
2025-12-30 22:45:15 -05:00
2025-12-30 09:15:28 -05:00
2025-12-29 17:51:15 -05:00
2025-12-27 12:24:08 -05:00

My LFS software repository

This is my repository for Linux from Scratch, and designed for the package manager leaf.

Warning: leaf won't deal with the dependence relation, and currently won't check file confliction. You have to deal with these problems as the maintainer of your own LFS system.

Different with LFS book

  • Use ensurepip in Chapter 7.10. Python-3.13.2, then install python-pip after Chapter 8.51 Python
  • Use SBINDIR=/usr/bin/ to install iproute2. ip command should be avaliable for non-root
  • We won't install TeX files in Chapter 8.72. Texinfo-7.2. We will install TexLive.
  • We won't install Grub in LFS. Install in BLFS with UEFI instead.

issues

  • lfs/vim-9.1.x has Test_write_backup_symlink failed, which can pass if call assert_true(filereadable('./Xbackup/Xwbsfile.bak')) is commented. Seams like cannot create this backup file. This is because building in /tmp. It's safe to ignore.

BLFS order

Those can be installed directly:

dev-libs/libunistring dev-libs/popt dev-libs/libtasn1 app-arch/libarchive dev-libs/xxhash dev-libs/pcre2 dev-lang/duktape
  • dev-libs/libunistring -> net-dns/libidn2 -> net-libs/libpsl -> net-misc/wget
  • dev-libs/libtasn1 -> app-crypt/p11-kit -> app-misc/make-ca
  • net-libs/libpsl+app-misc/make-ca -> net-misc/curl
  • libxml2 is not needed for nghttp2
  • icu is not needed for libxml2
  • net-misc/curl+app-arch/libarchive+dev-libs/libuv -> dev-build/cmake
  • app-arch/libarchive -> dev-db/sqlite -> rebuild dev-lang/python
  • dev-python/six -> dev-debug/gdb
  • dev-libs/popt + dev-libs/xxhash -> net-misc/rsync
  • dev-libs/pcre2 -> rebuild sys-apps/grep
  • rebuild sys-apps/grep + net-misc/curl + dev-build/cmake -> llvm-core/llvm -> llvm-runtimes/compiler-rt -> llvm-core/clang
  • llvm-core/llvm + dev-db/sqlite + dev-build/cmake + net-misc/curl -> dev-lang/rust

python

Those can be installed directly

pyproject-hooks, installer
  • pyproject-hooks -> build

after build and installer:

  • setuptools-scm -> pluggy
  • calver -> trove-classifiers
  • editables + pathspec + pluggy + trove-classifiers -> hatchling
  • hatchling -> hatch-vcs
  • iniconfig + pluggy + setuptools-scm -> pytest
Description
My LFS PKGBUILD files, work with https://gitea.phy-yingjie.wang/wyj/leaf
Readme 4.7 MiB
Languages
Shell 99.4%
CMake 0.6%