Verify that all packages have been installed

This commit is contained in:
Mikhail Novosyolov 2019-03-14 19:29:43 +03:00
parent e88b1f92d8
commit 2235c87e7d
2 changed files with 6 additions and 1 deletions

View file

@ -3,7 +3,7 @@
Summary: Tools for building live CDs
Name: livecd-tools
Version: 21.1
Release: 51
Release: 52
Epoch: 1
License: GPLv2+
Group: System/Base

View file

@ -117,3 +117,8 @@ fi
packagesList="${packagesList_orig}"
EXIT=1
process_packages
# Now, when packages have been installed successfully,
# 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}