Skip to content

Core26 checkbox-ce-oem snapcraft.yaml (New)#2573

Merged
tomli380576 merged 18 commits into
mainfrom
ce-oem-core26
Jun 16, 2026
Merged

Core26 checkbox-ce-oem snapcraft.yaml (New)#2573
tomli380576 merged 18 commits into
mainfrom
ce-oem-core26

Conversation

@tomli380576

@tomli380576 tomli380576 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

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:

override-prime: |
  craftctl default
  rm lib/systemd/system/alsa-utils.service

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yaml plus hook/launcher scaffolding for running Checkbox CE OEM on Ubuntu Core.
  • Added Core26 classic snapcraft.yaml plus hook/launcher scaffolding for running Checkbox CE OEM on classic systems.
  • Introduced series-specific default config_vars and 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.

Comment thread contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/snap/snapcraft.yaml Outdated
Comment thread contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/snap/hooks/configure Outdated
Comment thread contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_classic26/launchers/configure Outdated
Comment thread contrib/checkbox-ce-oem/checkbox-ce-oem-snap/series_uc26/launchers/wrapper_local Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.

@tomli380576 tomli380576 marked this pull request as ready for review June 16, 2026 03:00
@tomli380576 tomli380576 requested a review from Copilot June 16, 2026 03:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.

@baconYao baconYao left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@tomli380576

Copy link
Copy Markdown
Contributor Author

hopefully nothing goes wrong lol

@tomli380576 tomli380576 merged commit b335a33 into main Jun 16, 2026
49 of 57 checks passed
@tomli380576 tomli380576 deleted the ce-oem-core26 branch June 16, 2026 14:21
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.

3 participants