-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rauc: prepare support for locating the config in /usr or /run
RAUC PR #1557[1] extends RAUC to look up its system.conf in /etc/rauc, /run/rauc or /usr/lib/rauc in that order. The RAUC recipe understandably hardcodes the assumption that the system.conf must be supplied and that it must be located in /etc/rauc. To make the recipe more useful with RAUC once #1557 is merged, let's do two tiny adjustments: - Add RAUC_CONF_DIR, which default to /etc/rauc, but can be set by the user to be /usr/lib/rauc instead for hermetic-usr use cases. - Add RAUC_CONF_INSTALL, which allows skipping installation of the config altogether. This is useful if the RAUC config is always dynamically generated in /run/rauc and having an always masked /usr/lib/rauc/system.conf would just be confusing. To avoid breaking existing users, the defaults are chosen, so the system.conf continues to be installed in /etc. This PR does not break anything for current RAUC versions, so it should be fine to merge it independent of the update to a future RAUC release that integrates the upstream PR. [1]: rauc/rauc#1557 Signed-off-by: Ahmad Fatoum <[email protected]>
- Loading branch information
Showing
3 changed files
with
22 additions
and
15 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