daemontools: fix QA Issues for daemontools and fix a warning for daemontools-native

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
leimaohui 2016-08-05 10:40:13 -07:00 committed by Martin Jansa
parent 92c500e967
commit fdb1bbe2e6
3 changed files with 56 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From a86c4209da695909424db0c9108592194a3094b7 Mon Sep 17 00:00:00 2001
From: Lei Maohui <leimaohui@cn.fujitsu.com>
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 <leimaohui@cn.fujitsu.com>
---
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

View File

@ -0,0 +1,26 @@
From a43a3327ccd4b06a3bcf0c87d518a97c6b39ac02 Mon Sep 17 00:00:00 2001
From: Lei Maohui <leimaohui@cn.fujitsu.com>
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 <leimaohui@cn.fujitsu.com>
---
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

View File

@ -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"