Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# We have a conf and classes directory, add to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
# We have recipes-* directories, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
||||
${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "facebook-layer"
|
||||
BBFILE_PATTERN_facebook-layer := "^${LAYERDIR}/"
|
||||
LAYERSERIES_COMPAT_facebook-layer := "langdale mickledore"
|
||||
@@ -0,0 +1,3 @@
|
||||
MACHINEOVERRIDES =. "fb-compute-multihost:"
|
||||
|
||||
require conf/machine/include/facebook-compute.inc
|
||||
@@ -0,0 +1,3 @@
|
||||
MACHINEOVERRIDES =. "fb-compute-singlehost:"
|
||||
|
||||
require conf/machine/include/facebook-compute.inc
|
||||
@@ -0,0 +1,3 @@
|
||||
MACHINEOVERRIDES =. "fb-compute:"
|
||||
|
||||
require conf/machine/include/facebook-withhost.inc
|
||||
@@ -0,0 +1,3 @@
|
||||
MACHINEOVERRIDES =. "fb-nohost:"
|
||||
|
||||
require conf/machine/include/facebook.inc
|
||||
@@ -0,0 +1,2 @@
|
||||
MACHINE_FEATURES:append = " fb-secondary-emmc"
|
||||
MACHINEOVERRIDES:append = ":mf-fb-secondary-emmc"
|
||||
@@ -0,0 +1,2 @@
|
||||
MACHINE_FEATURES:append = " tpm2"
|
||||
DISTRO_FEATURES:append = " tpm"
|
||||
@@ -0,0 +1,15 @@
|
||||
MACHINEOVERRIDES =. "fb-withhost:"
|
||||
|
||||
require conf/machine/include/facebook.inc
|
||||
|
||||
MACHINE_FEATURES += "\
|
||||
obmc-chassis-state-mgmt \
|
||||
obmc-host-ipmi \
|
||||
obmc-host-state-mgmt \
|
||||
obmc-phosphor-chassis-mgmt \
|
||||
"
|
||||
|
||||
VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control"
|
||||
VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-kcs"
|
||||
@@ -0,0 +1,23 @@
|
||||
DISTROOVERRIDES .= ":facebook"
|
||||
|
||||
MACHINE_FEATURES += "\
|
||||
obmc-bmc-state-mgmt \
|
||||
obmc-phosphor-fan-mgmt \
|
||||
obmc-phosphor-flash-mgmt \
|
||||
"
|
||||
|
||||
VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-fb-apps"
|
||||
PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-fb-apps"
|
||||
PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-fb-apps"
|
||||
PREFERRED_PROVIDER_virtual/obmc-inventory-data ?= "${VIRTUAL-RUNTIME_skeleton_workbook}"
|
||||
PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-fb-apps"
|
||||
|
||||
IMAGE_FEATURES:remove = "obmc-ikvm"
|
||||
IMAGE_FEATURES:append = " allow-root-login"
|
||||
|
||||
# Most of our hardware uses the default ttyS4 but at 57600.
|
||||
SERIAL_CONSOLES:facebook = "57600;ttyS4"
|
||||
|
||||
OBMC_ORG_YAML_SUBDIRS:append:facebook = " com/meta"
|
||||
Reference in New Issue
Block a user