Files
Armin Kuster 72d710cadc syslog-ng: refresh patches
WARNING: syslog-ng-3.8.1-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch configure.ac-add-option-enable-thread-tls-to-manage-.patch
patching file configure.ac
Hunk #1 succeeded at 147 with fuzz 2 (offset 27 lines).
Hunk #2 succeeded at 489 (offset 105 lines).

Now at patch configure.ac-add-option-enable-thread-tls-to-manage-.patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:42 -07:00

26 lines
865 B
Diff

syslog-ng: fix wrong ownership issue
Upstream-Status: Pending
The ownership of build user is preserved for some target files, fixed it by
adding --no-same-owner option to tar when extracting files.
Signed-off-by: Ming Liu <ming.liu@windriver.com>
---
scl/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Index: syslog-ng-3.8.1/scl/Makefile.am
===================================================================
--- syslog-ng-3.8.1.orig/scl/Makefile.am
+++ syslog-ng-3.8.1/scl/Makefile.am
@@ -27,7 +27,7 @@ scl-install-data-local:
fi; \
done
$(mkinstalldirs) $(DESTDIR)/$(scldir)
- (cd $(srcdir)/scl; tar cf - $(SCL_SUBDIRS)) | (cd $(DESTDIR)/$(scldir) && tar xf -)
+ (cd $(srcdir)/scl; tar cf - $(SCL_SUBDIRS)) | (cd $(DESTDIR)/$(scldir) && tar xf - --no-same-owner)
chmod -R u+rwX $(DESTDIR)/$(scldir)
scl-uninstall-local: