
This commit does several things at once: - Drop the usage of bdebstrap, it doesnt seem to be available as a Debian package going forward, and it makes the start of building unit tests easier. - Use the "unshare" mode by default. This allows us to build a rootfs as a regular user and doesnt create device files. Which allows us to to drop some workarounds. - Add debian/trixie support. This was created by doing a straight copy of debian/bookworm. Story: 2010867 Task: 48556 Test Plan PASS Create ostree branch Change-Id: Idd38c6417769296d7ab4d6640624a18d5de74da4 Signed-off-by: Charles Short <charles.short@windriver.com>
33 lines
571 B
Python
33 lines
571 B
Python
"""
|
|
Copyright (c) 2023 Wind River Systems, Inc.
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
"""
|
|
|
|
|
|
class AptError(Exception):
|
|
"""Base class for apt-ostree exceptions."""
|
|
|
|
def __init__(self, message=None):
|
|
super(AptError, self).__init__(message)
|
|
self.message = message
|
|
|
|
def __str__(self):
|
|
return self.message or ""
|
|
|
|
|
|
class ConfigError(AptError):
|
|
"""Configuration file error."""
|
|
pass
|
|
|
|
|
|
class CommandError(AptError):
|
|
"""Command execution error."""
|
|
pass
|
|
|
|
|
|
class PackageError(AptError):
|
|
"""Package operation error."""
|
|
pass
|