-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4950 from jlebon/pr/kernel-install
core: also wrap `kernel-install` for scriptlets
- Loading branch information
Showing
3 changed files
with
58 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/bash | ||
# Used in the container layering path to make kernel replacements Just Work | ||
# without having to enable cliwrap first. If cliwrap is enabled, then this will | ||
# technically override the cliwrap wrapper, but the script is exactly the same. | ||
# This wrapper is technically also installed when doing client-side layering, | ||
# but we already ignore kernel scriptlets there anyway. | ||
# See also https://github.com/coreos/rpm-ostree/issues/4949 | ||
|
||
exec /usr/bin/rpm-ostree cliwrap kernel-install "$@" |