forked from Azure/azure-vm-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(udev): drop rules.in template in favor of complete rules file
Instead of generating the rules from a template with variables, replace @AZURE_NVME_ID_INSTALL_DIR@ with a hardcoded /usr/sbin path. To ensure the path is correct during a build, replace the string as needed. This allows the rules to be copied in the majority of cases while still ensuring the correct rules file is produced during a build. Signed-off-by: Chris Patterson <[email protected]>
- Loading branch information
Showing
3 changed files
with
7 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,5 +76,4 @@ obj-* | |
/build/ | ||
/debian/ | ||
/src/version.h | ||
/udev/80-azure-nvme.rules | ||
/out/ |
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