Skip to content

chore: inline build scripts into Justfile#4542

Open
dylanmtaylor wants to merge 2 commits intoublue-os:unstablefrom
dylanmtaylor:justfile-cleanup
Open

chore: inline build scripts into Justfile#4542
dylanmtaylor wants to merge 2 commits intoublue-os:unstablefrom
dylanmtaylor:justfile-cleanup

Conversation

@dylanmtaylor
Copy link
Copy Markdown

@dylanmtaylor dylanmtaylor commented Apr 3, 2026

Migrates bazzite's local build system towards the pattern used by aurora/bluefin.

Changes:

  • Inlines 8 shell scripts into Justfile recipes
  • Adds _resolve_image and _container_mgr as reusable just helpers
  • Resolves kernel version dynamically via skopeo inspect instead of relying on Containerfile defaults
  • Passes all build args explicitly to podman build
  • Updates ISO scripts to use just helpers instead of sourcing shell scripts

- Inline build-image.sh, container_mgr.sh, get-defaults.sh, run-image.sh,
  list-images.sh, cleanup-images.sh, cleanup-dir.sh, and sudoif.sh
- Add _resolve_image and _container_mgr as just recipes
- Resolve kernel version dynamically via skopeo inspect
- Pass all build args explicitly (no more Containerfile default reliance)
- Update ISO scripts to use just helpers instead of sourcing shell scripts
@codacy-production
Copy link
Copy Markdown

codacy-production bot commented Apr 3, 2026

Not up to standards ⛔

TIP This summary will be updated as you push new changes. Give us feedback

@dylanmtaylor
Copy link
Copy Markdown
Author

just --list --unsorted:

Available recipes:
    [Just]
    just-check                           # Check Just Syntax

    [Image]
    build target="" image=""             # Build image
    run-container target="" image=""     # Run Container [alias: run]

    [ISO]
    build-iso-release target="" image="" # Build ISO [alias: build-iso]
    build-iso-git target="" image=""     # Build ISO using ISO Builder Git Head
    run-iso target="" image=""           # Run ISO

    [Utility]
    list-images                          # List Images
    clean-images                         # Clean Images
    clean-isos                           # Clean ISOs

@KyleGospo KyleGospo force-pushed the unstable branch 4 times, most recently from 5776b9c to e054b24 Compare April 6, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant