mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
mkosi: Make MinimumVersion= a git commit
With the latest mkosi it's possible for MinimumVersion= to be a git commit so let's start making use of that. This will make mkosi fail if it's executed within the systemd repository and the checked out commit is too old. Putting the mkosi commit sha in mkosi/mkosi.conf also allows retrieving it without having the full source tree available. We also make a bunch of improvements to the fetch-mkosi.py script.
This commit is contained in:
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
- uses: systemd/mkosi@a1a7e1f63e1726d88d5770fa06b29201d73e31a3
|
||||
- uses: systemd/mkosi@32105855f386c980069d134d1b0f8fea4db2129e
|
||||
|
||||
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
|
||||
# immediately, we remove the files in the background. However, we first move them to a different location
|
||||
|
||||
2
.github/workflows/mkosi.yml
vendored
2
.github/workflows/mkosi.yml
vendored
@@ -120,7 +120,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
- uses: systemd/mkosi@a1a7e1f63e1726d88d5770fa06b29201d73e31a3
|
||||
- uses: systemd/mkosi@32105855f386c980069d134d1b0f8fea4db2129e
|
||||
|
||||
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
|
||||
# immediately, we remove the files in the background. However, we first move them to a different location
|
||||
|
||||
Reference in New Issue
Block a user