Change-Id: I1b86904ba53853ca90436647f90d539a17134e7b
}
pkg_install_rpm() {
- ( cd "$BUILD_ROOT" && chroot "$BUILD_ROOT" rpm --ignorearch --nodeps -U --oldpackage --ignoresize $RPMCHECKOPTS \
+ ( cd "$BUILD_ROOT" && chroot "$BUILD_ROOT" rpm --ignorearch --replacefiles --nodeps -U --oldpackage --ignoresize $RPMCHECKOPTS \
$ADDITIONAL_PARAMS .init_b_cache/$PKG.rpm 2>&1 || \
touch "$BUILD_ROOT"/exit ) | \
grep -v "^warning:.*saved as.*rpmorig$"