* [PATCH] image.bbclass: improve wording when image size exceeds the specified limit
@ 2020-07-20 11:08 Daniel Ammann
0 siblings, 0 replies; only message in thread
From: Daniel Ammann @ 2020-07-20 11:08 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
---
meta/classes/image.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 694b58fc9f..3b5600e550 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -548,14 +548,14 @@ def get_rootfs_size(d):
if rootfs_maxsize:
rootfs_maxsize_int = int(rootfs_maxsize)
if base_size > rootfs_maxsize_int:
- bb.fatal("The rootfs size %d(K) overrides IMAGE_ROOTFS_MAXSIZE: %d(K)" % \
+ bb.fatal("The rootfs size %d(K) exceeds IMAGE_ROOTFS_MAXSIZE: %d(K)" % \
(base_size, rootfs_maxsize_int))
# Check the initramfs size against INITRAMFS_MAXSIZE (if set)
if image_fstypes == initramfs_fstypes != '' and initramfs_maxsize:
initramfs_maxsize_int = int(initramfs_maxsize)
if base_size > initramfs_maxsize_int:
- bb.error("The initramfs size %d(K) overrides INITRAMFS_MAXSIZE: %d(K)" % \
+ bb.error("The initramfs size %d(K) exceeds INITRAMFS_MAXSIZE: %d(K)" % \
(base_size, initramfs_maxsize_int))
bb.error("You can set INITRAMFS_MAXSIZE a larger value. Usually, it should")
bb.fatal("be less than 1/2 of ram size, or you may fail to boot it.\n")
--
2.20.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-20 11:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-20 11:08 [PATCH] image.bbclass: improve wording when image size exceeds the specified limit Daniel Ammann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox