@@ -9,7 +9,7 @@ topdir="${topdir%/*/*}"
99readonly VENDOR=altlinux
1010readonly ARCH=x86_64
1111readonly IMAGE=alt:sisyphus
12- readonly KERNEL_FLAVOR=-std-def
12+ readonly KERNEL_FLAVOR=-latest
1313
1414. " $topdir /testing/packages-$VENDOR "
1515
@@ -34,6 +34,8 @@ readonly statusdir="$topdir/testing/status"
3434readonly top_workdir=" $topdir /$workdir "
3535readonly top_logdir=" $topdir /$logdir "
3636
37+ apt_args=" -y -qq -o=APT::Install::Virtual=true -o=APT::Install::VirtualVersion=true"
38+
3739prepare_testsuite
3840
3941if [ ! -d " $top_workdir /.ssh" ]; then
@@ -49,8 +51,8 @@ for step in "$@"; do
4951 cat_exec " $top_workdir /run.sh" << -EOF
5052 #!/bin/bash -efux
5153
52- apt-get -y -qq update
53- apt-get -y -qq install $MAKE_INITRD_PACKAGES_DEVEL
54+ apt-get $apt_args update
55+ apt-get $apt_args install $MAKE_INITRD_PACKAGES_DEVEL
5456
5557 cd "$builddir "
5658 rc=0
@@ -94,9 +96,9 @@ for step in "$@"; do
9496 -f - << -EOF
9597 FROM $IMAGE
9698 RUN rpm -ql filesystem | xargs -r mkdir -p
97- RUN apt-get -y -qq update
98- RUN apt-get -y -qq install $SYSIMAGE_PACKAGES
99- RUN apt-get -y -qq clean
99+ RUN apt-get $apt_args update
100+ RUN apt-get $apt_args install $SYSIMAGE_PACKAGES
101+ RUN apt-get $apt_args clean
100102 RUN \
101103 find /usr/share/license /usr/share/license-exception -delete; \
102104 find /usr/share/locale/ -mindepth 3 -maxdepth 3 -type f -name '*.mo' -delete; \
@@ -180,9 +182,9 @@ for step in "$@"; do
180182 MKINITRD=$builddir /.build/dest/usr/sbin/mkinitrd-make-initrd
181183 EOF1
182184
183- apt-get -y -qq update
184- apt-get -y -qq install $MAKE_INITRD_PACKAGES
185- apt-get -y -qq install $KERNEL_PACKAGES
185+ apt-get $apt_args update
186+ apt-get $apt_args install $MAKE_INITRD_PACKAGES
187+ apt-get $apt_args install $KERNEL_PACKAGES
186188
187189 cp -L /boot/vmlinuz $builddir /$workdir /sshfsroot-vmlinuz
188190 cp -L /boot/initrd.img $builddir /$workdir /sshfsroot-initrd.img
@@ -201,9 +203,9 @@ for step in "$@"; do
201203
202204 cat > " $top_workdir /Dockerfile" << -EOF
203205 FROM $IMAGE
204- RUN apt-get -y -qq update
205- RUN apt-get -y -qq install $SSH_SERVER_PACKAGES
206- RUN apt-get -y -qq clean
206+ RUN apt-get $apt_args update
207+ RUN apt-get $apt_args install $SSH_SERVER_PACKAGES
208+ RUN apt-get $apt_args clean
207209
208210 ADD .ssh/id_rsa.pub /etc/openssh/authorized_keys/sftp
209211
0 commit comments