diff options
author | Jeff Hatch <jhatch@multitech.com> | 2021-05-13 17:58:09 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2021-05-13 17:58:09 -0500 |
commit | ca9efcf4d71d9758849cdc0a96c7df121e9cd090 (patch) | |
tree | 3de60fe7327cda1838ac37e207b9e8bfeb3f3636 /recipes-connectivity | |
parent | fba5c70e95a7511e1ff73df6002b3eab7b74b39a (diff) | |
parent | ab42f333b425d003762342fec447a6e062632a7d (diff) | |
download | meta-mlinux-ca9efcf4d71d9758849cdc0a96c7df121e9cd090.tar.gz meta-mlinux-ca9efcf4d71d9758849cdc0a96c7df121e9cd090.tar.bz2 meta-mlinux-ca9efcf4d71d9758849cdc0a96c7df121e9cd090.zip |
Merge branch 'mtre-dunfell' into dunfell
Diffstat (limited to 'recipes-connectivity')
-rw-r--r-- | recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb | 7 |
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 +} |