summaryrefslogtreecommitdiff
path: root/recipes-connectivity
diff options
context:
space:
mode:
authorAndrii Pientsov <andrii.pientsov@globallogic.com>2021-03-13 13:53:31 +0200
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2021-03-13 13:53:31 +0200
commit343eb7426cc5720f46cbff2ae2bf0c9b9a716d7e (patch)
tree3f073e7259d88db53696c76a025624e80402ff8f /recipes-connectivity
parent5850ffe57f1ecf177625ee62ef8b3e9fd5522221 (diff)
parent24ba01cdca29215a4559b31f00384809e7371fb2 (diff)
downloadmeta-mlinux-343eb7426cc5720f46cbff2ae2bf0c9b9a716d7e.tar.gz
meta-mlinux-343eb7426cc5720f46cbff2ae2bf0c9b9a716d7e.tar.bz2
meta-mlinux-343eb7426cc5720f46cbff2ae2bf0c9b9a716d7e.zip
Merge remote-tracking branch 'origin/mtre-thud' into mtre-dunfell
Diffstat (limited to 'recipes-connectivity')
-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
+}