From 1fc88b953e97863bd4f5c5f755c0cbbddde78c6d Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sun, 22 Jan 2023 15:19:34 -0500 Subject: [PATCH] Use same rootfs size for all images --- conf/distro/hvmpd.conf | 3 +++ recipes-core/images/image-hvmpd-dev.bb | 3 --- recipes-core/images/image-hvmpd-prod.bb | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/conf/distro/hvmpd.conf b/conf/distro/hvmpd.conf index e4902d2..f352305 100644 --- a/conf/distro/hvmpd.conf +++ b/conf/distro/hvmpd.conf @@ -3,6 +3,9 @@ require conf/distro/poky.conf DISTRO = "hvmpd" DISTRO_NAME = "HV MPD distribution" +# This can be overrided by machine-specific extra configuration: +IMAGE_ROOTFS_SIZE = "1048576" + # Use include instead of require as these are optional # depending on the particular machine: include raspberrypi/conf/machine/${MACHINE}-extra.conf diff --git a/recipes-core/images/image-hvmpd-dev.bb b/recipes-core/images/image-hvmpd-dev.bb index fae9a50..ed15947 100644 --- a/recipes-core/images/image-hvmpd-dev.bb +++ b/recipes-core/images/image-hvmpd-dev.bb @@ -17,6 +17,3 @@ IMAGE_INSTALL:append = " \ lsof \ spitools \ " - -# Size must be in Kbytes: -IMAGE_ROOTFS_SIZE = "1048576" diff --git a/recipes-core/images/image-hvmpd-prod.bb b/recipes-core/images/image-hvmpd-prod.bb index 643f66d..b5ac0cb 100644 --- a/recipes-core/images/image-hvmpd-prod.bb +++ b/recipes-core/images/image-hvmpd-prod.bb @@ -1,6 +1,3 @@ SUMMARY = "HV MPD production image" require image-hvmpd-common.inc - -# Size must be in Kbytes: -IMAGE_ROOTFS_SIZE = "768000" -- 2.20.1