summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-11-04 11:51:34 -0600
committerJesse Gilles <jgilles@multitech.com>2014-11-04 11:51:34 -0600
commite243c30f04c18722dc65effe6d4f275a3f35de46 (patch)
tree807610ce8af0ead02681d6c3cc89d902ec941652
downloadmeta-mlinux-e243c30f04c18722dc65effe6d4f275a3f35de46.tar.gz
meta-mlinux-e243c30f04c18722dc65effe6d4f275a3f35de46.tar.bz2
meta-mlinux-e243c30f04c18722dc65effe6d4f275a3f35de46.zip
initial commit of mLinux layer
-rw-r--r--COPYING.MIT17
-rw-r--r--LICENSE9
-rw-r--r--README38
-rw-r--r--classes/mlinux-image.bbclass33
-rw-r--r--classes/mlinux_metadata_scm.bbclass14
-rw-r--r--conf/distro/java.inc9
-rw-r--r--conf/distro/mlinux.conf62
-rw-r--r--conf/layer.conf10
-rw-r--r--contrib/env-oe.sh16
-rw-r--r--contrib/local.conf51
-rw-r--r--contrib/user-layer.conf10
-rw-r--r--recipes-connectivity/hostapd/hostap-daemon-1.0/default2
-rw-r--r--recipes-connectivity/hostapd/hostap-daemon-1.0/init43
-rw-r--r--recipes-connectivity/hostapd/hostap-daemon_1.0.bbappend8
-rw-r--r--recipes-connectivity/openssh/openssh/ssh.default2
-rw-r--r--recipes-connectivity/openssh/openssh_6.5p1.bbappend21
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/0001-ppp-Fix-compilation-errors-in-Makefile.patch75
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/08setupdns12
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/92removedns5
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/cifdefroute.patch292
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/copts.patch21
-rwxr-xr-xrecipes-connectivity/ppp/ppp-2.4.7/init50
-rwxr-xr-xrecipes-connectivity/ppp/ppp-2.4.7/ip-down43
-rwxr-xr-xrecipes-connectivity/ppp/ppp-2.4.7/ip-up44
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/makefile-remove-hard-usr-reference.patch37
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/makefile.patch95
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/pap22
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/poff26
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/pon9
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/ppp_on_boot21
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/pppd-resolv-varrun.patch45
-rw-r--r--recipes-connectivity/ppp/ppp-2.4.7/provider35
-rw-r--r--recipes-connectivity/ppp/ppp_2.4.7.bb88
-rwxr-xr-xrecipes-connectivity/usb-gadget-mode/files/usb-gadget69
-rw-r--r--recipes-connectivity/usb-gadget-mode/files/usb-gadget.conf3
-rwxr-xr-xrecipes-connectivity/usb-gadget-mode/files/usb-gadget.init16
-rw-r--r--recipes-connectivity/usb-gadget-mode/usb-gadget-mode.bb42
-rw-r--r--recipes-core/base-files/base-files/mlinux/issue7
-rw-r--r--recipes-core/base-files/base-files/mlinux/issue.net7
-rw-r--r--recipes-core/base-files/base-files/mtcdt/fstab12
-rw-r--r--recipes-core/base-files/base-files_3.0.14.bbappend4
-rw-r--r--recipes-core/busybox/busybox-1.22.1/defconfig1020
-rw-r--r--recipes-core/busybox/busybox_1.22.1.bbappend8
-rw-r--r--recipes-core/busybox/files/udhcpd.conf.example6
-rw-r--r--recipes-core/images/mlinux-base-image.bb57
-rw-r--r--recipes-core/images/mlinux-factory-image.bb61
-rw-r--r--recipes-core/images/mlinux-minimal-image.bb40
-rw-r--r--recipes-core/images/mlinux-mono-image.bb3
-rw-r--r--recipes-core/initscripts/initscripts-1.0/umountfs158
-rw-r--r--recipes-core/initscripts/initscripts_1.0.bbappend4
-rw-r--r--recipes-core/multitech/config/config.init105
-rw-r--r--recipes-core/multitech/config/network/interfaces29
-rw-r--r--recipes-core/multitech/config/ppp/chap-secrets3
-rw-r--r--recipes-core/multitech/config/ppp/options22
-rw-r--r--recipes-core/multitech/config/ppp/pap-secrets3
-rw-r--r--recipes-core/multitech/config/ppp/peers/cdma9
-rw-r--r--recipes-core/multitech/config/ppp/peers/cdma_chat18
-rw-r--r--recipes-core/multitech/config/ppp/peers/gsm11
-rw-r--r--recipes-core/multitech/config/ppp/peers/gsm_chat26
-rw-r--r--recipes-core/multitech/config_1.0.bb40
-rw-r--r--recipes-core/multitech/mlinux-version.bb22
-rw-r--r--recipes-core/multitech/reset-handler/reset-handler.default2
-rw-r--r--recipes-core/multitech/reset-handler/reset-handler.init30
-rwxr-xr-xrecipes-core/multitech/reset-handler/reset-handler.sh72
-rw-r--r--recipes-core/multitech/reset-handler_1.0.bb29
-rw-r--r--recipes-core/multitech/upgrade-reboot_1.0.0.bb17
-rw-r--r--recipes-core/ocg-scripts/ocg-scripts-1.0.inc18
-rwxr-xr-xrecipes-core/ocg-scripts/ocg-scripts-1.0/ocg-cell-router147
-rwxr-xr-xrecipes-core/ocg-scripts/ocg-scripts-1.0/ocg-dhcpd65
-rwxr-xr-xrecipes-core/ocg-scripts/ocg-scripts-1.0/ocg-set-apn40
-rwxr-xr-xrecipes-core/ocg-scripts/ocg-scripts-1.0/ocg-wifi-ap165
-rw-r--r--recipes-core/ocg-scripts/ocg-scripts_1.0.bb7
-rw-r--r--recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend2
-rw-r--r--recipes-core/udev/udev-182/cellular_radios.rules47
-rw-r--r--recipes-core/udev/udev-182/init138
-rw-r--r--recipes-core/udev/udev-182/mtcdt/mtcdt.rules12
-rw-r--r--recipes-core/udev/udev-extraconf/automount.rules24
-rw-r--r--recipes-core/udev/udev-extraconf_1.0.bbappend2
-rw-r--r--recipes-core/udev/udev_182.bbappend11
-rw-r--r--recipes-devtools/mtd/mtd-utils-static_git.bb17
-rw-r--r--recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch60
-rw-r--r--recipes-devtools/nodejs/nodejs_0.8.27.bb56
-rw-r--r--recipes-examples/multitech/helloworld-autotools_1.0.0.bb14
-rw-r--r--recipes-extended/autossh/autossh_1.4c.bb21
-rw-r--r--recipes-extended/bash/bash-4.2/build-tests.patch48
-rw-r--r--recipes-extended/bash/bash-4.2/execute_cmd.patch17
-rw-r--r--recipes-extended/bash/bash-4.2/mkbuiltins_have_stringize.patch26
-rw-r--r--recipes-extended/bash/bash-4.2/run-ptest2
-rw-r--r--recipes-extended/bash/bash-4.2/test-output.patch25
-rw-r--r--recipes-extended/bash/bash.inc50
-rw-r--r--recipes-extended/bash/bash_4.2.bb173
-rw-r--r--recipes-extended/lighttpd/lighttpd_1.4.33.bbappend5
-rw-r--r--recipes-extended/mii-diag/mii-diag-2.11/libmii.c630
-rw-r--r--recipes-extended/mii-diag/mii-diag-2.11/mii-diag.c648
-rw-r--r--recipes-extended/mii-diag/mii-diag_2.11.bb25
-rw-r--r--recipes-extended/multitech/sms-utils.inc22
-rw-r--r--recipes-extended/multitech/sms-utils_0.0.5.bb3
-rw-r--r--recipes-extended/multitech/venus-gps_0.1.0.bb14
-rw-r--r--recipes-extended/stressapptest/stressapptest_svn.bb13
-rw-r--r--recipes-extended/uvccapture/files/makefile.patch29
-rw-r--r--recipes-extended/uvccapture/files/uvccapture_use_videodev2.patch24
-rw-r--r--recipes-extended/uvccapture/uvccapture_0.5.bb15
-rw-r--r--recipes-java/openjdk/openjdk-7/jvm.cfg43
-rw-r--r--recipes-java/openjdk/openjdk-7_25b30-2.3.12.bbappend6
-rw-r--r--recipes-java/v4l4j/v4l4j-0.9.1/makefile.patch13
-rw-r--r--recipes-java/v4l4j/v4l4j_0.9.1.bb38
-rw-r--r--recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb31
-rw-r--r--recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.7.bb28
-rw-r--r--recipes-ruby/ruby/ruby_1.9.3-p429.bbappend4
-rw-r--r--recipes-support/jsoncpp/jsoncpp-0.5.0/Makefile46
-rw-r--r--recipes-support/jsoncpp/jsoncpp-0.5.0/jsoncpp-0.5.0-p1.patch13
-rw-r--r--recipes-support/jsoncpp/jsoncpp_0.5.0.bb32
-rw-r--r--recipes-support/libesmtp/libesmtp_1.0.6.bb25
113 files changed, 6114 insertions, 0 deletions
diff --git a/COPYING.MIT b/COPYING.MIT
new file mode 100644
index 0000000..fb950dc
--- /dev/null
+++ b/COPYING.MIT
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..5caf3b6
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,9 @@
+All MultiTech-copyrighted software contained in mLinux is covered by
+GPL (GNU General Public License) version 2, unless provided under a different license.
+
+All bitbake metadata is MIT licensed unless otherwise stated. Source code
+included in tree for individual recipes is under the LICENSE stated in
+the associated recipe (.bb file) unless otherwise stated.
+
+License information for any other files is either explicitly stated
+or defaults to GPL version 2.
diff --git a/README b/README
new file mode 100644
index 0000000..3753058
--- /dev/null
+++ b/README
@@ -0,0 +1,38 @@
+MultiTech mLinux distribution OpenEmbedded layer
+
+This layer depends on:
+
+URI: git://git.openembedded.org/openembedded-core
+branch: daisy
+revision: HEAD
+
+Numerous layers in:
+URI: git://git.openembedded.org/meta-openembedded
+branch: daisy
+revision: HEAD
+
+MultiTech hardware layer:
+URI: git://git.multitech.net/meta-multitech
+branch: daisy
+revision: HEAD
+
+URI: git://github.com/woglinde/meta-java.git
+branch: master
+revision: f4c4649
+
+URI: git://git.yoctoproject.org/meta-mono
+branch: daisy
+revision: HEAD
+
+URI: git://github.com/imyller/meta-nodejs.git
+branch: master
+revision: HEAD
+
+------------
+ BUILDING
+------------
+
+mLinux should be built using the mlinux integration repo at git://git.multitech.net/mlinux
+or using the downloadable tarball. See http://www.multitech.net for instructions and
+downloads.
+
diff --git a/classes/mlinux-image.bbclass b/classes/mlinux-image.bbclass
new file mode 100644
index 0000000..8da5e97
--- /dev/null
+++ b/classes/mlinux-image.bbclass
@@ -0,0 +1,33 @@
+# set specified root password in image using ROOT_PASSWORD_HASH
+mlinux_set_root_password () {
+ if [ -e ${IMAGE_ROOTFS}/etc/shadow ]; then
+ sed -i "s%^root:[^:]*:%root:${ROOT_PASSWORD_HASH}:%" ${IMAGE_ROOTFS}/etc/shadow
+ elif [ -e ${IMAGE_ROOTFS}/etc/passwd ]; then
+ sed -i "s%^root:[^:]*:%root:${ROOT_PASSWORD_HASH}:%" ${IMAGE_ROOTFS}/etc/passwd
+ fi
+}
+ROOTFS_POSTPROCESS_COMMAND += "mlinux_set_root_password;"
+
+# make links to images in TFTPBOOT_DIR for ease of development
+do_tftpboot_links() {
+ TFTPBOOT_CLEAN="oe_bootstrap.bin oe_bootstrap_pmecc_padded.bin \
+ oe_u-boot.bin oe_uImage.bin oe_rootfs.jffs2 oe_images"
+
+ if [ -n "${TFTPBOOT_DIR}" ]; then
+ install -d ${DEPLOY_DIR_IMAGE}
+
+ for f in ${TFTPBOOT_CLEAN}; do
+ rm -f ${TFTPBOOT_DIR}/$f
+ done
+
+ ln -nfs ${DEPLOY_DIR_IMAGE}/at91bootstrap.bin ${TFTPBOOT_DIR}/oe_bootstrap.bin
+ if [ -f ${DEPLOY_DIR_IMAGE}/at91bootstrap_pmecc_padded.bin ]; then
+ ln -nfs ${DEPLOY_DIR_IMAGE}/at91bootstrap_pmecc_padded.bin ${TFTPBOOT_DIR}/oe_bootstrap_pmecc_padded.bin
+ fi
+ ln -nfs ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ${TFTPBOOT_DIR}/oe_u-boot.bin
+ ln -nfs ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ${TFTPBOOT_DIR}/oe_uImage.bin
+ ln -nfs ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.jffs2 ${TFTPBOOT_DIR}/oe_rootfs.jffs2
+ ln -nfs ${DEPLOY_DIR_IMAGE} ${TFTPBOOT_DIR}/oe_images
+ fi
+}
+addtask tftpboot_links after do_rootfs before do_build
diff --git a/classes/mlinux_metadata_scm.bbclass b/classes/mlinux_metadata_scm.bbclass
new file mode 100644
index 0000000..e394910
--- /dev/null
+++ b/