]> xenbits.xensource.com Git - osstest.git/commitdiff
ts-xen-build-prep: Only force git protocol v2 on buster
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 4 Oct 2023 15:17:11 +0000 (16:17 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Thu, 28 Mar 2024 16:51:52 +0000 (16:51 +0000)
Newer version of Debian and thus git would use this automatically, no
need to force it.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Osstest/TestSupport.pm

index f0e087aa5445f3d8e8033e8b83a7f2ae5e23eb2b..0dded9b2d8a4b9fc0ca4ac079f127cd1be1f3dbc 100644 (file)
@@ -3257,7 +3257,7 @@ END
 
     # Adding mandadory use of Git protocol v2
     # necessary on buster when building QEMU v8.1
-    $gitcfg .= <<END;
+    $gitcfg .= <<END if $ho->{Suite} =~ m/buster/;
 [protocol]
        version = 2
 END