From fdb1bbe2e6f8fabafa326d7e0d63e601c09a8915 Mon Sep 17 00:00:00 2001 From: leimaohui Date: Fri, 5 Aug 2016 10:40:13 -0700 Subject: daemontools: fix QA Issues for daemontools and fix a warning for daemontools-native Signed-off-by: Lei Maohui Signed-off-by: Martin Jansa --- .../0001-daemontools-Fix-QA-Issue.patch | 26 ++++++++++++++++++++++ .../0001-daemontools-native-Fix-a-warning.patch | 26 ++++++++++++++++++++++ .../daemontools/daemontools_0.76.bb | 5 ++++- 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/daemontools/daemontools/0001-daemontools-Fix-QA-Issue.patch create mode 100644 meta-oe/recipes-support/daemontools/daemontools/0001-daemontools-native-Fix-a-warning.patch (limited to 'meta-oe/recipes-support/daemontools') diff --git a/meta-oe/recipes-support/daemontools/daemontools/0001-daemontools-Fix-QA-Issue.patch b/meta-oe/recipes-support/daemontools/daemontools/0001-daemontools-Fix-QA-Issue.patch new file mode 100644 index 0000000000..30e37cb1d3 --- /dev/null +++ b/meta-oe/recipes-support/daemontools/daemontools/0001-daemontools-Fix-QA-Issue.patch @@ -0,0 +1,26 @@ +From a86c4209da695909424db0c9108592194a3094b7 Mon Sep 17 00:00:00 2001 +From: Lei Maohui +Date: Sat, 6 Aug 2016 00:47:37 +0900 +Subject: [PATCH] daemontools: Fix QA Issue + +To fix the QA Issues as following: + +ERROR: daemontools-0.76-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/build-poky/tmp/work/i586-poky-linux/daemontools/0.76-r0/packages-split/daemontools/usr/bin/tai64nlocal' + +Signed-off-by: Lei Maohui +--- + src/conf-ld | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/conf-ld b/src/conf-ld +index 2a44210..c7e7755 100644 +--- a/src/conf-ld ++++ b/src/conf-ld +@@ -1,3 +1,3 @@ +-${CC} ++${CC} ${LDFLAGS} + + This will be used to link .o files into an executable. +-- +2.7.4 + diff --git a/meta-oe/recipes-support/daemontools/daemontools/0001-daemontools-native-Fix-a-warning.patch b/meta-oe/recipes-support/daemontools/daemontools/0001-daemontools-native-Fix-a-warning.patch new file mode 100644 index 0000000000..8d9577d5ff --- /dev/null +++ b/meta-oe/recipes-support/daemontools/daemontools/0001-daemontools-native-Fix-a-warning.patch @@ -0,0 +1,26 @@ +From a43a3327ccd4b06a3bcf0c87d518a97c6b39ac02 Mon Sep 17 00:00:00 2001 +From: Lei Maohui +Date: Sat, 6 Aug 2016 02:09:53 +0900 +Subject: [PATCH] daemontools: Fix a warning + +To fix the warning as following: + +WARNING: daemontools-native-0.76-r0 do_populate_sysroot: File '/build-poky/tmp/sysroots/x86_64-linux/usr/bin/chkshsgr' from daemontools-native was already stripped, this will prevent future debugging! + +Signed-off-by: Lei Maohui +--- + src/conf-ld | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/conf-ld b/src/conf-ld +index 59a0de7..1d0518a 100644 +--- a/src/conf-ld ++++ b/src/conf-ld +@@ -1,3 +1,3 @@ +-gcc -s ++gcc + + This will be used to link .o files into an executable. +-- +2.7.4 + diff --git a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb index 161f92fc48..def58db3dc 100644 --- a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb +++ b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb @@ -18,7 +18,10 @@ SRC_URI = "http://cr.yp.to/daemontools/${BPN}-${PV}.tar.gz \ file://0001-error.h-include-errno.h-instead-of-extern-int.diff \ file://0002-supervise.c-.-supervise-may-be-a-symlink-if-it-s-da.diff " -SRC_URI_append_class-target = "file://cross-compile.patch" +SRC_URI_append_class-target = "file://cross-compile.patch \ + file://0001-daemontools-Fix-QA-Issue.patch " + +SRC_URI_append_class-native = "file://0001-daemontools-native-Fix-a-warning.patch " SRC_URI[md5sum] = "1871af2453d6e464034968a0fbcb2bfc" SRC_URI[sha256sum] = "a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f" -- cgit 1.2.3-korg