summaryrefslogtreecommitdiff
path: root/multitech/recipes/images/corecdp-minimal-image.bb
blob: 8e2a206046eae5d790487930932a3e0b6692c86d (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
inherit image

DISTRO_SSH_DAEMON ?= "dropbear"

# remove kernel package from rootfs to save space
# uImage is flashed to a different partition, so it isn't needed
PACKAGE_REMOVE = "kernel-image-*"
ROOTFS_POSTPROCESS_COMMAND += "opkg-cl ${IPKG_ARGS} -force-depends \
                               remove ${PACKAGE_REMOVE};"

CORE_FEATURES = "mtd-utils u-boot usbutils usb-gadget-mode \
                 sysfsutils module-init-tools kernel-modules \
                 bash \
                "

NETWORKING_FEATURES = "ppp \
                       netkit-ftp lftp curl \
                       iptables iptables-utils \
                      "

MULTITECH_FEATURES = "mts-io \
                      config \
                     "

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

IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"

IMAGE_INSTALL = "task-boot \
                util-linux-ng-mount util-linux-ng-umount \
                ${DISTRO_SSH_DAEMON} \
                ${CORE_FEATURES} \
                ${NETWORKING_FEATURES} \
                ${MULTITECH_FEATURES} \
                ${UPGRADE_FEATURES} \
                "

export IMAGE_BASENAME = "corecdp-minimal-image"
IMAGE_LINGUAS = ""

require corecdp-tftpboot.inc