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

feat(Makefile): allow setting dracut version via environment variables #2488

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

bdrung
Copy link
Contributor

@bdrung bdrung commented Aug 19, 2023

Changes

To ease packaging dracut for Debian/Ubuntu, please support setting the dracut main/full version via environment variables:

$ DRACUT_MAIN_VERSION=007
$ export DRACUT_FULL_VERSION=007-bond
$ make dracut-version.sh
$ grep VERSION dracut-version.sh
DRACUT_VERSION=007-bond

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

To ease packaging dracut for Debian/Ubuntu, please support setting the
dracut main/full version via environment variables:

```
$ DRACUT_MAIN_VERSION=007
$ export DRACUT_FULL_VERSION=007-bond
$ make dracut-version.sh
$ grep VERSION dracut-version.sh
DRACUT_VERSION=007-bond
```

Signed-off-by: Benjamin Drung <[email protected]>
Copy link
Member

@aafeijoo-suse aafeijoo-suse left a comment

Choose a reason for hiding this comment

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

I'm not sure if this is the best approach, but it's better than #2450

Copy link
Collaborator

@LaszloGombos LaszloGombos left a comment

Choose a reason for hiding this comment

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

I am not against this PR, but this PR does not resolve #2169 .

@aafeijoo-suse
Copy link
Member

I am not against this PR, but this PR does not resolve #2169 .

Right.

@aafeijoo-suse aafeijoo-suse merged commit 31c4d28 into dracutdevs:master Aug 21, 2023
83 of 92 checks passed
@bdrung bdrung deleted the dracut-version branch August 21, 2023 13:09
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