diff --git a/livecd-tools.spec b/livecd-tools.spec index 56beca5..ad93424 100644 --- a/livecd-tools.spec +++ b/livecd-tools.spec @@ -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 diff --git a/urpmi-bootstrapper.sh b/urpmi-bootstrapper.sh index 18a6b86..3ed6945 100755 --- a/urpmi-bootstrapper.sh +++ b/urpmi-bootstrapper.sh @@ -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(){