aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-02 11:06:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-02 11:06:05 +0000
commit86f33b722713171a2395691dd996c4db436c91e8 (patch)
tree3b9d82be70ba890e44843a9d14114171a48c5da3
parent9e4e5afc17b25e126378140e89ee9d73f984c7b0 (diff)
downloadrpm-setup-86f33b722713171a2395691dd996c4db436c91e8.tar
rpm-setup-86f33b722713171a2395691dd996c4db436c91e8.tar.gz
rpm-setup-86f33b722713171a2395691dd996c4db436c91e8.tar.bz2
rpm-setup-86f33b722713171a2395691dd996c4db436c91e8.tar.xz
rpm-setup-86f33b722713171a2395691dd996c4db436c91e8.zip
tell rpmlib to open all indices before doing chroot.
fixes "db4 error"s like #31922, and may fix #31873
-rw-r--r--macros.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/macros.in b/macros.in
index 393e7ee..486c8a7 100644
--- a/macros.in
+++ b/macros.in
@@ -397,6 +397,10 @@ then %{_scrollkeeper_bin} -q || true ; fi \
# binary packages.
#
+# Open all indices before doing chroot(2).
+#
+%_openall_before_chroot 1
+
%_repackage_all_erasures 0
%_query_all_fmt %%{name}-%%{version}-%%{release}