ignore reorder packages list during cumulative build 12/284712/1
authorbiao716.wang <biao716.wang@samsung.com>
Thu, 24 Nov 2022 06:18:12 +0000 (15:18 +0900)
committerbiao716.wang <biao716.wang@samsung.com>
Thu, 24 Nov 2022 06:18:12 +0000 (15:18 +0900)
Change-Id: I105d8e1f2da1b03ec94c89a92437e066d147b9eb
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
build-pkg-rpm

index f3b79be..9f4b15d 100644 (file)
@@ -137,7 +137,7 @@ pkg_finalize_rpm() {
            rm -f "$BUILD_ROOT"/${CUMULATED_LIST[$num]}
            cp "$BUILD_ROOT"/.init_b_cache/rpms/$PKG "$BUILD_ROOT"/${CUMULATED_LIST[$num]} || cleanup_and_exit 1
        done > "$BUILD_ROOT"/.init_b_cache/manifest
-       ( cd "$BUILD_ROOT" && chroot "$BUILD_ROOT" rpm --ignorearch --nodeps -Uh --oldpackage --ignoresize --verbose $RPMCHECKOPTS \
+       ( cd "$BUILD_ROOT" && chroot "$BUILD_ROOT" rpm --ignorearch --noorder --nodeps -Uh --oldpackage --ignoresize --verbose $RPMCHECKOPTS \
                $ADDITIONAL_PARAMS .init_b_cache/manifest 2>&1 || touch "$BUILD_ROOT"/exit )
        for ((num=0; num<=cumulate; num++)) ; do
            rm -f "$BUILD_ROOT"/${CUMULATED_LIST[$num]}