Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -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"