Skip to content

Comments

build: remove GPGME and btrfs dependencies#25

Merged
emirhandurmus merged 1 commit intomainfrom
release/1.4
Dec 1, 2025
Merged

build: remove GPGME and btrfs dependencies#25
emirhandurmus merged 1 commit intomainfrom
release/1.4

Conversation

@emirhandurmus
Copy link
Contributor

Remove GPGME and btrfs build dependencies since potctl doesn't use signature verification or storage drivers. Add build tags to exclude these features, enabling static linking without external dependencies.

  • Enable CGO_ENABLED=1 for containers/image
  • Add containers_image_openpgp and exclude_graphdriver_btrfs build tags
  • Remove verify-gpgme dependency from Makefile
  • Make GPGME optional in bootstrap script
  • Remove libgpgme-dev from CI dependencies

Fixes: GPGME undefined errors and btrfs header missing errors

Remove GPGME and btrfs build dependencies since potctl doesn't use
signature verification or storage drivers. Add build tags to exclude
these features, enabling static linking without external dependencies.

- Enable CGO_ENABLED=1 for containers/image
- Add containers_image_openpgp and exclude_graphdriver_btrfs build tags
- Remove verify-gpgme dependency from Makefile
- Make GPGME optional in bootstrap script
- Remove libgpgme-dev from CI dependencies

Fixes: GPGME undefined errors and btrfs header missing errors
@emirhandurmus emirhandurmus merged commit b83f20f into main Dec 1, 2025
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