diff options
author | John Klug <john.klug@multitech.com> | 2019-02-18 09:20:13 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-07-03 17:08:20 -0500 |
commit | 86728539adeadb0f791fe6dbf5421df0b7390283 (patch) | |
tree | f656b1c7d712f32572385d7df74477a53abe9de3 /recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bbappend | |
parent | 9896cf3aa0446008decbcd5117ab37f195e55b08 (diff) | |
download | meta-mlinux-86728539adeadb0f791fe6dbf5421df0b7390283.tar.gz meta-mlinux-86728539adeadb0f791fe6dbf5421df0b7390283.tar.bz2 meta-mlinux-86728539adeadb0f791fe6dbf5421df0b7390283.zip |
usb-gadget-mode.bbappend
Diffstat (limited to 'recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bbappend')
-rw-r--r-- | recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bbappend | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bbappend b/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bbappend new file mode 100644 index 0000000..2b5b932 --- /dev/null +++ b/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bbappend @@ -0,0 +1,9 @@ +# disable usb-gadget on mtr +do_install_append_mtr() { + sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/usb-gadget +} + +# disable usb-gadget on mtrv1 +do_install_append_mtrv1() { + sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/usb-gadget +} |