summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2018-04-02 18:40:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-03 10:53:49 +0100
commit2ca601bef44a07512c93b8452cf9001dce402617 (patch)
treec5b943aba6d1ce6c0e9e09695ee6ef287f57320f /meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
parent77d701c5fb5961bd818810a4d4cb3a9bd2432fae (diff)
downloadopenembedded-core-contrib-2ca601bef44a07512c93b8452cf9001dce402617.tar.gz
openembedded-core-contrib-2ca601bef44a07512c93b8452cf9001dce402617.tar.bz2
openembedded-core-contrib-2ca601bef44a07512c93b8452cf9001dce402617.zip
initrdscripts: init-install(-efi).sh: don't assume 20M boot partition
With multi kernel support in the installer we can exceed this limit. Calculate a sane size by checking the size of the original boot partition minus some objects we know won't be installed, plus some extra space for users. In addition, in the common case where only one small kernel is present to be installed, we actually get a smaller boot partition with less wasted space. Also add VIRTUAL-RUNTIME_base-utils to RDEPENDS where these scripts are used, as they're needed for the du command. [YOCTO #12583]. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb')
-rw-r--r--meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
index 02b69f37a4..04e90cd302 100644
--- a/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb
@@ -1,7 +1,7 @@
SUMMARY = "initramfs-framework module for installation option"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-RDEPENDS_${PN} = "initramfs-framework-base grub parted e2fsprogs-mke2fs util-linux-blkid"
+RDEPENDS_${PN} = "initramfs-framework-base grub parted e2fsprogs-mke2fs util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}"
# The same restriction as grub
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'