ohhhhhhhhhhh (exclude linux-extra-rootfs.img build artifact)

This commit is contained in:
Linehu
2026-10-01 23:13:42 +08:00
parent 737a2cb0db
commit 1074962546
533 changed files with 133239 additions and 5460 deletions
+17 -13
View File
@@ -1,3 +1,7 @@
# Disk layout (CODE/linux/pack_system_image.sh):
# GPT p1 FAT32 ESP — /EFI /limine /boot /driver /system
# Limine 10 cannot read ext4; boot(): modules must stay on the ESP.
# GPT p2 ext4 — remaining SYSTEM/ (user/lib/bin/program + copies)
timeout: 0
serial: yes
verbose: yes
@@ -49,7 +53,7 @@ verbose: yes
# FUCK — 内核启动配置文件(INI 分区格式)
# UTSM 通过此 boot module 读取配置(cmdline="fuck:config")
# DSK 通过 FAT32 子目录遍历读取(路径 /system/deshab64/FUCK)
# 文件在 ext4 数据分区;DSK 运行时仍可从 SATA FAT32 测试盘读同名路径
module_path: boot():/system/deshab64/FUCK
module_cmdline: fuck:config
@@ -69,21 +73,21 @@ verbose: yes
#
# Linux 兼容层模块(需先通过 WSL 运行 CODE/linux/build.sh 构建产物)
# build.sh 成功后会自动取消下面 4 行注释;若未构建 Linux 内核请保持注释状态
# module_path: boot():/boot/linux-bzImage
# module_cmdline: linux:bzImage
# module_path: boot():/boot/linux-initrd.img
# module_cmdline: linux:initrd
module_path: boot():/boot/linux-bzImage
module_cmdline: linux:bzImage
module_path: boot():/boot/linux-initrd.img
module_cmdline: linux:initrd
# Arch Linux rootfs (ext4) — exposed to Linux guest as virtio-blk /dev/vdb
# via memory-backed virtio-mmio backend (GPA 0xF4002000, IRQ7).
# initramfs init mounts this and switch_root's into Arch /sbin/init.
# build_arch_rootfs.sh produces this file; uncomment after building.
#module_path: boot():/boot/linux-rootfs.img
#module_cmdline: linux:rootfs
# VSCode Phase 4: 持久 rw 卷 (ext4) — virtio-blk slot6 可写后端
# (GPA 0xF4006000, IRQ11) 暴露为 /dev/vdc,用作 overlayfs upperdir
# 与 VSCode 数据卷。由 CODE/linux/build_extra_rootfs.sh 生成。
# 文件不存在时 Limine 会报 module 加载失败 —— 构建脚本未生成该文件时
# 请保持下面两行注释(后端对缺失 module 安全降级)。
# Produced by CODE/linux/build_arch_rootfs.sh into SYSTEM/boot/.
# Packer only reads SYSTEM/; do not load these from /home or other paths.
module_path: boot():/boot/linux-rootfs.img
module_cmdline: linux:rootfs
# Persistent extra-rootfs stays on the ESP as a file. Do NOT load it as a
# Limine boot module: ~4GiB into RAM kills 6G WSL QEMU during
# "Loading module linux-extra-rootfs.img". virtio-blk /dev/vdc maps
# boot/linux-extra-rootfs.img through AHCI instead.
#module_path: boot():/boot/linux-extra-rootfs.img
#module_cmdline: linux:extra_rootfs