summaryrefslogtreecommitdiff
path: root/recipes-core/images/mlinux-factory-image.bb
blob: 6adf7e2635b4c3cafe81fba26ae8c3da2188ec25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Conduit 0.0 or 0.1 without RS9113
#
# The correct syntax for a machine append is:
# VARIABLE_append_mtcdt
# append must be before the machine name.
#
require mlinux-base-image.bb
DESCRIPTION = "mLinux factory image"

# For now we don't put this in MTR or AEP
# Password restrictions library from Redhat
IMAGE_INSTALL_append = " libpwquality"

LIGHTTPD = "lighttpd \
            lighttpd-module-cgi lighttpd-module-indexfile \
            lighttpd-module-redirect lighttpd-module-auth  \
            lighttpd-module-access lighttpd-module-accesslog \
            lighttpd-module-rewrite lighttpd-module-proxy lighttpd-module-fastcgi \
            lighttpd-module-scgi lighttpd-module-alias \
            lighttpd-module-dirlisting  lighttpd-module-staticfile \
            "

# Lighttpd web server
IMAGE_INSTALL_append = " ${LIGHTTPD}"

IMAGE_INSTALL_append = " sqlite3"

IMAGE_INSTALL_append= " autossh"

# Monit system/process monitor
IMAGE_INSTALL_append = " monit"

# LoRa support (MTAC-LORA accessory card)
IMAGE_INSTALL_append = " lora-gateway-utils lora-query lora-network-server lora-packet-forwarder-usb lora-gateway-sx1303"
IMAGE_INSTALL_append_mtcdt = " lora-gateway-geolocation-utils lora-packet-forwarder-geolocation"
IMAGE_INSTALL_append_mtcdt = " mtac-xdot-util"

# MQTT server
IMAGE_INSTALL_append = " mosquitto mosquitto-clients"


# Perl support
IMAGE_INSTALL_append = " perl"
IMAGE_INSTALL_append = " perl-module-io perl-module-fcntl"
# not in meta-oe or oe-core...
#IMAGE_INSTALL_append = " libdevice-serialport-perl"
#IMAGE_INSTALL_append = " libexpect-perl"

# Python support
# Python 2 is obsolete.
PYTHON_2_FEATURES = " python \
python-argparse \
python-compression \
python-dateutil \
python-html \
python-psutil \
python-pyopenssl \
python-pyserial \
python-pyudev \
python-pyusb \
python-simplejson \
python-sqlite3 \
python-syslog \
python-textutils \
python-unixadmin \
python-xml \
python-dbus \
"
PYTHON_3_FEATURES = " \
                python3-core \
                python3-logging \
                python3-io \
                python3-audio \
                python3-compression \
                python3-crypt \
                python3-datetime \
                python3-email \
                python3-image \
                python3-json \
                python3-pyjwt \
                python3-netclient \
                python3-netserver \
                python3-paho-mqtt \
                python3-pycurl \
                python3-pyserial \
                python3-requests \
                python3-shell \
                python3-six \
                python3-threading \
                python3-twisted-core \
                python3-urllib3 \
                python3-dbus \
                "

IMAGE_INSTALL_append = "${PYTHON_3_FEATURES}"
PYTHON_DEFAULT = "python-is-python3"

# OpenJDK Java runtime
# IMAGE_INSTALL_append = " openjdk-8"
# OpenJDK with JamVM VM (Multi-Tech default)
# IMAGE_INSTALL_append = " jamvm"
# OpenJDK with CACAO VM (run with 'java -cacao')
# IMAGE_INSTALL_append = " openjdk-7-vm-cacao"
# OpenJDK Zero VM (run with 'java -zero')
# IMAGE_INSTALL_append = " openjdk-7-vm-zero"

# PHP support
IMAGE_INSTALL_append = " php php-cli php-fpm"

# Node.js support not available for Atmel any more.
# IMAGE_INSTALL_append = " nodejs nodejs-npm"

# Multi-Tech SMS Utility (see http://git.multitech.net)
IMAGE_INSTALL_append = " sms-utils"
# Multi-Tech GPS Utility
IMAGE_INSTALL_append = " venus-gps"
IMAGE_INSTALL_append = " pps-tools"
IMAGE_INSTALL_append = " dnsmasq bluez5-pand bluez5-rfcomm"

# When ntp is to use the GPS, gpspipe is required
IMAGE_INSTALL_append = " gpsd gpsd-conf gpsd-gpsctl libgps ntp ntp-utils gpspipe gps-utils python3-pygps-pyc"

IMAGE_INSTALL_append = " uxfp qfirehose uvccapture"

IMAGE_INSTALL_append = " ppp-radioresetwait radio-reset-background"
IMAGE_INSTALL_append = " ${PYTHON_DEFAULT}"