fixed: ignore architecture so you can install pkgs from another arch
authorMartin Mohring <martin.mohring@5etech.eu>
Thu, 15 May 2008 08:10:07 +0000 (08:10 +0000)
committerMartin Mohring <martin.mohring@5etech.eu>
Thu, 15 May 2008 08:10:07 +0000 (08:10 +0000)
fixed: this can be used for cross-builds

init_buildsystem

index e15ba72..9c36137 100755 (executable)
@@ -591,7 +591,7 @@ for PKG in $PACKAGES_TO_INSTALL_FIRST RUN_LDCONFIG $PACKAGES_TO_INSTALL ; do
        rm -f $BUILD_ROOT/.init_b_cache/$PKG.rpm
        cp $BUILD_ROOT/.init_b_cache/rpms/$PKG.rpm $BUILD_ROOT/.init_b_cache/$PKG.rpm || cleanup_and_exit 1
     fi
-    ( chroot $BUILD_ROOT rpm --nodeps -U --oldpackage --ignoresize $RPMCHECKOPTS \
+    ( 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$"