diff options
author | Daniel Ammann <daniel.ammann@bytesatwork.ch> | 2020-07-20 13:08:17 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2020-07-24 04:35:37 -1000 |
commit | faf93355614c5e5d9aec8222a7df780324868c7a (patch) | |
tree | 8bef4bf614bf20f67dc00bc396396178b4654278 | |
parent | 2541b5be1e9c2c33ca8017130461a19f8734d883 (diff) | |
download | openembedded-core-faf93355614c5e5d9aec8222a7df780324868c7a.tar.gz |
image.bbclass: improve wording when image size exceeds the specified limit
Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fcaab9d686a4afe53a4693f3b30634215d682389)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/classes/image.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 07aa1f1fa5..6620a9e9c3 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -551,14 +551,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") |