编译 Linux

Quick Start

release 下载 lfs.iso.tar.gz

$ brew install qemu
$ qemu-system-x86_64 -boot d -cdrom ./lfs.iso -m 2G

# 在 qemu 中
# 用户名 root,无秘密
$ root

Cross-Linux from scratch

  • https://github.com/reinterpretcat/lfs
  • https://github.com/bajorekp/lfs-docker/blob/main/README.md
    • https://github.com/cross-lfs/cross-lfs
  • https://github.com/xiez/lfs

  • docker 配置
    • https://github.com/bajorekp/lfs-docker/blob/main/README.md