diff options
Diffstat (limited to 'recipes-networking')
-rwxr-xr-x | recipes-networking/openvswitch/files/openvswitch-testcontroller | 10 | ||||
-rw-r--r-- | recipes-networking/openvswitch/openvswitch.inc | 2 |
2 files changed, 10 insertions, 2 deletions
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 | |||
40 | 40 | ||
41 | test -x $DAEMON || exit 0 | 41 | test -x $DAEMON || exit 0 |
42 | 42 | ||
43 | . /lib/lsb/init-functions | 43 | . /usr/share/openvswitch/scripts/ovs-lib |
44 | 44 | ||
45 | # Default options, these can be overriden by the information | 45 | # Default options, these can be overriden by the information |
46 | # at /etc/default/openvswitch-testcontroller | 46 | # at /etc/default/openvswitch-testcontroller |
@@ -89,6 +89,14 @@ running_pid() { | |||
89 | return 0 | 89 | return 0 |
90 | } | 90 | } |
91 | 91 | ||
92 | log_begin_msg () { | ||
93 | echo "$@" | ||
94 | } | ||
95 | |||
96 | log_end_msg () { | ||
97 | echo "$@" | ||
98 | } | ||
99 | |||
92 | running() { | 100 | running() { |
93 | # Check if the process is running looking at /proc | 101 | # Check if the process is running looking at /proc |
94 | # (works for all users) | 102 | # (works for all users) |
diff --git a/recipes-networking/openvswitch/openvswitch.inc b/recipes-networking/openvswitch/openvswitch.inc index 46865bd1..37fbe5ab 100644 --- a/recipes-networking/openvswitch/openvswitch.inc +++ b/recipes-networking/openvswitch/openvswitch.inc | |||
@@ -16,7 +16,7 @@ DEPENDS += "bridge-utils openssl python3 perl python3-six-native coreutils-nativ | |||
16 | RDEPENDS_${PN} += "util-linux-uuidgen util-linux-libuuid coreutils \ | 16 | RDEPENDS_${PN} += "util-linux-uuidgen util-linux-libuuid coreutils \ |
17 | python3 perl perl-module-strict ${PN}-switch \ | 17 | python3 perl perl-module-strict ${PN}-switch \ |
18 | bash python3-twisted python3-six" | 18 | bash python3-twisted python3-six" |
19 | RDEPENDS_${PN}-testcontroller = "${PN} lsb ${PN}-pki" | 19 | RDEPENDS_${PN}-testcontroller = "${PN} ${PN}-pki" |
20 | RDEPENDS_${PN}-switch = "${PN} openssl procps util-linux-uuidgen" | 20 | RDEPENDS_${PN}-switch = "${PN} openssl procps util-linux-uuidgen" |
21 | RDEPENDS_${PN}-pki = "${PN}" | 21 | RDEPENDS_${PN}-pki = "${PN}" |
22 | RDEPENDS_${PN}-brcompat = "${PN} ${PN}-switch" | 22 | RDEPENDS_${PN}-brcompat = "${PN} ${PN}-switch" |