-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issuegen: set output paths based on util-linux version
If the util-linux version installed is greater than or equal to 2.35, when support for /run/issue.d was added, set the the output paths so that /run/issue.d is utilized. The version check for util-linux is done by using `rpm` to check the version of an installed util-linux RPM package. For non-RPM-based systems, the output paths will take a default value of the private directory location /run/console-login-helper-messages/issue.d. `rpm` is chosen to perform the check as the only kown consumers of console-login-helper-messages are RPM-based distributions, however support could always later be added for Debian-based or other Linux distributions.
- Loading branch information
Robert Fairley
committed
May 19, 2020
1 parent
9a82e15
commit abfced0
Showing
1 changed file
with
28 additions
and
6 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