SHA256
1
0
forked from pool/busybox

- cpio-long-opt.patch: add more long options to cpio for IBS/unrpm

OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=80
This commit is contained in:
Thorsten Kukuk 2020-12-07 10:52:11 +00:00 committed by Git OBS Bridge
parent 5689b35720
commit ca2cb2b5de
3 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 7 10:25:00 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
- cpio-long-opt.patch: add more long options to cpio for IBS/unrpm
-------------------------------------------------------------------
Fri Nov 20 08:59:57 UTC 2020 - Ludwig Nussel <lnussel@suse.de>

View File

@ -28,6 +28,7 @@ Source1: BusyBox.1
Source2: busybox.config
Source3: busybox-static.config
Source4: man.conf
Patch0: cpio-long-opt.patch
# other patches
Patch100: busybox.install.patch
Provides: useradd_or_adduser_dep
@ -71,6 +72,7 @@ PATH=/usr/share/busybox:$PATH SKIP_KNOWN_BUGS=1 ./runtest
%prep
%setup -q
%patch0 -p1
%patch100 -p0
cp -a %{SOURCE1} docs/
find "(" -name CVS -o -name .cvsignore -o -name .svn -o -name .gitignore ")" \

13
cpio-long-opt.patch Normal file
View File

@ -0,0 +1,13 @@
diff -urN busybox-1.32.0.orig/archival/cpio.c busybox-1.32.0/archival/cpio.c
--- busybox-1.32.0.orig/archival/cpio.c 2020-06-26 20:47:44.000000000 +0200
+++ busybox-1.32.0/archival/cpio.c 2020-12-07 11:23:44.913676627 +0100
@@ -367,6 +367,9 @@
const char *long_opts =
"extract\0" No_argument "i"
"list\0" No_argument "t"
+ "unconditional\0" No_argument "u"
+ "preserve-modification-time\0" No_argument "m"
+ "make-directories\0" No_argument "d"
#if ENABLE_FEATURE_CPIO_O
"create\0" No_argument "o"
"format\0" Required_argument "H"