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

refactor: maintain dracut version in dracut.sh #2500

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 16, 2023

  1. refactor: maintain dracut version in dracut.sh

    Maintain the dracut version directly in `dracut.sh` and call
    `dracut.sh --version` to get the version number. The version can be
    changed with a simple sed command to a new version (for releases or for
    distributors that want to include the packaging version):
    
    ```
    sed -i "s/^DRACUT_VERSION=.*$/DRACUT_VERSION=\"${NEW_VERSION}\"/" dracut.sh
    ```
    
    Fixes dracutdevs#2169
    Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
    bdrung committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    3369b60 View commit details
    Browse the repository at this point in the history