diff options
| -rw-r--r-- | meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch | 12 | ||||
| -rw-r--r-- | meta/recipes-connectivity/kea/kea_2.6.1.bb (renamed from meta/recipes-connectivity/kea/kea_2.4.1.bb) | 5 |
2 files changed, 12 insertions, 5 deletions
diff --git a/meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch b/meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch index 63a6a2805b..2f5a217d3f 100644 --- a/meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch +++ b/meta/recipes-connectivity/kea/files/fix_pid_keactrl.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From c878a356712606549f7f188b62f7d1cae08a176e Mon Sep 17 00:00:00 2001 | 1 | From f5125725e4e2e250ccc78a17a8b77431100e7c15 Mon Sep 17 00:00:00 2001 |
| 2 | From: Armin kuster <akuster808@gmail.com> | 2 | From: Armin kuster <akuster808@gmail.com> |
| 3 | Date: Wed, 14 Oct 2020 22:48:31 -0700 | 3 | Date: Wed, 14 Oct 2020 22:48:31 -0700 |
| 4 | Subject: [PATCH] Busybox does not support ps -p so use pgrep | 4 | Subject: [PATCH] Busybox does not support ps -p so use pgrep |
| @@ -8,15 +8,18 @@ Based on changes from Diego Sueiro <Diego.Sueiro@arm.com> | |||
| 8 | 8 | ||
| 9 | Signed-off-by: Armin kuster <akuster808@gmail.com> | 9 | Signed-off-by: Armin kuster <akuster808@gmail.com> |
| 10 | 10 | ||
| 11 | Refresh to apply on top of 2.6.1. | ||
| 12 | |||
| 13 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
| 11 | --- | 14 | --- |
| 12 | src/bin/keactrl/keactrl.in | 4 ++-- | 15 | src/bin/keactrl/keactrl.in | 4 ++-- |
| 13 | 1 file changed, 2 insertions(+), 2 deletions(-) | 16 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 14 | 17 | ||
| 15 | diff --git a/src/bin/keactrl/keactrl.in b/src/bin/keactrl/keactrl.in | 18 | diff --git a/src/bin/keactrl/keactrl.in b/src/bin/keactrl/keactrl.in |
| 16 | index 450e997..c353ca9 100644 | 19 | index cccfdac303..20ae2e6ec5 100644 |
| 17 | --- a/src/bin/keactrl/keactrl.in | 20 | --- a/src/bin/keactrl/keactrl.in |
| 18 | +++ b/src/bin/keactrl/keactrl.in | 21 | +++ b/src/bin/keactrl/keactrl.in |
| 19 | @@ -149,8 +149,8 @@ check_running() { | 22 | @@ -146,8 +146,8 @@ check_running() { |
| 20 | # Get the PID from the PID file (if it exists) | 23 | # Get the PID from the PID file (if it exists) |
| 21 | get_pid_from_file "${proc_name}" | 24 | get_pid_from_file "${proc_name}" |
| 22 | if [ ${_pid} -gt 0 ]; then | 25 | if [ ${_pid} -gt 0 ]; then |
| @@ -27,3 +30,6 @@ index 450e997..c353ca9 100644 | |||
| 27 | # No error, so PID IS ALIVE | 30 | # No error, so PID IS ALIVE |
| 28 | _running=1 | 31 | _running=1 |
| 29 | fi | 32 | fi |
| 33 | -- | ||
| 34 | 2.39.2 | ||
| 35 | |||
diff --git a/meta/recipes-connectivity/kea/kea_2.4.1.bb b/meta/recipes-connectivity/kea/kea_2.6.1.bb index 19309ce314..bd9e63ceed 100644 --- a/meta/recipes-connectivity/kea/kea_2.4.1.bb +++ b/meta/recipes-connectivity/kea/kea_2.6.1.bb | |||
| @@ -3,7 +3,7 @@ DESCRIPTION = "Kea is the next generation of DHCP software developed by ISC. It | |||
| 3 | HOMEPAGE = "http://kea.isc.org" | 3 | HOMEPAGE = "http://kea.isc.org" |
| 4 | SECTION = "connectivity" | 4 | SECTION = "connectivity" |
| 5 | LICENSE = "MPL-2.0" | 5 | LICENSE = "MPL-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea061fa0188838072c4248c1318ec131" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=618093ea9de92c70a115268c1d53421f" |
| 7 | 7 | ||
| 8 | DEPENDS = "boost log4cplus openssl" | 8 | DEPENDS = "boost log4cplus openssl" |
| 9 | 9 | ||
| @@ -18,7 +18,7 @@ SRC_URI = "http://ftp.isc.org/isc/kea/${PV}/${BP}.tar.gz \ | |||
| 18 | file://fix_pid_keactrl.patch \ | 18 | file://fix_pid_keactrl.patch \ |
| 19 | file://0001-src-lib-log-logger_unittest_support.cc-do-not-write-.patch \ | 19 | file://0001-src-lib-log-logger_unittest_support.cc-do-not-write-.patch \ |
| 20 | " | 20 | " |
| 21 | SRC_URI[sha256sum] = "815c61f5c271caa4a1db31dd656eb50a7f6ea973da3690f7c8581408e180131a" | 21 | SRC_URI[sha256sum] = "d2ce14a91c2e248ad2876e29152d647bcc5e433bc68dafad0ee96ec166fcfad1" |
| 22 | 22 | ||
| 23 | inherit autotools systemd update-rc.d upstream-version-is-even | 23 | inherit autotools systemd update-rc.d upstream-version-is-even |
| 24 | 24 | ||
| @@ -64,6 +64,7 @@ do_install:append() { | |||
| 64 | sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@BASE_BINDIR@,${base_bindir},g' \ | 64 | sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
| 65 | -e 's,@LOCALSTATEDIR@,${localstatedir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' \ | 65 | -e 's,@LOCALSTATEDIR@,${localstatedir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' \ |
| 66 | ${D}${systemd_system_unitdir}/kea-dhcp*service ${D}${sbindir}/keactrl | 66 | ${D}${systemd_system_unitdir}/kea-dhcp*service ${D}${sbindir}/keactrl |
| 67 | sed -i "s:${B}/../${BPN}-${PV}:@abs_top_builddir_placeholder@:g" ${D}${sbindir}/kea-admin | ||
| 67 | } | 68 | } |
| 68 | 69 | ||
| 69 | do_install:append() { | 70 | do_install:append() { |
