mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 05:39:39 +01:00
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]. (From OE-Core rev: 2ca601bef44a07512c93b8452cf9001dce402617) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
712 B
BlitzBasic
25 lines
712 B
BlitzBasic
SUMMARY = "Live image install script for grub"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
SRC_URI = "file://init-install.sh"
|
|
|
|
PR = "r9"
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
RDEPENDS_${PN} = "grub parted e2fsprogs-mke2fs util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}"
|
|
|
|
do_install() {
|
|
install -m 0755 ${WORKDIR}/init-install.sh ${D}/install.sh
|
|
}
|
|
|
|
# While this package maybe an allarch due to it being a
|
|
# simple script, reality is that it is Host specific based
|
|
# on the COMPATIBLE_HOST below, which needs to take precedence
|
|
#inherit allarch
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
FILES_${PN} = " /install.sh "
|
|
|
|
COMPATIBLE_HOST = "(i.86.*|x86_64.*|aarch64.*)-linux"
|