summaryrefslogtreecommitdiff
path: root/recipes-core/images/mlinux-minimal-image.bb
blob: 8090f571365ba174e4213b704aeb938f39386545 (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
DESCRIPTION = "mLinux minimal image"
LICENSE = "MIT"

inherit core-image
inherit mlinux-image

IMAGE_LINGUAS = ""
IMAGE_FEATURES += "ssh-server-openssh package-management"

CORE_FEATURES = "packagegroup-core-boot packagegroup-distro-base \
                 packagegroup-base-ext2 \
                 packagegroup-base-usbhost packagegroup-base-usbgadget \
                 udev-extraconf usb-gadget-mode \
                 sysfsutils module-init-tools \
                 bash procps mtd-utils mtd-utils-jffs2 \
                 openssh-sftp-server \
                 util-linux-mount util-linux-umount \
                 start-stop-daemon \
		 sudo \
                 ${CORE_IMAGE_EXTRA_INSTALL} \
                 mlinux-feed-configs \
		 useradd \
                 get-eeprom-device-config \
                 "

NETWORKING_FEATURES = "ppp curl iproute2 \
                       iptables iputils \
                       "

# mts-io: IO Controller for Multi-Tech hardware.
#         (LEDs, temp sensor, serial lines, and more)
#
# config: Handles default config files stored in /var/config. 
#         /var/config is mounted on a separate flash partition so that config
#         files survive flashing of rootfs. See recipe for details.
#
# set-rs485: enables RS485 half-duplex mode for a given tty device
#
# mtcap does not need mts-io-util, but it is required for LoRa 2.1 images

MULTITECH_FEATURES = "kernel-module-mts-io \
			mts-io-noarch  \
			mts-io-util \
			config \
			mts-id-eeprom \
			set-rs485 \
			radio-reset"


MULTITECH_MTAC = "kernel-module-mtac \
			kernel-module-mtac-eth \
			kernel-module-mtac-gpiob \
			kernel-module-mtac-lora \
			kernel-module-mtac-mfser \
			kernel-module-mtac-pulse \
			kernel-module-mtac-xdot"

UPGRADE_FEATURES = "upgrade-reboot mtd-utils-static"

IMAGE_INSTALL = "${CORE_FEATURES} \
                 ${NETWORKING_FEATURES} \
                 ${UPGRADE_FEATURES} \
                 ${MULTITECH_FEATURES} \
                 ${MULTITECH_MTAC} \
                 "