diff options
3 files changed, 56 insertions, 1 deletions
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 @@ | |||
| 1 | From a86c4209da695909424db0c9108592194a3094b7 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
| 3 | Date: Sat, 6 Aug 2016 00:47:37 +0900 | ||
| 4 | Subject: [PATCH] daemontools: Fix QA Issue | ||
| 5 | |||
| 6 | To fix the QA Issues as following: | ||
| 7 | |||
| 8 | 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' | ||
| 9 | |||
| 10 | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
| 11 | --- | ||
| 12 | src/conf-ld | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/src/conf-ld b/src/conf-ld | ||
| 16 | index 2a44210..c7e7755 100644 | ||
| 17 | --- a/src/conf-ld | ||
| 18 | +++ b/src/conf-ld | ||
| 19 | @@ -1,3 +1,3 @@ | ||
| 20 | -${CC} | ||
| 21 | +${CC} ${LDFLAGS} | ||
| 22 | |||
| 23 | This will be used to link .o files into an executable. | ||
| 24 | -- | ||
| 25 | 2.7.4 | ||
| 26 | |||
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 @@ | |||
| 1 | From a43a3327ccd4b06a3bcf0c87d518a97c6b39ac02 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
| 3 | Date: Sat, 6 Aug 2016 02:09:53 +0900 | ||
| 4 | Subject: [PATCH] daemontools: Fix a warning | ||
| 5 | |||
| 6 | To fix the warning as following: | ||
| 7 | |||
| 8 | 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! | ||
| 9 | |||
| 10 | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
| 11 | --- | ||
| 12 | src/conf-ld | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/src/conf-ld b/src/conf-ld | ||
| 16 | index 59a0de7..1d0518a 100644 | ||
| 17 | --- a/src/conf-ld | ||
| 18 | +++ b/src/conf-ld | ||
| 19 | @@ -1,3 +1,3 @@ | ||
| 20 | -gcc -s | ||
| 21 | +gcc | ||
| 22 | |||
| 23 | This will be used to link .o files into an executable. | ||
| 24 | -- | ||
| 25 | 2.7.4 | ||
| 26 | |||
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 \ | |||
| 18 | file://0001-error.h-include-errno.h-instead-of-extern-int.diff \ | 18 | file://0001-error.h-include-errno.h-instead-of-extern-int.diff \ |
| 19 | file://0002-supervise.c-.-supervise-may-be-a-symlink-if-it-s-da.diff " | 19 | file://0002-supervise.c-.-supervise-may-be-a-symlink-if-it-s-da.diff " |
| 20 | 20 | ||
| 21 | SRC_URI_append_class-target = "file://cross-compile.patch" | 21 | SRC_URI_append_class-target = "file://cross-compile.patch \ |
| 22 | file://0001-daemontools-Fix-QA-Issue.patch " | ||
| 23 | |||
| 24 | SRC_URI_append_class-native = "file://0001-daemontools-native-Fix-a-warning.patch " | ||
| 22 | 25 | ||
| 23 | SRC_URI[md5sum] = "1871af2453d6e464034968a0fbcb2bfc" | 26 | SRC_URI[md5sum] = "1871af2453d6e464034968a0fbcb2bfc" |
| 24 | SRC_URI[sha256sum] = "a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f" | 27 | SRC_URI[sha256sum] = "a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f" |
