Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add %I specifier for subimages #3182

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Conversation

NekkoDroid
Copy link
Contributor

@NekkoDroid NekkoDroid commented Nov 12, 2024

This expands to the name of the subimage (and an empty string for the main image) and is the same value that is used for Dependencies=. Also exports it as an env var to scripts for easier access.

Fixes: #2566

Copy link
Contributor

@behrmann behrmann left a comment

Choose a reason for hiding this comment

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

LGTM.

mkosi/resources/man/mkosi.1.md Outdated Show resolved Hide resolved
@NekkoDroid NekkoDroid force-pushed the image-identifier branch 2 times, most recently from 43e8c1e to e733072 Compare November 12, 2024 12:15
This expands to the name of the subimage (and an empty string for the
main image) and is the same value that is used for Dependencies=.

Fixes: systemd#2566
@DaanDeMeyer DaanDeMeyer merged commit 93dba66 into systemd:main Nov 14, 2024
32 of 36 checks passed
@NekkoDroid NekkoDroid deleted the image-identifier branch November 14, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Specifier for the image name (as used in Dependencies=)
3 participants