diff options
author | jingui.ren <jingui.ren@samsung.com> | 2018-09-26 10:39:43 +0800 |
---|---|---|
committer | jingui.ren <jingui.ren@samsung.com> | 2018-09-26 10:39:43 +0800 |
commit | 8bf0a333eab22d89df31001c832a32279c680807 (patch) | |
tree | fd3acadc78a9f2f50eec00a31814f9c9987c9d74 | |
parent | 7257c85f79a44cbe3db2a17c622d8b5a03e0c3a1 (diff) | |
download | build-8bf0a333eab22d89df31001c832a32279c680807.tar.gz build-8bf0a333eab22d89df31001c832a32279c680807.tar.bz2 build-8bf0a333eab22d89df31001c832a32279c680807.zip |
use --replacefiles to replace --force
Change-Id: I35068463206db50cc5009dbcaae481dd29102e99
-rw-r--r-- | build-pkg-rpm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-pkg-rpm b/build-pkg-rpm index a87fbbb..82e046d 100644 --- a/build-pkg-rpm +++ b/build-pkg-rpm @@ -109,7 +109,7 @@ pkg_cumulate_rpm() { } pkg_install_rpm() { - ( cd "$BUILD_ROOT" && chroot "$BUILD_ROOT" rpm --ignorearch --force --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$" |