Skip to contentSkip to conversation

core-image-minimal: Raise size limit to 16M

PATCH In review Khem Raj 1 participant 2 messages Feb 25, 2021 – Feb 26, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 core-image-minimal: Raise size limit to 16M

latest core image mimial/sysvinit has less free space so df tests fail with

AssertionError: False is not true : Not enough space on image. Current size is 2717

---
 meta/recipes-core/images/core-image-minimal.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/images/core-image-minimal.bb +2 -2
index 19f27f8395..a48e634546 100644
@@ -8,5 +8,5 @@ LICENSE = "MIT"
 
 inherit core-image
 
-IMAGE_ROOTFS_SIZE ?= "8192"
-IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "", d)}"
+# 16M
+IMAGE_ROOTFS_SIZE ?= "16384"
Signature · 1 line
2.30.1
author
#1 lore raw

this patch is not needed, for record I have EXTRA_IMAGE_FEATURES_append = " package-management ssh-server-dropbear" in config metadata which trips over the df test

Quoted 26 lines · Khem Raj

latest core image mimial/sysvinit has less free space so df tests fail with

AssertionError: False is not true : Not enough space on image. Current size is 2717

---
 meta/recipes-core/images/core-image-minimal.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/images/core-image-minimal.bb +2 -3
index 19f27f8395..a48e634546 100644
@@ -8,5 +8,5 @@ LICENSE = "MIT"
 
 inherit core-image
 
-IMAGE_ROOTFS_SIZE ?= "8192"
-IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "", d)}"
+# 16M
+IMAGE_ROOTFS_SIZE ?= "16384"
--

2.30.1