mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
initramfs-kexecboot-image: disable runtime dependency on run-postinsts
The runtime dependency chain leads to the install of unneeded files: /usr/sbin/run-postinsts /usr/sbin/update-rc.d This comes from the default value of ROOTFS_BOOTSTRAP_INSTALL='run-postinsts' To fix this, for this image we need an empty var. While there, do the same for KERNELDEPMODDEPEND as suggested in image.bbclass. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
8731b651cb
commit
547c047e42
@@ -3,10 +3,13 @@ DESCRIPTION = "This image provides kexecboot (linux as bootloader) and helpers."
|
|||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
||||||
|
inherit image
|
||||||
|
|
||||||
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
|
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
|
||||||
|
|
||||||
# avoid circular dependencies
|
# avoid circular dependencies
|
||||||
EXTRA_IMAGEDEPENDS = ""
|
EXTRA_IMAGEDEPENDS = ""
|
||||||
|
KERNELDEPMODDEPEND = ""
|
||||||
|
|
||||||
# We really need just kexecboot, kexec and ubiattach
|
# We really need just kexecboot, kexec and ubiattach
|
||||||
IMAGE_INSTALL = "kexecboot kexec mtd-utils-ubifs"
|
IMAGE_INSTALL = "kexecboot kexec mtd-utils-ubifs"
|
||||||
@@ -18,7 +21,8 @@ IMAGE_LINGUAS = ""
|
|||||||
|
|
||||||
FEED_DEPLOYDIR_BASE_URI = ""
|
FEED_DEPLOYDIR_BASE_URI = ""
|
||||||
LDCONFIGDEPEND = ""
|
LDCONFIGDEPEND = ""
|
||||||
|
|
||||||
IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
||||||
|
|
||||||
inherit image
|
# disable runtime dependency on run-postinsts -> update-rc.d
|
||||||
|
ROOTFS_BOOTSTRAP_INSTALL = ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user