From ab382e2453d652181eb7a6fb4dcf201d4b33b94a Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Thu, 12 Sep 2019 15:55:31 -0400 Subject: openvswitch: drop LSB bits openembedded-core commit fb064356af61 [Remove LSB support] dropped the 'lsb' recipe which caused openvswitch to throw a dependency fail for both sysvinit and systemd builds. LSB init functions for log_begin_msg, log_end_msg and others were being used. We now use the functions from ovs-lib which are part of OVS and supply the remaining ones directly. This allows us to regain the functionality and drop the dependency on 'lsb'. Signed-off-by: Mark Asselstine Signed-off-by: Bruce Ashfield --- .../openvswitch/files/openvswitch-testcontroller | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'recipes-networking/openvswitch/files/openvswitch-testcontroller') diff --git a/recipes-networking/openvswitch/files/openvswitch-testcontroller b/recipes-networking/openvswitch/files/openvswitch-testcontroller index aad5ad60..57c77983 100755 --- a/recipes-networking/openvswitch/files/openvswitch-testcontroller +++ b/recipes-networking/openvswitch/files/openvswitch-testcontroller @@ -40,7 +40,7 @@ PIDFILE=/var/run/openvswitch/$NAME.pid test -x $DAEMON || exit 0 -. /lib/lsb/init-functions +. /usr/share/openvswitch/scripts/ovs-lib # Default options, these can be overriden by the information # at /etc/default/openvswitch-testcontroller @@ -89,6 +89,14 @@ running_pid() { return 0 } +log_begin_msg () { + echo "$@" +} + +log_end_msg () { + echo "$@" +} + running() { # Check if the process is running looking at /proc # (works for all users) -- cgit v1.2.3-54-g00ecf