Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
7b7bead
captain: fix .isEnabledFor(logging.DEBUG) calls
rpardini Apr 2, 2026
2273f43
captain: force type console in __init__.py
rpardini Apr 2, 2026
1325cf1
captain: catch required arg and loosen type (WiP: other way around.)
rpardini Apr 2, 2026
d1e2fb0
captain: util: Rich rule's separating run() output
rpardini Apr 2, 2026
d498ac2
captain: better logging; `in-docker: ` prefix
rpardini Apr 2, 2026
64599c3
captain: add .editorconfig matching ruff
rpardini Apr 3, 2026
0d7d44b
docker/mkosi: mount a Docker Volume at /work, so mkosi can cache the …
rpardini Apr 3, 2026
2c34187
util: use a Panel to log the full subprocess command line
rpardini Apr 3, 2026
2120f49
captain: introduce Config build_kernel boolean
rpardini Apr 3, 2026
0b43072
WiP: use linux-image-generic distro kernel
rpardini Apr 3, 2026
774420e
gha: skip all kernel stuff
rpardini Apr 3, 2026
81b9979
gha: single matrix except for combined amd64/arm64 image at the end
rpardini Apr 3, 2026
f477a31
mkosi.conf: just use tiny-initramfs instead of blocking the others (d…
rpardini Apr 3, 2026
1bcc8a6
mkosi.finalize: export DTBs for arches that have them
rpardini Apr 3, 2026
f44d39f
artifacts: collect `dtb` `mkosi.output` folder into `out/`
rpardini Apr 3, 2026
1f5de22
publish: publish DTBs in OCI image as a directory
rpardini Apr 3, 2026
83836e6
kernel: drop all kernel-build related code
rpardini Apr 3, 2026
549f6f9
mkosi.finalize: drop kernel sound/media/net-wireless modules
rpardini Apr 3, 2026
7b5b148
gha: introduce FLAVOR_ID (nee KERNEL_VERSION)
rpardini Apr 3, 2026
1db8360
release: include cfg.kernel_version as suffix to all tags
rpardini Apr 3, 2026
40f8546
gha: bump external actions so GHA stops complaining about Node 24
rpardini Apr 3, 2026
0169c6e
gha: pass DEFAULT_FLAVOR_ID as KERNEL_VERSION for publish-combined
rpardini Apr 3, 2026
b960493
captain/gha: KERNEL_VERSION (et al) is now FLAVOR_ID
rpardini Apr 3, 2026
90da273
captain: cleanups / doc updates WiP (drop kernel build-related)
rpardini Apr 3, 2026
d898dfd
captain: DEFAULT_FLAVOR_ID = "trixie-full"
rpardini Apr 3, 2026
cff3c4f
flavors: introduce flavors
rpardini Apr 4, 2026
eac634c
gha: add trixie-rockchip64 flavor
rpardini Apr 5, 2026
875543e
stages: show what tools_mode is running
rpardini Apr 5, 2026
aa201f6
gha: pass --arch to build.py build
rpardini Apr 5, 2026
8809efb
common_debian: add 01nopty with `Dpkg::Use-Pty "0";` to mkosi sandbox…
rpardini Apr 5, 2026
257a832
captain: add support for mkosi skeleton tree
rpardini Apr 6, 2026
2adb56f
common_debian: common bash header with logging, sprinkle some dust on…
rpardini Apr 6, 2026
84522a8
mkosi.conf: output a JSON manifest
rpardini Apr 6, 2026
e3daba5
mkosi.conf: force tools tree to be Debian Trixie
rpardini Apr 6, 2026
da51326
mkosi.conf: use sandbox tree also for tools tree
rpardini Apr 6, 2026
110d27b
flavor: ensure flavor supports requested architecture
rpardini Apr 6, 2026
8c7a0c0
flavors: cleanup a bit
rpardini Apr 6, 2026
a241362
flavors/gha: introduce meson64 flavor
rpardini Apr 6, 2026
c9fda05
docker: never interactive, never a terminal
rpardini Apr 6, 2026
423a55c
cli/flavor: pass Flavor down to build and initramfs cmds; introduce B…
rpardini Apr 6, 2026
6790acb
gha/docker: set and pass down FORCE_COLOR=1
rpardini Apr 6, 2026
e267d1c
captain: don't shorten out logging record name
rpardini Apr 6, 2026
68ac67b
buildah: take env BUILDAH_INSECURE=1 for `--tls-verify=false`
rpardini Apr 6, 2026
c4b30fb
release: pass flavor down to release, avoid releasing iso for !has_iso
rpardini Apr 6, 2026
c89abd3
cli: new cli under `click_cli`
rpardini Apr 6, 2026
77cb294
click: add tools command
rpardini Apr 6, 2026
15e797d
click: some sugar, list available flavors via reflection
rpardini Apr 6, 2026
59e8376
docker: build_builder(): more info
rpardini Apr 6, 2026
15d88ab
click: kill old tools cli (keep stage)
rpardini Apr 6, 2026
e4d0a8a
click: add iso command back
rpardini Apr 6, 2026
89d0d1e
gha: switch to click cli
rpardini Apr 6, 2026
0febdd7
gha: release-publish
rpardini Apr 7, 2026
7a25f12
captain: rework `obtain_builder`
rpardini Apr 7, 2026
248e3d9
gha: separate build-dockerfile arch-based matrix job
rpardini Apr 7, 2026
ec5b6fd
captain: adapt to options moved to common
rpardini Apr 7, 2026
20c369d
captain: simplify Rich logging and trace handler
rpardini Apr 7, 2026
2ca8c92
gha: force tools to run native
rpardini Apr 7, 2026
0e3c2ba
docker/Dockerfile: consolidate single Dockerfile; split and balance l…
rpardini Apr 7, 2026
292c792
docker: rework re-launching inside docker & docker envs
rpardini Apr 7, 2026
ef546f8
docker/mkosi: get rid of tools tree; back to Debian's trixie system P…
rpardini Apr 7, 2026
1580472
captain: honor FORCE_COLOR=1 for internal logging
rpardini Apr 7, 2026
ae069e4
flavors: tighten semantics, refactor
rpardini Apr 8, 2026
f52f7b8
flavors: introduce common-acpi, move acpi/impi stuff there
rpardini Apr 8, 2026
6c552c7
click: introduce CliContext and reuse common options via @click.Group
rpardini Apr 8, 2026
20bc4b6
captain: make Rich richer
rpardini Apr 8, 2026
c58ec72
captain: introduce Trogon(/Textual) to auto-create a TUI from Click
rpardini Apr 8, 2026
416dd5c
gha: use envvars, not --options
rpardini Apr 8, 2026
30a7506
captain: even Richer Rich
rpardini Apr 8, 2026
6c28775
gha: don't upload .iso as part of initramfs artifact
rpardini Apr 8, 2026
67e916c
flavor/gha: add `trixie-rockchip64-vendor` and `trixie-armbian-rpi` f…
rpardini Apr 9, 2026
d1eb435
captain: tink-agent-setup Wants/After time-set.target
rpardini Apr 12, 2026
618a703
captain: move systemd enablement/disablement from postinst to systemd…
rpardini Apr 12, 2026
b0f0e9f
captain: loosen systemd-networkd-wait-online to accept any interface …
rpardini Apr 12, 2026
bf84283
captain: tink-agent-setup Wants/After time-sync.target
rpardini Apr 12, 2026
edd1812
kernel: bring back pre-Click kernel impl
rpardini Apr 13, 2026
e132a73
util: show `run()`'s env vars in a Rich Table
rpardini Apr 13, 2026
bee4570
docker: rework `run_in_builder()` with both `command_and_args` and `e…
rpardini Apr 13, 2026
67bba20
captain/cli: `--verbose` sets root level as well as current logger to…
rpardini Apr 13, 2026
9ff5668
cli: re-introduce `shell` subcommand
rpardini Apr 13, 2026
ed86ebc
kernel: rework with kernel's own `make bindeb-pkg` into a .deb output
rpardini Apr 13, 2026
4817ebf
flavor: introduce BaseFlavor::pre_mkosi_stage()
rpardini Apr 13, 2026
40f3ded
mkosi: show Rich.Syntax'ed mkosi.conf before running mkosi
rpardini Apr 13, 2026
15e16ed
captain: allow building amd64 kernel on arm64
rpardini Apr 13, 2026
c64aed0
common_debian: introduce `package_directories()` for mkosi's `Package…
rpardini Apr 13, 2026
972b42e
builder: Dockerfile: add cross-arch libssl-dev and native apt-utils
rpardini Apr 13, 2026
96fe04c
cli: expose `stages` (nee `_stages`) module
rpardini Apr 13, 2026
607aec0
flavors: introduce `trixie-slim` flavor, using captainos kernel
rpardini Apr 13, 2026
208f3e7
kernel: introduce `--config` for round-trip menuconfig / savedefconfig
rpardini Apr 15, 2026
00effad
kernel: 6.18.y.amd64: defconfig standard
rpardini Apr 15, 2026
9796af5
kernel: 6.18.y.amd64: `CONFIG_MODULE_COMPRESS_ZSTD=y`
rpardini Apr 15, 2026
b4084fc
kernel: 6.18.y.arm64: defconfig standard
rpardini Apr 13, 2026
99297d4
kernel: 6.18.y.arm64: defconfig: `CONFIG_MODULE_COMPRESS_ZSTD=y`
rpardini Apr 13, 2026
4f31773
gha: reintroduce kernel build jobs
rpardini Apr 13, 2026
d2f5187
gha: split matrix to add kernel job dependency for trixie-slim jobs
rpardini Apr 13, 2026
29bb4cf
gha: make `trixie-slim` the default flavor
rpardini Apr 13, 2026
6cce8c0
gha: don't push OCI images for pull request workflows
rpardini Apr 14, 2026
0f03d5d
cli: bring back `qemu` cli, with extra support for arm64 & UEFI/OVMF
rpardini Apr 15, 2026
5f6d681
kernel: hash defconfig + kernel.py code and use as cache key; clean o…
rpardini Apr 15, 2026
bf5a79e
gha: drop `DEFAULT_FLAVOR_ID`; make publish-combined a matrix (for bo…
rpardini Apr 16, 2026
ef25f4d
timesyncd: retry connections every 2s
rpardini Apr 16, 2026
59cdb97
util: debug: quote run() params with spaces or specials in them
rpardini Apr 16, 2026
1676b9b
flavors: flavor_packages() hierarchy, include_apt(), include_hwdb()
rpardini Apr 16, 2026
32088c9
flavors: introduce `trixie-genio` for Armbian's linux-image-edge-genio
rpardini Apr 17, 2026
0b2720f
gha: add trixie-genio build
rpardini Apr 17, 2026
03d5263
kernel: 6.18.y amd64: CONFIG_BE2NET=y (from #59)
rpardini Apr 20, 2026
ec91e46
docker: pass `--load` to `docker buildx build`
rpardini Apr 20, 2026
a332f20
release-publish: fix to use run_captain_in_builder()
rpardini Apr 21, 2026
91e1c3f
initramfs/iso: introduce content-hashing for idempotency
rpardini Apr 21, 2026
a6caaac
gha: TEMP: dispatch
rpardini Apr 21, 2026
d812313
gha: add GHA caches for initramfs and iso
rpardini Apr 21, 2026
5651602
tools: default to `native` mode (avoid pulling builder for cache hits)
rpardini Apr 21, 2026
b7bc3f0
publish: more determinism
rpardini Apr 21, 2026
7521fd7
flavors: common-debian: reduce postinst spurious debug logging
rpardini Apr 22, 2026
b8e00b0
captain: split mkosi.input from mkosi.output
rpardini Apr 22, 2026
8dbd438
gha: split mkosi.input from mkosi.output
rpardini Apr 22, 2026
a5cf820
publish: let flavor decide which files/dirs are published in OCI images
rpardini Apr 24, 2026
674a027
flavor: introduce BaseFlavor::post_mkosi_stage() and BaseFlavor::post…
rpardini Apr 26, 2026
a7a8e6c
trixie-armbian-rpi: implement list_arch_artifacts(), post_mkosi_stage…
rpardini Apr 26, 2026
cfb5d79
util: introduce symlink_relative()
rpardini Apr 27, 2026
2defa0a
trixie-armbian-rpi: include kernel8.img and initramfs8 symlinks
rpardini Apr 27, 2026
1227a6f
gha: CAPTAIN_VERBOSE=1
rpardini Apr 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Exclude build artifacts from Docker build context
mkosi.output/
mkosi.input/
mkosi.cache/
mkosi.tools/
mkosi.tools.manifest
Expand Down
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Match Ruff style in .editorconfig format
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.py]
indent_style = space
indent_size = 4
tab_width = 4
max_line_length = 100

[{*.sh,*.sh.j2}]
indent_style = space
indent_size = 4
tab_width = 4
max_line_length = 100
Loading
Loading