diff options
author | John Klug <john.klug@multitech.com> | 2019-02-18 09:38:09 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-07-03 17:08:20 -0500 |
commit | 2ae6370c7d80c436feccb6cb29c5cc479b1bc310 (patch) | |
tree | 263be2acb1086302db1f23c7a6146aac01f78d27 /recipes-connectivity | |
parent | 86728539adeadb0f791fe6dbf5421df0b7390283 (diff) | |
download | meta-mlinux-2ae6370c7d80c436feccb6cb29c5cc479b1bc310.tar.gz meta-mlinux-2ae6370c7d80c436feccb6cb29c5cc479b1bc310.tar.bz2 meta-mlinux-2ae6370c7d80c436feccb6cb29c5cc479b1bc310.zip |
Merge usb-gadget-mode.bbappend for MTR into main recipe
Diffstat (limited to 'recipes-connectivity')
-rw-r--r-- | recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb | 9 | ||||
-rw-r--r-- | recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bbappend | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb b/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb index 32f3fdf..0f15830 100644 --- a/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb +++ b/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb @@ -45,3 +45,12 @@ pkg_postrm_${PN}() { PACKAGE_ARCH = "${MACHINE_ARCH}" +# 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 +} diff --git a/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bbappend b/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bbappend deleted file mode 100644 index 2b5b932..0000000 --- a/recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bbappend +++ /dev/null @@ -1,9 +0,0 @@ -# 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 -} |