summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Bayer <bbayer@multitech.com>2016-09-08 15:24:02 -0500
committerBrandon Bayer <bbayer@multitech.com>2016-09-08 15:24:02 -0500
commitc43f4b892a3a0daf7fd6ca6c9fd540b81b40744e (patch)
tree97dfb25bd256a85111c15641c066f9bd2c99aa90
parent9ea9105662c6d77e70d0e3b5ec8095c943c8f879 (diff)
parent7c7f115424d07c226ec238980d2f33e02ba6414c (diff)
downloadmeta-mlinux-c43f4b892a3a0daf7fd6ca6c9fd540b81b40744e.tar.gz
meta-mlinux-c43f4b892a3a0daf7fd6ca6c9fd540b81b40744e.tar.bz2
meta-mlinux-c43f4b892a3a0daf7fd6ca6c9fd540b81b40744e.zip
Merge branch 'internal-dev'
-rw-r--r--recipes-core/base-files/base-files/mtp/fstab9
-rw-r--r--recipes-core/images/mlinux-picocell-image.bb7
-rw-r--r--recipes-core/udev/udev-182/mtp/mtp.rules8
3 files changed, 24 insertions, 0 deletions
diff --git a/recipes-core/base-files/base-files/mtp/fstab b/recipes-core/base-files/base-files/mtp/fstab
new file mode 100644
index 0000000..01b5f38
--- /dev/null
+++ b/recipes-core/base-files/base-files/mtp/fstab
@@ -0,0 +1,9 @@
+rootfs / auto defaults 1 1
+proc /proc proc defaults 0 0
+devpts /dev/pts devpts mode=0620,gid=5 0 0
+usbdevfs /proc/bus/usb usbdevfs noauto 0 0
+tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0
+tmpfs /var/volatile tmpfs defaults 0 0
+
+/dev/mtdblock6 /var/config jffs2 defaults 0 0
+/dev/mtdblock7 /var/oem jffs2 defaults,ro 0 0
diff --git a/recipes-core/images/mlinux-picocell-image.bb b/recipes-core/images/mlinux-picocell-image.bb
new file mode 100644
index 0000000..09e0fd6
--- /dev/null
+++ b/recipes-core/images/mlinux-picocell-image.bb
@@ -0,0 +1,7 @@
+require mlinux-base-image.bb
+
+# Multi-Tech SMS Utility (see http://git.multitech.net)
+IMAGE_INSTALL += "sms-utils"
+
+# MQTT server
+IMAGE_INSTALL += "mosquitto mosquitto-clients"
diff --git a/recipes-core/udev/udev-182/mtp/mtp.rules b/recipes-core/udev/udev-182/mtp/mtp.rules
new file mode 100644
index 0000000..a0dc9fb
--- /dev/null
+++ b/recipes-core/udev/udev-182/mtp/mtp.rules
@@ -0,0 +1,8 @@
+ACTION=="remove", GOTO="mlinux_end"
+SUBSYSTEM!="tty", GOTO="mlinux_end"
+KERNEL!="ttyXRUSB[0-9]*", GOTO="mlinux_end"
+
+SUBSYSTEMS=="usb", ENV{ID_IFACE}="$attr{bInterfaceNumber}"
+ENV{ID_IFACE}=="", GOTO="mlinux_end"
+
+LABEL="mlinux_end"