35 Commits
Author SHA1 Message Date
SalimTerryLi e3f008aee4 container: rootless operation
pseudo is carried as an on-demand operation that handles xattr only.

Assisted-by: GPT-5.6-Sol
2026-08-31 13:40:23 +08:00
SalimTerryLi af81ce61d7 script: drop the requirement of loop mount for fs image creation
Assisted-by: GPT-5.6-Sol
2026-08-31 13:39:13 +08:00
SalimTerryLi 5a807ffd4f script: takeover rootfs archive creation process from Makefile
Assisted-by: GPT-5.6-Sol
2026-08-31 13:39:13 +08:00
SalimTerryLi 8dbcc6270d script: guid.sh: opt-out losetup
Assisted-by: GPT-5.6-Sol
2026-08-31 13:39:13 +08:00
SalimTerryLi bc1c8b7a05 script: gptcfg.sh: add get-sector-size
Assisted-by: GPT-5.6-Sol
2026-08-31 13:39:13 +08:00
SalimTerryLi 0ed330ee38 script: gptcfg.sh: support part creation
Assisted-by: GPT-5.6-Sol
2026-08-31 13:39:13 +08:00
SalimTerryLi f3e987f5b8 script: gptcfg.sh: add global options for part-align and sector-size
Assisted-by: GPT-5.6-Sol
2026-08-31 13:39:13 +08:00
SalimTerryLi 4f925f7654 script: gptcfg.sh: switch to sfdisk
Assisted-by: GPT-5.6-Sol
2026-08-31 13:39:13 +08:00
SalimTerryLi 36ca0d5ecc script: do not mount if proc dir nonexist
Fixes: f1a8d8351d
2026-07-20 13:22:47 +08:00
SalimTerryLi f1a8d8351d script: workaround systemd-261 kernel-install 2026-07-17 14:35:29 +08:00
SalimTerryLi bbf67874a0 fix: script: ignore package lists not ending with .list and .group 2026-06-11 17:16:07 +08:00
SalimTerryLi 822b6fa271 scripts: avoid using bash style ${!xxx} 2026-05-15 02:07:36 +08:00
SalimTerryLi 8c0c411d68 script: do not use "+=" for compatibility 2026-05-15 02:07:36 +08:00
SalimTerryLi cdc67a76c5 build: preserve xattrs for rootfs and image 2026-03-13 17:08:11 +08:00
SalimTerryLi 94312a7025 script: make filesystem tools aware of underlying device sector size 2026-01-30 16:02:32 +08:00
SalimTerryLi a89edf9f1a script: move disk sector decision logic from GUID table
Prepare to allow filesystem to get hints about sector size
2026-01-30 16:02:32 +08:00
SalimTerryLi b58334b71c script: support custom sector-size for disk image
This adds support for 4kn storage such as UFS.

By now, the only possible method to populate 4kn
image is losetup. No partition tools supports
that yet.
2026-01-30 16:02:32 +08:00
SalimTerryLi a70f4f7334 fix: allow skipping empty bsp repo 2026-01-14 14:40:29 +08:00
SalimTerryLi 4f367a28eb logging: details about overflowed mountpoint 2026-01-04 14:37:51 +08:00
SalimTerryLi 0b893abba4 script: image post process: support converting to sparsed 2025-12-30 15:47:59 +08:00
SalimTerryLi c83a9f77db script: final image size should be multiple of alignment 2025-12-30 15:38:16 +08:00
SalimTerryLi 370c41b690 script: support blob filling for MBR code area of GPT table 2025-12-29 18:52:10 +08:00
SalimTerryLi 4d523a54a9 scripts: filling blobs into image 2025-12-29 18:17:10 +08:00
SalimTerryLi 8d85dbf59b fix: Check dir before attempting to install pkgs 2025-12-16 12:39:50 +08:00
SalimTerryLi 02e6a12063 logging: add verbose mode
Dumping commandline in debug mode
2025-12-16 12:39:50 +08:00
SalimTerryLi f60ea1c5e5 BREAKING: Using auto for numfmt converting 2025-12-16 12:39:50 +08:00
SalimTerryLi fbc553dc0e support custom disk alignment 2025-12-16 12:39:42 +08:00
SalimTerryLi 63dda91ecc fix: deal with part type only if provided 2025-12-15 17:38:52 +08:00
SalimTerryLi 816dde18bb WIP: Add BLOB usage entry 2025-12-15 17:29:42 +08:00
SalimTerryLi 70fccbb4f2 optimize logging 2025-09-05 15:40:18 +08:00
SalimTerryLi 4d9c2137cf Fix. K1 image works 2025-09-05 15:14:00 +08:00
SalimTerryLi 89c748bf05 just work (TM) 2025-09-04 16:59:29 +08:00
SalimTerryLi 7b5219bb0d rootfs build script 2025-08-25 14:27:26 +08:00
SalimTerryLi 9fdcd2b15a refactored into add_xxx style.
But then it is harder to check data fields in time
2025-08-22 18:25:20 +08:00
SalimTerryLi 1c754e754d initial 2025-08-22 16:51:27 +08:00