Skip to content

Commit c407353

Browse files
committed
Recognize Debian 13
1 parent a758ae0 commit c407353

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

util/pkg/distributions/identify.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ func FindDistribution(rootfs string) (Distribution, error) {
5858
return DistributionDebian11, nil
5959
case "debian-12":
6060
return DistributionDebian12, nil
61+
case "debian-13":
62+
return DistributionDebian13, nil
6163
case "fedora-41":
6264
return DistributionFedora41, nil
6365
case "ubuntu-20.04":

util/pkg/distributions/identify_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ func TestFindDistribution(t *testing.T) {
8585
expected: DistributionDebian12,
8686
},
8787
{
88+
rootfs: "debian13",
89+
err: nil,
90+
expected: DistributionDebian13,
91+
}, {
8892
rootfs: "flatcar",
8993
err: nil,
9094
expected: DistributionFlatcar,

0 commit comments

Comments
 (0)