Log result of 'rpm -Va'

This commit is contained in:
Mikhail Novosyolov 2019-03-14 19:34:25 +03:00
parent 2235c87e7d
commit b2c06f8622

View file

@ -122,3 +122,7 @@ process_packages
# verify that really all of them have been installed.
# Can't redirect to >/dev/null here, because errors are also in stdout.
chroot "$rpmRoot" /bin/rpm -q ${packagesList_orig}
# Perform a check
# TODO: we should fail if there are errors, but will just print to log for now
chroot "$rpmRoot" /bin/rpm -Va || :