]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
target_install_packages_nonfree_nonconcurrent: Use `apt-get'
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 7 Jan 2020 18:41:55 +0000 (18:41 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Tue, 14 Jan 2020 12:10:21 +0000 (12:10 +0000)
Not `apt', which does not have a stable CLI.

Latent bug introduced in
   d654f28bf0fefe0c3eb8c160c6666b91e13326b8
   Provide target_install_packages_nonfree_nonconcurrent

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest/TestSupport.pm

index 63087260b82076c9ffa092d14bf6cc39f45ba6f3..f49ed5298d1e25b2da3d2f7a5e3caf861400f48f 100644 (file)
@@ -635,12 +635,12 @@ sub target_install_packages_nonfree_nonconcurrent ($@) {
     my $xsuites= 'contrib non-free';
     target_cmd_root($ho, <<END, 30);
     perl -i~ -pe 'next unless m/^deb/; s{ main\$}{\$& $xsuites};' $slist
-    apt update
+    apt-get update
 END
     target_run_pkgmanager_install($ho,\@packages);
     target_cmd_root($ho, <<END, 30);
     mv $slist~ $slist
-    apt update
+    apt-get update
 END
 }