Mingyang Li
07fdf6c0d8
build_image*.sh: Copy with /. (directory-contents idiom) instead of /* (glob)
...
so that hidden files are included and the copy succeeds even on an edge-case empty dir.
2026-06-10 21:00:15 -07:00
Mingyang Li and Copilot
bf54dfbf44
Address review comments from puhitaku
...
- image/build_image.sh: fix IMG_NAME default to sd.img, SIZE_M to 3072
- image/build_image.sh: revert START2 to original form; remove all unnecessary inline comments
- Makefile: remove 'Mount proc and sys' comment; keep the 'Keep mounting commands AFTER' note
- Makefile: remove 'Copy qemu-arm-static' comment; simplify binfmt and mmap_min_addr comments
- Makefile: replace verbose Docker target comment blocks with clean targets per reviewer suggestion
- README.md: revert all unrelated changes; keep only the macOS environment line and Docker build section
Co-authored-by: Copilot <[email protected] >
2026-06-06 10:33:00 -07:00
Mingyang Li
e085059fd5
+ Docker as a way of building.
2026-05-30 20:26:39 -07:00
Mingyang Li
9535404d7b
perf: merge apt install apt-transport-https into the curl/gnupg call, reducing one full apt resolver invocation
2026-05-30 11:17:53 -07:00
Mingyang Li
667735f915
chore: ignore common artifacts from the big-3 OSes
2026-05-30 11:03:01 -07:00
Mingyang Li
524aeda448
Speed up ly compilation by enabling parallelism.
2026-05-30 10:47:51 -07:00
Mingyang Li
823dd221a3
doc: cosmetic changes to README
2026-05-30 10:43:15 -07:00
Mingyang Li
703671b16a
chore: + .PHONY at target brainux. Just to be safe.
2026-05-30 10:13:40 -07:00
Mingyang Li
9ca3251806
doc: + comment "Copy qemu-arm-static and setup script"
2026-05-30 10:12:26 -07:00
Mingyang Li
26aeca2926
Register qemu-arm-static binfmt handler if not already present.
2026-05-30 10:11:56 -07:00
Mingyang Li
c9b912bfab
Fix: set vm.mmap_min_addr=0 in the --privileged container before the chroot.
...
`sqv` (the ARM OpenPGP verifier used by apt) needs to mmap at address `0x1000`, but `vm.mmap_min_addr` is too high.
2026-05-30 10:10:47 -07:00
Mingyang Li
2b4eea9fc6
fix: Mount proc and sys AFTER the first stage of debootstrap.
2026-05-30 10:08:22 -07:00
Mingyang Li
ee779d6be7
doc: update build_image.sh help message and default arguments
2026-05-30 09:57:45 -07:00
Mingyang Li
113edbbdb1
chore: ignore .exe and all .img files.
2026-05-30 09:37:48 -07:00
Mingyang Li
f83787bac4
fix: UID reference in override.sh.
...
`sudo -u#1000` requires UID 1000 to exist in passwd, but the build container only has `root`. Fixed by replacing those two `sudo -u#1000 -g#1000 mkdir -p` calls with `install -d -o 1000 -g 1000 -m 0755` in override.sh.
2026-05-30 09:36:52 -07:00