SUMMARY = "HV MPD development image"
-require include/image-hvmpd-common.inc
-
-# Image suitable for development (empty root password):
-IMAGE_FEATURES += "debug-tweaks"
-
-# Add debugging tools (gdb and strace, etc):
-#IMAGE_FEATURES += "tools-debug"
+# In meta-dimonoff:
+require recipes-core/images/image-gateway-dev.bb
-# Add development tools (gcc, make, pkgconfig, etc):
-#IMAGE_FEATURES += "tools-sdk"
-
-# Additional development tools:
-IMAGE_INSTALL:append = " \
- curl \
- lsof \
- spitools \
-"
+require include/image-hvmpd-common.inc
SUMMARY = "HV MPD production image"
+# In meta-dimonoff:
+require recipes-core/images/image-gateway-prod.bb
+
require include/image-hvmpd-common.inc
-LICENSE = "CLOSED"
-
-inherit core-image
-
-IMAGE_FEATURES += "ssh-server-openssh"
-
# Common features/components:
IMAGE_INSTALL:append = " \
- libgpiod-tools \
- parted \
- e2fsprogs \
- nano \
- tzdata \
- util-linux \
- sudo \
- evtest \
- i2c-tools \
ethtool \
nfs-utils \
rsync \
kernel-modules \
"
+# Not using extlinux for now:
+IMAGE_INSTALL:remove = "${PREFERRED_PROVIDER_virtual/bootloader}-extlinux"
+
# Music server specific features/components:
IMAGE_INSTALL:append = " \
alsa-utils \
IMAGE_INSTALL:append = " \
avahi-daemon \
"
-
-IMAGE_INSTALL:append = " \
- libubootenv \
- u-boot-fw-utils \
- u-boot-default-env \
-"
-
-# Add SWUpdate components
-IMAGE_INSTALL:append = " \
- swupdate \
- swupdate-usb \
- swupdate-progress \
-"
-
-EXTRA_IMAGEDEPENDS += "swupdate-ab"
-
-# Remove swupdate-www (package with the website, that you can customize with
-# your own logo, template and style).
-IMAGE_INSTALL:remove = " \
- swupdate-www \
-"
-
-IMAGE_FSTYPES += "tar.gz"
+++ /dev/null
-LICENSE = "CLOSED"
-
-FILESEXTRAPATHS:prepend := "${THISDIR}/update:"
-
-SRC_URI = " \
- file://sw-description \
-"
-
-# Image(s) and files that will be included in the .swu image
-SWUPDATE_IMAGES = "${IMAGE_DEPENDS} swupdate-ab.sh"
-
-UBOOT_PART_VAR ?= "mmcpart"
-
-inherit swupdate