Skip to content

Commit

Permalink
remove meta-poky references
Browse files Browse the repository at this point in the history
Summary:
meta-poky recently added an `/etc/motd` file with a big
warning that it isn't intended to be used in production and Quanta
noticed this warning when testing out GTT and GTI releases.  Researching
this, I'm removing meta-poky from both Linux Foundation upstream and
our tree. See also:

   - https://lore.kernel.org/openbmc/ZfRypYIR-hz1hGwz@heinlein.vulture-banana.ts.net/
   - https://gerrit.openbmc.org/c/openbmc/openbmc/+/70072

Test Plan:
Built yosemite4 successfully.  Ran bitbake processing on
angelslanding and yosemite4, and compared before/after for
compatibility.

Reviewed By: jagpalgill

Differential Revision: D54956728

fbshipit-source-id: f5eb5cefc04cff4f2e7e0a6ed0f0e78a5a525ad5
  • Loading branch information
williamspatrick authored and facebook-github-bot committed Mar 22, 2024
1 parent e9a76af commit 2bc14ea
Show file tree
Hide file tree
Showing 80 changed files with 47 additions and 134 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-yocto-bsp \
##OEROOT##/../meta-openembedded/meta-oe \
##OEROOT##/../meta-openembedded/meta-networking \
Expand All @@ -23,5 +22,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
Expand All @@ -26,5 +25,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
4 changes: 4 additions & 0 deletions meta-facebook/conf/distro/include/fb-base.inc
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ BB_DISKMON_DIRS ??= "\
# We have a lot of patches that don't have an Upstream-Status, so diable this
# QA rather than modifying all the patch files.
ERROR_QA:remove = "patch-status"

# Pick up defaults for sstate hashing from poky.conf
BB_SIGNATURE_HANDLER ?= "OEEquivHash"
BB_HASHSERVE ??= "auto"
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Facebook OpenBMC distro

# Use the base poky distro, but override various parameters.
require conf/distro/poky.conf
require conf/distro/include/fb-base.inc
DISTROOVERRIDES .= ":openbmc-fb"

Expand Down Expand Up @@ -48,3 +47,13 @@ CONF_VERSION ?= "1"
HOSTTOOLS += "realpath"

PREFERRED_VERSION_asd ?= "0.1"

TCLIBCAPPEND = ""
QEMU_TARGETS ?= "arm aarch64 i386 riscv32 riscv64 ppc64le x86_64"
INIT_MANAGER ?= "sysvinit"

require conf/distro/include/yocto-uninative.inc
INHERIT += "uninative"

require conf/distro/include/no-static-libs.inc
require conf/distro/include/security_flags.inc
2 changes: 2 additions & 0 deletions meta-facebook/conf/distro/openbmc-fb-dunfell.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DISTRO_CODENAME="dunfell"
require conf/distro/include/fb-openbmc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DISTRO_CODENAME="kirkstone"
# Yocto versions Honister and above need a bump to the CONF_VERSION.
CONF_VERSION = "2"

require conf/distro/openbmc-fb.conf
require conf/distro/include/fb-openbmc.inc
9 changes: 4 additions & 5 deletions meta-facebook/conf/distro/openbmc-fb-master.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
require conf/distro/openbmc-fb-2.conf
DISTRO_CODENAME="master"
# Yocto versions Honister and above need a bump to the CONF_VERSION.
CONF_VERSION = "2"
require conf/distro/include/fb-openbmc.inc

# Starting in Yocto-Nanbield, the CONVERSION_CMDs are no longer expected to
# use the IMAGE_NAME_SUFFIX, but we need our `fb-openbmc-image` to support
# both older and new Yocto. We can set IMAGE_NAME_SUFFIX to an empty string
# on master and satisfy both.
IMAGE_NAME_SUFFIX=""

# We need the manifold mirror to pull from the lf-master branch.
# Set this after all the `requires` so it doesn't get overwritten by poky's.
DISTRO_CODENAME="master"
3 changes: 3 additions & 0 deletions meta-facebook/conf/distro/openbmc-fb-rocko.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DISTRO_CODENAME="rocko"
BB_SIGNATURE_HANDLER ?= "OEBasicHash"
require conf/distro/include/fb-openbmc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-perl \
Expand All @@ -28,5 +27,4 @@ BBLAYERS ?= " \

BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
Expand All @@ -24,5 +23,4 @@ BBLAYERS ?= " \

BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ OLDEST_KERNEL = "5.10"
MACHINE ??= "churchillmono"

# OpenBMC distro settings - Keeping as openbmc-fb to avoid incompatibilities
DISTRO ?= "openbmc-fb-2"
DISTRO ?= "openbmc-fb-kirkstone"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
Expand All @@ -21,5 +20,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
Expand All @@ -23,5 +22,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ OLDEST_KERNEL = "5.10"
MACHINE ??= "cloudripper"

# OpenBMC distro settings
DISTRO ?= "openbmc-fb"
DISTRO ?= "openbmc-fb-dunfell"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
Expand All @@ -20,5 +19,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
MACHINE ??= "cmm"

# OpenBMC distro settings
DISTRO ?= "openbmc-fb"
DISTRO ?= "openbmc-fb-dunfell"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
Expand All @@ -23,5 +22,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
MACHINE ??= "elbert"

# OpenBMC distro settings
DISTRO ?= "openbmc-fb"
DISTRO ?= "openbmc-fb-dunfell"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
Expand All @@ -21,5 +20,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
Expand All @@ -24,5 +23,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
MACHINE ??= "fbdarwin"

# OpenBMC distro settings
DISTRO ?= "openbmc-fb-2"
DISTRO ?= "openbmc-fb-kirkstone"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
Expand All @@ -21,5 +20,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
Expand All @@ -21,5 +20,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-yocto-bsp \
##OEROOT##/../meta-security/meta-tpm \
##OEROOT##/../meta-openembedded/meta-oe \
Expand All @@ -22,5 +21,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ MACHINE ??= "fbtp"
# MACHINE ??= "fbtp-ubu"

# OpenBMC distro settings
DISTRO ?= "openbmc-fb"
DISTRO ?= "openbmc-fb-rocko"

# The following will enable a build capable of verified-boot.
# Images and the resultant flash are always built as a FIT (firmware image).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-yocto-bsp \
##OEROOT##/../meta-security/meta-tpm \
##OEROOT##/../meta-openembedded/meta-oe \
Expand All @@ -22,5 +21,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
MACHINE ??= "fbttn"

# OpenBMC distro settings
DISTRO ?= "openbmc-fb"
DISTRO ?= "openbmc-fb-rocko"

# The following will enable a build capable of verified-boot.
# Images and the resultant flash are always built as a FIT (firmware image).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
Expand All @@ -20,5 +19,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/../meta-openembedded/meta-oe \
##OEROOT##/../meta-security/meta-tpm \
##OEROOT##/../meta-openembedded/meta-networking \
Expand All @@ -21,5 +20,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

# Machine Selection
MACHINE ??= "fby2"
# select uncomment the following line to use pliot uboot upgrade
# select uncomment the following line to use pliot uboot upgrade
# MACHINE = "fby2-ubu"

# OpenBMC distro settings
DISTRO ?= "openbmc-fb"
DISTRO ?= "openbmc-fb-rocko"

# The following will enable a build capable of verified-boot.
# Images and the resultant flash are always built as a FIT (firmware image).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-yocto-bsp \
##OEROOT##/../meta-security/meta-tpm \
##OEROOT##/../meta-openembedded/meta-oe \
Expand All @@ -23,5 +22,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
MACHINE ??= "fbgp2"

# OpenBMC distro settings
DISTRO ?= "openbmc-fb"
DISTRO ?= "openbmc-fb-rocko"

# The following will enable a build capable of verified-boot.
# Images and the resultant flash are always built as a FIT (firmware image).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-yocto-bsp \
##OEROOT##/../meta-security/meta-tpm \
##OEROOT##/../meta-openembedded/meta-oe \
Expand All @@ -23,5 +22,4 @@ BBLAYERS ?= " \
"
BBLAYERS_NON_REMOVABLE ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
"
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
MACHINE ??= "fby2-kernel"

# OpenBMC distro settings
DISTRO ?= "openbmc-fb"
DISTRO ?= "openbmc-fb-rocko"

# The following will enable a build capable of verified-boot.
# Images and the resultant flash are always built as a FIT (firmware image).
Expand Down
Loading

0 comments on commit 2bc14ea

Please sign in to comment.