Use common images from meta-dimonoff
authorHugo Villeneuve <hugo@hugovil.com>
Thu, 31 Oct 2024 15:58:33 +0000 (11:58 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 19 Nov 2025 01:21:38 +0000 (20:21 -0500)
recipes-core/images/image-hvmpd-dev.bb
recipes-core/images/image-hvmpd-prod.bb
recipes-core/images/include/image-hvmpd-common.inc
recipes-core/images/include/update-common.inc [deleted file]

index 06e3ff6..98751f9 100644 (file)
@@ -1,19 +1,6 @@
 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
index 69d5098..5c01e97 100644 (file)
@@ -1,3 +1,6 @@
 SUMMARY = "HV MPD production image"
 
+# In meta-dimonoff:
+require recipes-core/images/image-gateway-prod.bb
+
 require include/image-hvmpd-common.inc
index ba1da71..ef1cefe 100644 (file)
@@ -1,20 +1,5 @@
-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 \
@@ -27,6 +12,9 @@ IMAGE_INSTALL:append = " \
     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 \
@@ -40,26 +28,3 @@ IMAGE_INSTALL:append = " \
 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"
diff --git a/recipes-core/images/include/update-common.inc b/recipes-core/images/include/update-common.inc
deleted file mode 100644 (file)
index eb9a50f..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-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