Skip to content

Commit 6733ab9

Browse files
authored
[xaprepare] Add support for newer SparkyLinux (#8684)
SparkyLinux is a Debian-based distribution that's 100% compatible with its upstream, but it is rebranded and follows its own versioning scheme. Add support for SparkLinux detection so that `xaprepare` can properly detect the required packages. TODO: the whole Debian detection code has to be refreshed at some point.
1 parent 6d33103 commit 6733ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/xaprepare/xaprepare/ConfigAndData/Dependencies/Linux.Debian.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected override void InitializeDependencies ()
5353
if (DebianRelease.Major >= 10 || (IsTesting && String.Compare ("buster", CodeName, StringComparison.OrdinalIgnoreCase) == 0)) {
5454
if (Context.IsRunningOnHostedAzureAgent)
5555
Dependencies.AddRange (packages10AndNewerBuildBots);
56-
if (DebianRelease.Major >= 13) {
56+
if (DebianRelease.Major >= 13 || (String.Compare ("SparkyLinux", Name, StringComparison.OrdinalIgnoreCase) == 0 && DebianRelease.Major >= 7)) {
5757
Dependencies.AddRange (packagesTrixieAndLater);
5858
} else {
5959
Dependencies.AddRange (packagesPreTrixie);

0 commit comments

Comments
 (0)