Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
simplify setting of KERNEL_DANGLING_FEATURES_WARN_ONLY
Browse files Browse the repository at this point in the history
Setting this within python is not required

Change-Id: Ic3f6ea6470f2cb87ab3fd5e2c2f9aa50f03d2014
Signed-off-by: Andrew Geissler <[email protected]>
  • Loading branch information
geissonator authored and bradbishop committed Sep 8, 2020
1 parent 6572d94 commit b737ffb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
9 changes: 3 additions & 6 deletions aspeed-layer/recipes-kernel/linux/linux-aspeed_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ SRC_URI += "file://phosphor-wdt-on-panic.cfg"
KERNEL_FEATURES_append = " phosphor-vlan"
KERNEL_FEATURES_remove_qemuall = " phosphor-vlan"

python () {
# OpenBMC loads in kernel features via other mechanisms so this check
# in the kernel-yocto.bbclass is not required
d.setVar("KERNEL_DANGLING_FEATURES_WARN_ONLY","1")
}

# OpenBMC loads in kernel features via other mechanisms so this check
# in the kernel-yocto.bbclass is not required
KERNEL_DANGLING_FEATURES_WARN_ONLY="1"
10 changes: 3 additions & 7 deletions nuvoton-layer/recipes-kernel/linux/linux-nuvoton_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://phosphor-gpio-keys.scc"
SRC_URI += "file://phosphor-gpio-keys.cfg"


python () {
# OpenBMC loads in kernel features via other mechanisms so this check
# in the kernel-yocto.bbclass is not required
d.setVar("KERNEL_DANGLING_FEATURES_WARN_ONLY","1")
}

# OpenBMC loads in kernel features via other mechanisms so this check
# in the kernel-yocto.bbclass is not required
KERNEL_DANGLING_FEATURES_WARN_ONLY="1"

0 comments on commit b737ffb

Please sign in to comment.