From: Hugo Villeneuve Date: Sun, 22 Jan 2023 20:19:34 +0000 (-0500) Subject: Use same rootfs size for all images X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=1fc88b953e97863bd4f5c5f755c0cbbddde78c6d;p=yocto%2Fmeta-hvmpd.git Use same rootfs size for all images --- 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"