mirror of
https://salsa.debian.org/kernel-team/linux.git
synced 2026-01-16 23:12:23 +00:00
Currently the Debian-specific policy for the package's revision and ABI name are in Python code. Any downstream distributions that deviate from Debian policy or use different suite names may need to patch the code. Replace this policy with per-release configuration: - debian_linux.config_v2: Add ConfigDebianrelease dataclass with name_regex, abi_version_full, abi_suffix, and revision_regex properties. Add a debianrelease property (list of ConfigDebianrelease) in Config, and a corresponding debianreleases property in ConfigMerged. - debian_linux.debian: Delete extra revision attributes from LinuxVersion. - debian_linux.test_debian: Stop testing extra revision attributes on LinuxVersion. - d/b/stable-update: Check for '~exp' in Debian revision instead of using linux_revision_experimental attribute. - d/b/gencontrol.py: Find the matching release and use its properties to generate the ABI name and validate the revision. - d/c/defines.toml: Define UNRELEASED, experimental, unstable, trixie/trixie-security, and bookworm-backports releases, and default rules for any other suite. Specify the same behaviour as before for ABI name. Specify slightly stricter revision validation, since we know what the target Debian release number should be if included. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| abi.py | ||
| config.py | ||
| config_v2.py | ||
| dataclasses_deb822.py | ||
| dataclasses_extra.py | ||
| debian.py | ||
| firmware.py | ||
| gencontrol.py | ||
| kconfig.py | ||
| test_debian.py | ||
| utils.py | ||