Skip to content

chore(snap): fix staged content, stage -> build packages#1839

Open
kubiko wants to merge 1 commit into
eza-community:mainfrom
kubiko:main
Open

chore(snap): fix staged content, stage -> build packages#1839
kubiko wants to merge 1 commit into
eza-community:mainfrom
kubiko:main

Conversation

@kubiko

@kubiko kubiko commented Jun 17, 2026

Copy link
Copy Markdown

Fixing the wrong use of stage-packages vs build-packages

stage-packages defines dependencies, which are bundled in the snap and required @runtime
build-packages defines build-time dependencies

Closer look at listed dependencies:

  • cmake: clear build-time dependency
  • libz is already in core24 base snap -> libz-dev is a build-time dependency

This change will drastically reduce the size of the produced snap package
~36MB -> <1MB (amd64 target)

`stage-packages` defines dependencies which are bundled in the snap and required @runtime
`build-packages` defines build time dependencies

- cmake: build time dependency
- libz is already in core24 base snap -> libz-dev is build time dependency

Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
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