Skip to content

release: fix draft asset path; firmware builder tools - #66

Merged
Rust-KVM merged 3 commits into
devfrom
claude/project-thread-9dvesw
Oct 17, 2026
Merged

Rust-KVM merged 3 commits into
devfrom
claude/project-thread-9dvesw

Conversation

@Rust-KVM

Copy link
Copy Markdown
Owner

Requested by 4c

Summary

Before: the first Release run for 0.1.0 built the application but failed before creating the draft (sha256sum: images: Is a directory), and the firmware build stopped at u-boot because the SDK scripts tried to apt install missing tools inside the container.

After: the draft job downloads the build artifact into release-assets/ and the firmware builder image ships the tools the SDK scripts expect, so both runs can complete.

How

  • release.yml: the artifact was downloaded into assets/, which the checkout already contains (assets/images); now release-assets/.
  • ci/firmware/Dockerfile: preinstall android-sdk-libsparse-utils (simg2img), swig, fdisk, btrfs-progs, python3-dev, python3-pyelftools. sd-fuse's check_and_install_package and build-uboot.sh otherwise run sudo apt install without apt lists.

Testing

  • Downloaded the failed run's artifact: it holds only the 4 expected files, confirming the directory came from the repo's assets/.

  • Firmware build with the new image gets past u-boot (Building uboot ok!) and is building the kernel.

  • No Rust changes.

  • cargo +nightly fmt --all

  • cargo +nightly clippy --workspace --release --all-targets -- -D warnings

  • cargo +nightly test --workspace

  • Frontend touched: trunk build --locked and wasm32 clippy in crates/rkvm-web. Not applicable.

  • Tested on an RK3588 device (describe below), or not applicable. Not applicable.

Checklist

  • No #[allow(...)] suppressions and no new unwrap() / expect() in production paths
  • Hot paths stay zero-copy; periodic loops use MissedTickBehavior::Delay
  • Shared protocol types live in rkvm-proto
  • RPC method set changed → app/tests/rpc_methods.txt updated
  • Module tree or build invariants changed → AGENTS.md updated

🤖 Generated with Claude Code

foxxcn and others added 3 commits October 18, 2026 00:07
sd-fuse runs `sudo apt install` for simg2img, swig, sfdisk and mkfs.btrfs
when they are missing, which fails in the container (no apt lists). Bake
them into the image instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
build-uboot.sh falls back to `sudo apt install python2-dev` when Python.h
is missing, which does not exist on jammy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The draft job downloaded into assets/, which the checkout already has
(assets/images), so `sha256sum *` hit a directory and the first v0.1.0
run failed before creating the draft.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Rust-KVM Rust-KVM self-assigned this Oct 17, 2026
@github-actions github-actions Bot added the ci CI workflows and checks label Oct 17, 2026
@Rust-KVM
Rust-KVM marked this pull request as ready for review October 17, 2026 16:22
@Rust-KVM
Rust-KVM merged commit efd7143 into dev Oct 17, 2026
8 checks passed
@Rust-KVM
Rust-KVM deleted the claude/project-thread-9dvesw branch October 17, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI workflows and checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants