-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support kargs.d directories for default kargs
Add the following config directories for setting default kernel arguments: /etc/ostree/kargs.d (host config) /usr/lib/ostree-boot/kargs.d (base config) These directories contain files whose contents consist of a karg of the form: KEY=VALUE KEY=VALUE2 Where KEY is a kernel argument and VALUE is a comma-separated list of arguments passed to the karg. Files in the kargs.d directories holding karg KEY must be named KEY. Multiple lines of KEY= may be specified in a single file. A flag `ostree-kargs-generated-from-config` is written to the ostree BLS fragment to indicate that the kargs of that BLS fragment were generated by ostree from the kargs.d directories. If the flag is set to true, then the next deployment's kargs will be sourced from the kargs.d directories (previously, the kargs were simply copied from the previous deployment). If a kargs override is given (e.g. `ostree admin dpeploy --karg-append`), then the flag is set to false, and future deployments will have kargs copied from the previous deployment. Closes: #479
- Loading branch information
Robert Fairley
committed
May 10, 2019
1 parent
82eccad
commit 483d369
Showing
6 changed files
with
408 additions
and
14 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
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
Oops, something went wrong.