diff options
author | John Klug <john.klug@multitech.com> | 2019-02-18 09:20:13 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-02-18 09:20:13 -0600 |
commit | 9803e9166d59eb8575d6713d5f6fc6122833fe7c (patch) | |
tree | f656b1c7d712f32572385d7df74477a53abe9de3 /recipes-connectivity/usb-gadget-mode | |
parent | 15763e5b3352b846ae9ec8ddf5661c22f3fe722a (diff) | |
download | meta-mlinux-9803e9166d59eb8575d6713d5f6fc6122833fe7c.tar.gz meta-mlinux-9803e9166d59eb8575d6713d5f6fc6122833fe7c.tar.bz2 meta-mlinux-9803e9166d59eb8575d6713d5f6fc6122833fe7c.zip |
usb-gadget-mode.bbappend
Diffstat (limited to 'recipes-connectivity/usb-gadget-mode')
-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 +} |