Core26 checkbox-ce-oem snapcraft.yaml (New)#2573
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds Core26 snap packaging for checkbox-ce-oem under contrib/checkbox-ce-oem/checkbox-ce-oem-snap/, providing both a strict (UC26) and classic (26) build with the required snap hooks, launchers, and configuration defaults.
Changes:
- Added Core26 strict (UC26)
snapcraft.yamlplus hook/launcher scaffolding for running Checkbox CE OEM on Ubuntu Core. - Added Core26 classic
snapcraft.yamlplus hook/launcher scaffolding for running Checkbox CE OEM on classic systems. - Introduced series-specific default
config_varsand local build ignores for the new Core26 series.
Reviewed changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated 15 comments.
Show a summary per file
| File | Description |
|---|---|
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/snap/snapcraft.yaml | New strict Core26 snap recipe (content plugs, parts, layout). |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/snap/hooks/install | Initializes default snap configuration on install. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/snap/hooks/configure | Hook to refresh configuration into $SNAP_DATA/checkbox.conf. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/launchers/wrapper_local | Runtime environment wrapper for strict apps/hooks. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/launchers/test-runner | UC26 test-runner launcher configuration (test plan + filters). |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/launchers/shell-wrapper | Convenience shell entrypoint. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/launchers/configure | User-facing configure command for snap configuration variables. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/launchers/checkbox-cli-wrapper | Wrapper that delegates to checkbox-cli. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/config/config_vars | Default config variables shipped in the snap. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/.gitignore | Ignores local provider checkout and built .snap artifacts. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/snap/snapcraft.yaml | New classic Core26 snap recipe. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/snap/hooks/install | Initializes default snap configuration on install. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/snap/hooks/configure | Hook to refresh configuration into $SNAP_DATA/checkbox.conf. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/launchers/wrapper_local | Runtime environment wrapper for classic apps/hooks. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/launchers/test-runner | Classic 26 test-runner launcher configuration (test plan + filters). |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/launchers/shell-wrapper | Convenience shell entrypoint. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/launchers/configure | User-facing configure command for snap configuration variables. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/launchers/checkbox-cli-wrapper | Wrapper that delegates to checkbox-cli. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/config/config_vars | Default config variables shipped in the snap. |
| contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/.gitignore | Ignores local provider checkout and built .snap artifacts. |
Contributor
Author
|
hopefully nothing goes wrong lol |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds snapcraft.yaml files for both classic and strict checkbox-ce-oem snaps.
Resolved issues
There was no core26 version of checkbox-ce-oem
Documentation
The yamls are largely the same as the core24 versions with 2 exceptions:
was removed because this file doesn't exist.
The runner was changed to noble as well bc the jammy runner keeps failing at restarting systemd-resolved for some reason.
Tests
successful build https://github.com/canonical/checkbox/actions/runs/27590265612