Skip to content

build: add tags for packaging - #172

Open
SafetyInObscurity wants to merge 1 commit into
CodeConstruct:mainfrom
SafetyInObscurity:tags
Open

build: add tags for packaging#172
SafetyInObscurity wants to merge 1 commit into
CodeConstruct:mainfrom
SafetyInObscurity:tags

Conversation

@SafetyInObscurity

@SafetyInObscurity SafetyInObscurity commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Add tags to mctp utilities, mctpd, and debug tools to allow packagers to easily select features. Tag debug tools as installable to allow them to be installed when needed by packagers.

@jk-ozlabs

Copy link
Copy Markdown
Member

The install_tags support looks interesting, but can you elaborate on the intended use-case here?

Most package-build infrastructure should be able to specify what upstream-package-installed binaries actually get included into the distribution package, so what do the tags give us above that?

Also, this will require a bump to the minimum meson version, I think.

@SafetyInObscurity

SafetyInObscurity commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

The install_tags support looks interesting, but can you elaborate on the intended use-case here?

Most package-build infrastructure should be able to specify what upstream-package-installed binaries actually get included into the distribution package, so what do the tags give us above that?

It simplifies the installation process for package-build infrastructure. Yocto and Buildroot for example have specific Meson integrations that automatically install binaries tagged with install : true. Without install_tag it's all or nothing, all installable binaries get added. Unwanted binaries have to be manually excluded or uninstalled, and absent binaries need to be added.

This project is broadly the mctp utils, mctpd, and the debug tools. The different groups don't depend on each other and any combination of them might be wanted, so I thought tagging them that way would be helpful.

It also helps anyone who wants to automatically install a subset of the binaries.

Also, this will require a bump to the minimum meson version, I think.

I agree, installation tags were added in 0.60.0, so the minimum version would need bumping.

Add tags to mctp utilities, mctpd, and debug tools to allow packagers to
easily select features. Tag debug tools as installable to allow them to
be installed when needed by packagers.

Bump minimum meson version to allow tagging.

Signed-off-by: James Lee <james@codeconstruct.com.au>
@SafetyInObscurity

Copy link
Copy Markdown
Contributor Author

Added the meson version bump to the PR

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.

2 participants