feat(packaging): implement packaging (.tar.gz, .deb, .rpm), FHS logging, and container integration test matrix
This commit is contained in:
1 parent
6e18bdf7b7
commit
e1a99d7e6f
20 files changed
+789
-21
No files matched your search
@@ -14,7 +14,8 @@ class UpdaterConfig:
|
||||
non_interactive: bool = False,
|
||||
check_ac_power: bool = True,
|
||||
clean_after_update: bool = False,
|
||||
log_file: Optional[str] = "/var/log/linux-updater.log",
|
||||
log_dir: Optional[str] = "/var/log/linux-updater",
|
||||
log_file: Optional[str] = None,
|
||||
verbose: bool = False,
|
||||
) -> None:
|
||||
self.min_boot_mb = min_boot_mb
|
||||
@@ -25,6 +26,7 @@ class UpdaterConfig:
|
||||
self.non_interactive = non_interactive
|
||||
self.check_ac_power = check_ac_power
|
||||
self.clean_after_update = clean_after_update
|
||||
self.log_dir = log_dir
|
||||
self.log_file = log_file
|
||||
self.verbose = verbose
|
||||
|
||||
@@ -55,7 +57,8 @@ class UpdaterConfig:
|
||||
non_interactive=behavior.get("non_interactive", False),
|
||||
check_ac_power=behavior.get("check_ac_power", True),
|
||||
clean_after_update=behavior.get("clean_after_update", False),
|
||||
log_file=logging.get("log_file", "/var/log/linux-updater.log"),
|
||||
log_dir=logging.get("log_dir", "/var/log/linux-updater"),
|
||||
log_file=logging.get("log_file", None),
|
||||
verbose=logging.get("verbose", False),
|
||||
)
|
||||
|
||||
@@ -74,6 +77,7 @@ class UpdaterConfig:
|
||||
"clean_after_update": self.clean_after_update,
|
||||
},
|
||||
"logging": {
|
||||
"log_dir": self.log_dir,
|
||||
"log_file": self.log_file,
|
||||
"verbose": self.verbose,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user