aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rinse/rinse-posix-cpio-use.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2013-01-16 07:53:34 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2013-01-16 07:53:34 -0600
commitdf942413a42cc716d2f767beaee40d33ac084f34 (patch)
treec079c2e3e978303dbf2dfea7dc6c629fbc14ce46 /testing/rinse/rinse-posix-cpio-use.patch
parentb29fbf9758541919f206904d5366883a0dfa983d (diff)
downloadaports-df942413a42cc716d2f767beaee40d33ac084f34.tar.bz2
aports-df942413a42cc716d2f767beaee40d33ac084f34.tar.xz
testing/rinse: use posix CPIO invocation
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);