meta-inspur: fp5280g2: native class is not inherited last
- Moved "inherit native" statements to the last position to remove QA
Issues.
- This commit contains occ and vpd, the message is:
WARNING: QA Issue: fp5280g2-openpower-fru-vpd-layout-native:
native/nativesdk class is not inherited last, this can result in
unexpected behaviour. Classes inherited after native/nativesdk:
openpower-fru-vpd.bbclass [native-last]
WARNING: QA Issue: fp5280g2-openpower-fru-inventory-native:
native/nativesdk class is not inherited last, this can result in
unexpected behaviour. Classes inherited after native/nativesdk:
openpower-fru-vpd.bbclass [native-last]
WARNING: QA Issue: fp5280g2-occ-control-config-native:
native/nativesdk class is not inherited last, this can result in
unexpected behaviour. Classes inherited after native/nativesdk:
openpower-occ-control.bbclass [native-last]
Tested: Built fp5280g2 image successfully and without the warnings.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ifc6f90296a1921ec22267d33ab0bcb8ee0579dcc
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/occ/fp5280g2-occ-control-config-native.bb b/meta-inspur/meta-fp5280g2/recipes-phosphor/occ/fp5280g2-occ-control-config-native.bb
index 4cf2677..fbbab0b 100644
--- a/meta-inspur/meta-fp5280g2/recipes-phosphor/occ/fp5280g2-occ-control-config-native.bb
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/occ/fp5280g2-occ-control-config-native.bb
@@ -3,8 +3,8 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
-inherit native
inherit openpower-occ-control
+inherit native
SRC_URI += "file://occ_sensor.yaml"