remove --replacefile option in build-pkg-rpm 55/228555/1
authoryan11.meng <yan11.meng@samsung.com>
Tue, 24 Mar 2020 02:13:06 +0000 (11:13 +0900)
committeryan11.meng <yan11.meng@samsung.com>
Tue, 24 Mar 2020 02:13:06 +0000 (11:13 +0900)
Change-Id: I1401963e1aa1a864cd5962a77e80fb0cc256fe3b

build-pkg-rpm

index 82e046d..2c385cc 100644 (file)
@@ -109,7 +109,7 @@ pkg_cumulate_rpm() {
 }
 
 pkg_install_rpm() {
-    ( cd "$BUILD_ROOT" && chroot "$BUILD_ROOT" rpm --ignorearch --replacefiles --nodeps -U --oldpackage --ignoresize $RPMCHECKOPTS \
+    ( cd "$BUILD_ROOT" && chroot "$BUILD_ROOT" rpm --ignorearch --nodeps -U --oldpackage --ignoresize $RPMCHECKOPTS \
                $ADDITIONAL_PARAMS .init_b_cache/$PKG.rpm 2>&1 || \
          touch "$BUILD_ROOT"/exit ) | \
              grep -v "^warning:.*saved as.*rpmorig$"