feat(packaging): implement packaging (.tar.gz, .deb, .rpm), FHS logging, and container integration test matrix

This commit is contained in:
soda64 committed 2026-10-02 12:33:37 +02:00
1 parent 6e18bdf7b7
commit e1a99d7e6f
20 files changed
+789 -21

No files matched your search

+5
View File
@@ -75,18 +75,23 @@ class AptManager(PackageManager):
def release_upgrade(
self,
target_release: Optional[str] = None,
dry_run: bool = False,
non_interactive: bool = False,
) -> CommandResult:
# Check if do-release-upgrade is available (Ubuntu)
import shutil
if shutil.which("do-release-upgrade"):
cmd = ["do-release-upgrade"]
if dry_run:
cmd.append("-d")
if non_interactive:
cmd.extend(["-f", "DistUpgradeViewNonInteractive"])
return self.runner.run(cmd, env=self._env(non_interactive))
# Standard Debian dist-upgrade
cmd = ["apt-get", "dist-upgrade", "-y"]
if dry_run:
cmd.append("-s")
if non_interactive:
cmd.extend([
'-o', 'Dpkg::Options::=--force-confdef',