diff options
author | Chris Evich <cevich@redhat.com> | 2019-09-24 13:22:13 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2019-09-26 12:36:33 -0400 |
commit | 8368a894ba23f4c1eb5bba398612c3b3dc45387e (patch) | |
tree | fbc3fc4f6702a5eac8d2fdecacbf7efcd54a28e9 /contrib/cirrus/check_image.sh | |
parent | b9e21af44fb085c899d1c94401f8b5ef0471199a (diff) | |
download | podman-8368a894ba23f4c1eb5bba398612c3b3dc45387e.tar.gz podman-8368a894ba23f4c1eb5bba398612c3b3dc45387e.tar.bz2 podman-8368a894ba23f4c1eb5bba398612c3b3dc45387e.zip |
Cirrus: Disable boottime Ubuntu package update
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/check_image.sh')
-rwxr-xr-x | contrib/cirrus/check_image.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/cirrus/check_image.sh b/contrib/cirrus/check_image.sh index 39f49d0a1..5423f67d6 100755 --- a/contrib/cirrus/check_image.sh +++ b/contrib/cirrus/check_image.sh @@ -56,6 +56,11 @@ then item_test "On ubuntu /usr/bin/runc is /usr/lib/cri-o-runc/sbin/runc" "$SAMESAME" -eq "0" || let "NFAILS+=1" fi +if [[ "$OS_RELEASE_ID" == "ubuntu" ]] +then + item_test "On ubuntu, no periodic apt crap is enabled" -z "$(egrep $PERIODIC_APT_RE /etc/apt/apt.conf.d/*)" +fi + echo "Checking items specific to ${PACKER_BUILDER_NAME}${BUILT_IMAGE_SUFFIX}" case "$PACKER_BUILDER_NAME" in xfedora*) |