aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rinse/rinse-posix-cpio-use.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/rinse/rinse-posix-cpio-use.patch')
-rw-r--r--testing/rinse/rinse-posix-cpio-use.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/rinse/rinse-posix-cpio-use.patch b/testing/rinse/rinse-posix-cpio-use.patch
new file mode 100644
index 0000000000..429410f981
--- /dev/null
+++ b/testing/rinse/rinse-posix-cpio-use.patch
@@ -0,0 +1,11 @@
+--- rinse-2.0.orig/bin/rinse
++++ rinse-2.0/bin/rinse
+@@ -1144,7 +1144,7 @@
+ # Run the unpacking command.
+ #
+ my $cmd =
+- "rpm2cpio $file | (cd $CONFIG{'directory'} ; cpio --extract --make-directories --no-absolute-filenames --preserve-modification-time) 2>/dev/null >/dev/null";
++ "rpm2cpio $file | (cd $CONFIG{'directory'} ; cpio -idm) 2>/dev/null >/dev/null";
+ if ( $file =~ /(fedora|centos|redhat|mandriva)-release-/ )
+ {
+ my $rpmname = basename($file);