mirror of
https://abf.rosa.ru/djam/livecd-tools.git
synced 2025-02-23 15:42:58 +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
|
Summary: Tools for building live CDs
|
||||||
Name: livecd-tools
|
Name: livecd-tools
|
||||||
Version: 21.1
|
Version: 21.1
|
||||||
Release: 64
|
Release: 65
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
|
|
|
@ -43,8 +43,8 @@ diagnostics(){
|
||||||
chroot "$rpmRoot" /bin/rpm -q ${packagesList_orig}
|
chroot "$rpmRoot" /bin/rpm -q ${packagesList_orig}
|
||||||
|
|
||||||
# Perform a check
|
# Perform a check
|
||||||
# TODO: we should fail if there are errors, but will just print to log for now
|
# Fail the build if RPM DB is corrupted (that is common for RPM5)
|
||||||
chroot "$rpmRoot" /bin/rpm -Va || :
|
chroot "$rpmRoot" /bin/rpm -Va
|
||||||
}
|
}
|
||||||
|
|
||||||
process_packages(){
|
process_packages(){
|
||||||
|
|
Loading…
Add table
Reference in a new issue