mirror of
https://abf.rosa.ru/djam/livecd-tools.git
synced 2025-02-23 07:33:00 +00:00
Fail the build if RPM DB is corrupted (that is common for RPM5)
This commit is contained in:
parent
d492e85ddd
commit
f2c9630e67
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
Summary: Tools for building live CDs
|
||||
Name: livecd-tools
|
||||
Version: 21.1
|
||||
Release: 64
|
||||
Release: 65
|
||||
Epoch: 1
|
||||
License: GPLv2+
|
||||
Group: System/Base
|
||||
|
|
|
@ -43,8 +43,8 @@ diagnostics(){
|
|||
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 || :
|
||||
# Fail the build if RPM DB is corrupted (that is common for RPM5)
|
||||
chroot "$rpmRoot" /bin/rpm -Va
|
||||
}
|
||||
|
||||
process_packages(){
|
||||
|
|
Loading…
Add table
Reference in a new issue