mirror of
https://git.yoctoproject.org/poky
synced 2026-05-14 11:27:54 +02:00
The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 994e43acc67efeb33d859be071609daa844e9b77) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
This patch is used to create a new sub package libpam-xtests to do more checks.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Kang Kai <kai.kang@windriver.com>
|
|
Index: Linux-PAM-1.3.0/xtests/Makefile.am
|
|
===================================================================
|
|
--- Linux-PAM-1.3.0.orig/xtests/Makefile.am
|
|
+++ Linux-PAM-1.3.0/xtests/Makefile.am
|
|
@@ -7,7 +7,7 @@ AM_CFLAGS = -DLIBPAM_COMPILE -I$(top_src
|
|
LDADD = $(top_builddir)/libpam/libpam.la \
|
|
$(top_builddir)/libpam_misc/libpam_misc.la
|
|
|
|
-CLEANFILES = *~ $(XTESTS)
|
|
+CLEANFILES = *~
|
|
|
|
EXTRA_DIST = run-xtests.sh tst-pam_dispatch1.pamd tst-pam_dispatch2.pamd \
|
|
tst-pam_dispatch3.pamd tst-pam_dispatch4.pamd \
|
|
@@ -51,3 +51,18 @@ EXTRA_PROGRAMS = $(XTESTS)
|
|
|
|
xtests: $(XTESTS) run-xtests.sh
|
|
"$(srcdir)"/run-xtests.sh "$(srcdir)" ${XTESTS} ${NOSRCTESTS}
|
|
+
|
|
+all: $(XTESTS)
|
|
+
|
|
+install: install_xtests
|
|
+
|
|
+install_xtests:
|
|
+ $(INSTALL) -d $(DESTDIR)$(pkgdatadir)/xtests
|
|
+ for file in $(EXTRA_DIST) ; do \
|
|
+ $(INSTALL) $$file $(DESTDIR)$(pkgdatadir)/xtests ; \
|
|
+ done
|
|
+ for file in $(XTESTS); do \
|
|
+ $(INSTALL) .libs/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \
|
|
+ done
|
|
+
|
|
+.PHONY: all install_xtests
|