meta-digi: do not install kernel image in rootfs
It's just a waste of space as we already have the kernel image in the 'linux' partition and that gets mounted under /mnt/linux. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
d0ec5c7aab
commit
90b3c244da
|
|
@ -24,11 +24,6 @@ require ${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'recipes-kernel/linux/li
|
||||||
# Use custom provided 'defconfig' if variable KERNEL_DEFCONFIG is cleared
|
# Use custom provided 'defconfig' if variable KERNEL_DEFCONFIG is cleared
|
||||||
SRC_URI +="${@oe.utils.conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)}"
|
SRC_URI +="${@oe.utils.conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)}"
|
||||||
|
|
||||||
FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/config-${KERNEL_VERSION}"
|
|
||||||
|
|
||||||
# Don't include kernels in standard images
|
|
||||||
RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
|
|
||||||
|
|
||||||
do_install:append:stm32mpcommon() {
|
do_install:append:stm32mpcommon() {
|
||||||
if ${@bb.utils.contains('MACHINE_FEATURES','gpu','true','false',d)}; then
|
if ${@bb.utils.contains('MACHINE_FEATURES','gpu','true','false',d)}; then
|
||||||
# append evbug tool to blacklist
|
# append evbug tool to blacklist
|
||||||
|
|
|
||||||
|
|
@ -24,11 +24,6 @@ require ${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'recipes-kernel/linux/li
|
||||||
# Use custom provided 'defconfig' if variable KERNEL_DEFCONFIG is cleared
|
# Use custom provided 'defconfig' if variable KERNEL_DEFCONFIG is cleared
|
||||||
SRC_URI +="${@oe.utils.conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)}"
|
SRC_URI +="${@oe.utils.conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)}"
|
||||||
|
|
||||||
FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/config-${KERNEL_VERSION}"
|
|
||||||
|
|
||||||
# Don't include kernels in standard images
|
|
||||||
RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
|
|
||||||
|
|
||||||
# Apply configuration fragments
|
# Apply configuration fragments
|
||||||
do_configure:append() {
|
do_configure:append() {
|
||||||
# Only accept fragments ending in .cfg. If the fragments contain
|
# Only accept fragments ending in .cfg. If the fragments contain
|
||||||
|
|
|
||||||
|
|
@ -17,11 +17,6 @@ require recipes-kernel/linux/linux-trustfence.inc
|
||||||
# Use custom provided 'defconfig' if variable KERNEL_DEFCONFIG is cleared
|
# Use custom provided 'defconfig' if variable KERNEL_DEFCONFIG is cleared
|
||||||
SRC_URI += "${@oe.utils.conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)}"
|
SRC_URI += "${@oe.utils.conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)}"
|
||||||
|
|
||||||
FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/config-${KERNEL_VERSION}"
|
|
||||||
|
|
||||||
# Don't include kernels in standard images
|
|
||||||
RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
|
|
||||||
|
|
||||||
# Apply configuration fragments
|
# Apply configuration fragments
|
||||||
do_configure:append() {
|
do_configure:append() {
|
||||||
# Only accept fragments ending in .cfg. If the fragments contain
|
# Only accept fragments ending in .cfg. If the fragments contain
|
||||||
|
|
|
||||||
|
|
@ -63,3 +63,6 @@ DEPENDS += "${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'trustfence-sign-too
|
||||||
|
|
||||||
# Remove kernel-module-imx-gpu-viv from all images
|
# Remove kernel-module-imx-gpu-viv from all images
|
||||||
BAD_RECOMMENDATIONS += "kernel-module-imx-gpu-viv"
|
BAD_RECOMMENDATIONS += "kernel-module-imx-gpu-viv"
|
||||||
|
|
||||||
|
# Do not include kernel in rootfs images
|
||||||
|
PACKAGE_EXCLUDE = "kernel-image-*"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue