-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apport: set the APPORT_DATA_DIR variable in snap yaml definition
The APPORT_DATA_DIR variable must be set before the apport Python module is imported. This was no longer true because of this import: from subiquity.server.controllers.filesystem import set_user_error_reportable Instead of trying to call setup_environment very early; make sure that the variable is set by snapd before Subiquity actually starts. LP: #2076233 Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
- Loading branch information
Showing
3 changed files
with
9 additions
and
4 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