summaryrefslogtreecommitdiff
path: root/recipes-connectivity/usb-gadget-mode
diff options
context:
space:
mode:
authorAndrii Pientsov <andrii.pientsov@globallogic.com>2021-01-13 13:22:58 +0200
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2021-01-13 13:22:58 +0200
commit24ba01cdca29215a4559b31f00384809e7371fb2 (patch)
tree6f5a8d822f3f1503e6836372be279794b1594393 /recipes-connectivity/usb-gadget-mode
parent1b635509d3f417f8cc6c3e5ba6a1d46eea1d7686 (diff)
downloadmeta-mlinux-24ba01cdca29215a4559b31f00384809e7371fb2.tar.gz
meta-mlinux-24ba01cdca29215a4559b31f00384809e7371fb2.tar.bz2
meta-mlinux-24ba01cdca29215a4559b31f00384809e7371fb2.zip
Update usb-gadget-mode recipe for MTRE machine
Diffstat (limited to 'recipes-connectivity/usb-gadget-mode')
-rw-r--r--recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb b/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb
index 0f15830..0b94983 100644
--- a/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb
+++ b/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb
@@ -10,7 +10,7 @@ SECTION = "console/network"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PV = "0.0.2"
-PR = "r3"
+PR = "r4"
SRC_URI = "\
file://usb-gadget.conf \
@@ -54,3 +54,8 @@ do_install_append_mtr() {
do_install_append_mtrv1() {
sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/usb-gadget
}
+
+# disable usb-gadget on mtre
+do_install_append_mtre() {
+ sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/usb-gadget
+}