summaryrefslogtreecommitdiff
path: root/recipes-core/images/mlinux-mtcap-test-image.bb
blob: 6a917410b9b313bf05a686463ba243b90d1d35ad (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
DESCRIPTION = "mLinux Conduit Access Point image"

require mlinux-minimal-image.bb
require mtcap-modules.inc

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


# Test image features
IMAGE_INSTALL += "i2c-tools \
                  spitools \
                  libgpiod-tools \
                  strace \
                  devmem2 \
                  battd-ml \
                  socat \
                 "

FILESYSTEM_FEATURES = "dosfstools \
                       cifs-utils \
                       lsof \
                       "

NETWORKING_FEATURES += "bridge-utils \
                       inetutils-ftp \
                       openssl \
                       rsync \
                       iperf2 \
                       iperf3 \
                       mii-diag \
                       tcpdump \
                       netcat \
                       wget \
                       strongswan \
                       busybox-ifplugd \
                       "

# No accessory cards for MTAC
MULTITECH_MTAC = ""

TIME_FEATURES = "tzdata-core tzdata-africa tzdata-americas tzdata-antarctica tzdata-arctic \
                 tzdata-asia tzdata-atlantic tzdata-australia tzdata-europe tzdata-pacific \
                 tzdata-misc \
                 cronie \
                 ntpdate \
                 "

WIFI_FEATURES = "libnl \
                wpa-supplicant \
                iw \
                hostapd \
                hostapd-cfg \
                wilc1000 \
                "

MULTITECH_FEATURES += " \
                 u-boot-linux-utils \
                 mlinux-scripts \
                 reset-handler \
                 radio-cmd radio-query \
                 cell-radio-carrierswitch \
                 jsparser \
                 protobuf \
                 mts-io-skipcharge \
                 "

IMAGE_INSTALL += "lora-gateway-utils \
                  lora-query \
                  lora-packet-forwarder \
                  lora-network-server \
                  logrotate \
                  mosquitto mosquitto-clients \
                 "

MISC_FEATURES = "minicom lrzsz nano uxfp qfirehose"

# Extra stuff to install
#   Someday add wifi features
#               ${WIFI_FEATURES}
#
IMAGE_INSTALL_append = " gpsd gpsd-conf gpsd-gpsctl libgps ntp ntp-utils gpspipe gps-utils python3-pygps-pyc"

IMAGE_INSTALL_append = " pps-tools"

IMAGE_INSTALL += " \
                ${FILESYSTEM_FEATURES} \
                ${TIME_FEATURES} \
                ${MISC_FEATURES} \
                "

# Open console for testing
CONSOLE = "sysvinit-inittab-start-open"

# Multi-Tech SMS Utility (see http://git.multitech.net)
IMAGE_INSTALL += "sms-utils"