|
|
5523e9 |
--- rpm-4.11.3/doc/rpm.8.old 2018-05-25 09:24:59.329885663 +0200
|
|
|
5523e9 |
+++ rpm-4.11.3/doc/rpm.8 2018-05-25 09:25:19.598901802 +0200
|
|
|
5523e9 |
@@ -76,7 +76,7 @@
|
|
|
5523e9 |
[\fB--nodigest\fR] [\fB--nosignature\fR]
|
|
|
5523e9 |
[\fB--nolinkto\fR] [\fB--nofiledigest\fR] [\fB--nosize\fR] [\fB--nouser\fR]
|
|
|
5523e9 |
[\fB--nogroup\fR] [\fB--nomtime\fR] [\fB--nomode\fR] [\fB--nordev\fR]
|
|
|
5523e9 |
- [\fB--nocaps\fR] [\fB--noconfig\fR]
|
|
|
5523e9 |
+ [\fB--nocaps\fR] [\fB--noconfig\fR] [\fB--noghost\fR]
|
|
|
5523e9 |
|
|
|
5523e9 |
.SS "install-options"
|
|
|
5523e9 |
.PP
|
|
|
5523e9 |
@@ -683,6 +683,9 @@
|
|
|
5523e9 |
\fB--noconfig\fR
|
|
|
5523e9 |
Don't verify config files.
|
|
|
5523e9 |
.TP
|
|
|
5523e9 |
+\fB--noghost\fR
|
|
|
5523e9 |
+Don't display ghost files.
|
|
|
5523e9 |
+.TP
|
|
|
5523e9 |
\fB--noscripts\fR
|
|
|
5523e9 |
Don't execute the \fB%verifyscript\fR scriptlet (if any).
|
|
|
5523e9 |
.TP
|
|
|
5523e9 |
--- rpm-4.11.3/lib/poptQV.c.old 2018-05-10 12:29:26.716304826 +0200
|
|
|
5523e9 |
+++ rpm-4.11.3/lib/poptQV.c 2018-05-11 14:08:36.389255974 +0200
|
|
|
5523e9 |
@@ -182,7 +182,7 @@
|
|
|
5523e9 |
N_("list files in package"), NULL },
|
|
|
5523e9 |
|
|
|
5523e9 |
/* Duplicate file attr flags from packages into command line options. */
|
|
|
5523e9 |
- { "noghost", '\0', POPT_BIT_CLR|POPT_ARGFLAG_DOC_HIDDEN,
|
|
|
5523e9 |
+ { "noghost", '\0', POPT_BIT_SET|POPT_ARGFLAG_DOC_HIDDEN,
|
|
|
5523e9 |
&rpmQVKArgs.qva_fflags, RPMFILE_GHOST,
|
|
|
5523e9 |
N_("skip %%ghost files"), NULL },
|
|
|
5523e9 |
{ "noconfig", '\0', POPT_BIT_SET|POPT_ARGFLAG_DOC_HIDDEN,
|
|
|
5523e9 |
--- rpm-4.11.3/lib/verify.c.old 2018-05-10 12:29:26.715304826 +0200
|
|
|
5523e9 |
+++ rpm-4.11.3/lib/verify.c 2018-05-11 14:17:16.474959233 +0200
|
|
|
5523e9 |
@@ -453,6 +453,11 @@
|
|
|
5523e9 |
rpmlog(RPMLOG_NOTICE, "%s\n", buf);
|
|
|
5523e9 |
buf = _free(buf);
|
|
|
5523e9 |
}
|
|
|
5523e9 |
+
|
|
|
5523e9 |
+ /* Filter out missing %ghost/%missingok errors from final result */
|
|
|
5523e9 |
+ if (fileAttrs & (RPMFILE_MISSINGOK|RPMFILE_GHOST))
|
|
|
5523e9 |
+ verifyResult &= ~RPMVERIFY_LSTATFAIL;
|
|
|
5523e9 |
+
|
|
|
5523e9 |
}
|
|
|
5523e9 |
rpmfiFree(fi);
|
|
|
5523e9 |
|