summaryrefslogtreecommitdiff
path: root/meta-google/conf
AgeCommit message (Collapse)AuthorFilesLines
5 daysmeta-google: Set VOLATILE_LOG_DIR to yesVivekanand Veeracholan1-0/+3
The previous default behavior of /var/log directory being volatile is removed in https://gerrit.openbmc.org/c/openbmc/openbmc/+/69959. Set this to old behavior for Google machines. Change-Id: I19b321ae5112434db68252d9bc40d646292fd970 Signed-off-by: Vivekanand Veeracholan <vveerach@google.com>
2024-04-03meta-google: Add local GBMC_CONFIGWilly Tu1-2/+4
The local override is meant to be used for local testing over and not to automated builds that may be used for releases. Set the default config to local now. Tested: ``` bitbake obmc-phosphor-image -e // Got the OVERRIDES to have both local the dev OVERRIDES=":gbmc:local::dev:" ``` Change-Id: I9315fdea220483c6b2e0c873e2b31a1454470d5a Signed-off-by: Willy Tu <wltu@google.com>
2023-11-25treewide: add scarthgap to LAYERSERIES_COMPAT2.16.0-devPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I28ee50fa55ae47dd7fd8c99f8f6db8f5f6dfa53d
2023-11-24treewide: add nanbield to LAYERSERIES_COMPATPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I85272779478b66452acd11be93f5fea99e4c3a34
2023-11-09meta-google: Purge all avahi supportWilliam A. Kennington III1-0/+1
We never used this and we never intend to pick it back up. Change-Id: Iaa23d6b9d87129eca8e76d67b8173941342ea2e9 Signed-off-by: William A. Kennington III <wak@google.com>
2023-10-11meta-google: opt out of webuiPatrick Williams1-0/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I515d5f732b02038b20a8ae45afc8b8d93d5d278d
2023-08-16meta-google: Ignore configuring meta-tpm layerVlad Sytchenko1-0/+3
Follow advice described in meta-tpm README to avoid warnings on each bitbake invocation saying that the layer is not configured. Change-Id: Ic7578ce4fe558bcae5204bb42b30f2247eff1c54 Signed-off-by: Vlad Sytchenko <vsytch@google.com>
2023-07-21meta-google: Remove python3-core from nftablesWilly Tu1-0/+3
python3-core is taking a lot of space causing the image to be too large in some systems. Remove the python package config to remove the dependencies. This is not done in bbappend because it didn't work when testing it out. Tested: Built with gbs and it doesn't have python3-core when tested with ``` INHERIT += "buildhistory" BUILDHISTORY_COMMIT = "1" ``` to get the package sizes. Change-Id: I5040cfb46ad618d622855891a462d53a887433fd Signed-off-by: Willy Tu <wltu@google.com>
2023-05-26meta-google: Depend on tpm-layer for libhothWilliam A. Kennington III1-1/+1
You can't build meta-google without including libhoth support. Change-Id: I77799f63c444bcbd1ce7dd3761fccf29a60d3cd4 Signed-off-by: William A. Kennington III <wak@google.com>
2023-04-18meta-google: remove required npcm8xx-tip-fw versionAnthony1-1/+0
npcm8xx-tip-fw already specifies per-IGPS_MACHINE configuration in https://github.com/openbmc/openbmc/blob/4b8284784129e050c556b372e7116f884a168e8c/meta-nuvoton/recipes-bsp/images/npcm8xx-tip-fw_0.5.6.0.4.5.bb#L3 Change-Id: I635dfb6c2ed769d0f098e6ab2443dceaca79b789 Signed-off-by: Anthony <anthonyhkf@google.com>
2023-02-10meta-google: distro: override EXTENDED_VERSIONBenjamin Fair1-0/+1
This variable is set by default based on the latest tag, but this doesn't work in Google's environment. Set it to be the same as DISTRO_VERSION instead, which is based on a version variable passed in from the environment. Tested: Built for kudo and examined os-release Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: Ib9acabae57ed69f4d32f0256f8425923039f4a8a
2023-01-13yocto:mickledore: add support for new yocto layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
2022-12-19meta-nuvoton: npcm8xx-tip-fw: update to GOOGLE2 releaseBenjamin Fair1-1/+1
Changelog: - Add flag CERBERUS_SECURE_BOOT_ONLY. No udpate, recovery and logging. Change-Id: Id242eca001cadd7e6a0ed116300baa87f56a0ddb Signed-off-by: Benjamin Fair <benjaminfair@google.com>
2022-12-19meta-nuvoton: npcm8xx-igps: update to 03.08.00Benjamin Fair1-1/+1
Also remove Google-specific version since it has been merged into the mainline branch. Changelog: IGPS 03.08.00 - Dec 15th 2022 ============== - TIP_FW: 0.5.0 L0 0.3.9 L1 - Code cleanup for production. - bug fix key selection during recovery. - Add DME+RIOT data export to PCI MBOX. - align BMC and TIP that both will use PLL2 and not CLKREF. - Bug fix: don't save previous INTCR2 for reset indication. - Bug fix: update flow using wrong KMT. - TIP_FW: 0.5.0 L0 0.3.9 L1 GOOGLE3 - aligned to the above release. - split SFDP - enable flag CERBERUS_SECURE_BOOT_ONLY - uboot https://github.com/Nuvoton-Israel/u-boot/releases/tag/v2021.04-npcm8xx-20221215 - OpTee: https://github.com/Nuvoton-Israel/optee_os/releases/tag/npcm845x_3.18.0_v1.0 - linux offset 4MB. - Update scripts to sign in yocto build (signatures only). Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I396a8e05bc6aa53fd6c7062ed342ce1f26b7e2fb
2022-10-25meta-google: gbmc.conf: require versions of npcm8xx boot imagesBenjamin Fair1-0/+3
These specific versions are needed to boot on Google hardware, so override the defaults. Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I200ed7e281868b6bb2ba08129fc122b55d754848
2022-09-30add langdale to compatible layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
2022-03-29meta-google: Enable patch fuzz to be error instead of warningWilly Tu1-0/+3
Change-Id: I71d6114928ae63c7a98deb723a25bb7e82e1bf13 Signed-off-by: Willy Tu <wltu@google.com>
2022-03-08meta-google: distro: Enable google dbus schemasWilliam A. Kennington III1-0/+2
Change-Id: Ic59f61a4bc3562e7f9bb0204f701e13d3c1a203f Signed-off-by: William A. Kennington III <wak@google.com>
2022-02-26treewide: support yocto kirkstone releasePatrick Williams1-1/+1
* Deprecate N-1 release (hardknott). * Enable N+1 release (kirkstone). Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
2021-11-18meta-google: Depend on phosphor-layerWilliam A. Kennington III1-0/+1
This makes our override ordering explicit with respect to layers we append to. Change-Id: If6048bcbd0199e730dc5a9bb52667a94887578cd Signed-off-by: William A. Kennington III <wak@google.com>
2021-11-17meta-google: distro: Relax FIT_HASH_ALGWilliam A. Kennington III1-0/+3
u-boot hashing does not confer any additional security in gBMC (we don't sign the kernel and hashes live with the image). We can use a much faster, but bus verifying algorithm instead. Ideally this would be xxhash, but our u-boot is currently too old. Change-Id: I796a4ed2db380eb86a9acbeae1f8a5e56cc8cb62 Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current and the upcoming. Remove 'gatesgarth' is it is now 2 releases back. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
2021-08-18meta-google: Disable u-boot shell for Google prod buildsVivekanand Veeracholan1-0/+3
The DISTRO_FEATURE option for this is merged, https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/45523 Signed-off-by: Vivekanand Veeracholan <vveerach@google.com> Change-Id: I70ba330f1f39aa785a31b63d1640a4c4b3c3eba8
2021-08-16meta-google: Add GBMC_CONFIG variableVivekanand Veeracholan1-0/+4
GBMC_CONFIG variable controls dev/prod configuration for the builds. Possible values: dev, prod This variable is defaulted to "dev" through weak assignment. Can be explicitly set through local.conf file or in build command. To set it in build command, additional step of including this variable to the "BB_ENV_EXTRAWHITE" environment variable is needed. https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-metadata.html#passing-information-into-the-build-task-environment Signed-off-by: Vivekanand Veeracholan <vveerach@google.com> Change-Id: I46c34d47c958a96ce00e2c89a2bc771a483a83ab
2021-08-09meta-google: layer.conf: Revert 45725 and add honister as Yocto releaseWilly Tu1-3/+3
Reverting the changes in https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/45725 and adding `honister` to LAYERSERIES_COMPAT for the next Yocto release. Change-Id: I32c138127dc3508d6925c990643b9efce2bda0b6 Signed-off-by: Willy Tu <wltu@google.com>
2021-08-07meta-google: layer.conf: Cleanup for Yocto override syntax changeWilly Tu1-3/+3
Update `_google-layer` to `:google-layer`. Change-Id: I3443c265aa3ff3bb711f65c016942bfd53ecf153 Signed-off-by: Willy Tu <wltu@google.com>
2021-08-07meta-google: Cleanup for Yocto override syntax changeWilly Tu1-4/+4
``` convert-overrides.py meta-google git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb" git grep -l _gbmc -- meta-google | grep ".bb" \ | xargs sed -i 's/_gbmc/:gbmc/' git grep -l _prod -- meta-google | grep ".bb" \ | xargs sed -i 's/_prod/:prod/' git grep -l _dev -- meta-google | grep ".bb" \ | xargs sed -i 's/_dev/:dev/' git grep -l _hoth -- meta-google | grep ".bb" \ | xargs sed -i 's/_hoth/:hoth/' git grep -l _bandaid -- meta-google | grep ".bb" \ | xargs sed -i 's/_bandaid/:bandaid/' ``` Some small fix includes ``` platforms_gbmc_bringup platforms_gbmc_secure ``` Tested: ``` $ git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb" meta-google/recipes-connectivity/avahi/avahi_%.bbappend:do_install:append:gbmc() { meta-google/recipes-core/dropbear/dropbear_%.bbappend:do_install:append:gbmc:dev() { meta-google/recipes-core/dropbear/dropbear_%.bbappend: echo ' chain gbmc_br_pub_input {' >>"$rules" meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake checker meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake install meta-google/recipes-extended/networking/mstpd_git.bb:do_install:append() { meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake distclean meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake sslh-conf.h meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake install meta-google/recipes-google/ipmi/ipmi-fru-sh.bb:do_install:append() { meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb:do_install:append() { meta-google/recipes-google/networking/gbmc-bridge.bb:do_rm_work:prepend() { meta-google/recipes-google/networking/gbmc-bridge.bb: # HACK: Work around broken do_rm_work not properly calling rm with `--` meta-google/recipes-google/networking/gbmc-ip-monitor.bb:do_install:append() { meta-google/recipes-google/networking/gbmc-iperf3.bb:do_install:append:dev() { meta-google/recipes-google/networking/gbmc-iperf3.bb: echo ' chain gbmc_br_pub_input {' >>"$rules" meta-google/recipes-google/networking/gbmc-mac-config.bb:do_install:append() { meta-google/recipes-google/networking/network-sh.bb:do_install:append() { meta-google/recipes-google/ssh/authorized-keys-comp.bb:SUMMARY = "Compiles a set of authorized_keys files into a single file" meta-google/recipes-google/ssh/authorized-keys-comp.bb:do_install:append() { meta-google/recipes-google/systemd/gbmc-systemd-config.bb:do_install:append:dev() { meta-google/recipes-google/test/test-sh.bb:do_install:append() { meta-google/recipes-phosphor/flash/inplace-gbmc-update.bb:do_install:prepend:dev() { meta-google/recipes-phosphor/host/phosphor-host-postd_%.bbappend:do_install:append:gbmc:dev() { meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:dev() { meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:prod() { meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend:do_install:append:gbmc() { meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend: overlapping="$(jq '."${GBMCBR_IPMI_CHANNEL}" | .is_valid and .name != "gbmcbr"' $chjson)" ``` Change-Id: I9d610c664bd44e8bd81fb8f7e76249a0b43b9ffd Signed-off-by: Willy Tu <wltu@google.com>
2021-08-02meta-google: images: Add inplace-gbmc-updateBrandon Kim1-0/+2
For gbmc override, add inplace-gbmc-update and set it as the PREFERRED_PROVIDER for virtual/bmc-update. Google-Bug-Id: 179618452 Google-Bug-Id: 179618500 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: If8b7a3640b66fd323ee5c1a98619a09463933898
2021-04-06hardknott: yocto releaseAndrew Geissler1-1/+1
Latest upstream yocto has moved on to the 3.3 hardknott release Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
2021-03-10meta-google: linux: Add configurationsWilliam A. Kennington III1-0/+7
Upstream: 3c2cdab65317061f819ca0f48448821ea4ab79cf Change-Id: I7c519c5d1b4d404727aee909ea7582165c9f4dd4 Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-18meta-google: Add gbmc distroBrandon Kim1-0/+18
Upstream our base distro Upstream: 1fe32412faa5dbe9691b977c100712d2baa89887 Google-Bug-Id: 179617826 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ib0795ffb39ea8124c808f7ecb1d48808bce3e46e
2020-11-05meta-google: update Yocto compat for gatesgarthPatrick Williams1-1/+1
The next release of Yocto is soon and most of the upstream layers have switched support strings for it. Support layer compat for gatesgarth (current) and dunsfell (previous). (From meta-google rev: 98b0607cb298193ee7a8033e0c333224a10d0477) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie038d9ad9f7f785fd8b3091cb19d6b593924eace Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-01meta-google: dunfell: add support for new layerAndrew Geissler1-1/+1
(From meta-google rev: 74821b8be2d4fdeec6d6663147b0016175dae469) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ibf35a67b59b869b3a4d5fb46665a9797119de580 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-09-20meta-google: layer.conf: add zeus compatibilityPatrick Venture1-1/+1
OE-core master will be dropping warrior soon; zeus is the next release. (From meta-google rev: 3bc085b11bb53063d63b043a9d678cfd4359eacd) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia05fbd051ec17edd30849480fbeb94c263f96935 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-09meta-google: layer.conf: set BBFILE_PATTERNPatrick Venture1-1/+1
Bitbake uses this regex to associate recipes and bbappends from BBFILES (which contains recipes and bbappends from -all- layers listed in bblayers.conf) to this layer. The association is then used to map the BBFILE_PRIORITY value for this layer onto the recipes provided by this layer. BBFILE_PRIORITY is used to determine which recipe to use when the same recipe appears in multiple layers. Without BBFILE_PATTERN set, recipes in this layer will get a default priority and not the priority specified in BBFILE_PRIORITY. This layer doesn't set a priority anyway, so functionally this patch is a noop but it is an improvement from a correctness standpoint, and it makes a warning go away Removes warning: WARNING: No bb files matched BBFILE_PATTERN_google-layer '' (From meta-google rev: 006860684ec5b429b386a474c799a8ded05a6179) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I0e13c50b59a38fff89c4e737b27b20df56db1b67 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06meta-google: layer.conf: Add warrior compatibilityPatrick Venture1-1/+1
oe-core branched in preparation for the upcoming 2.7 Yocto release and as of 13e45ff requires core layer compatibility to "warrior" instead of "thud". We'll retain compatibility for both until we do our own branch or stop testing thud. (From meta-google rev: 2282c02ed2b9021205840e6bd9b3fdcf70870f87) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I9396d0ec3ea4fbbb9a8ba5aaa685196f7a087dd3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-10meta-google: prepare for yocto 2.6Patrick Venture1-1/+1
Set compatibility to thud. (From meta-google rev: 0d4ca78901c79cbef8401df0aa2261569fad6854) Change-Id: I337d9dfc4c8bce18bd7b7cff3f4ca3e4e8ff7b00 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-17meta-google: Add initial configuration layerPatrick Venture1-0/+10
meta-google: provides a set of recipes for Google daemons shared with OpenBMC as well as any recipe modifications Google needs for working with OpenBMC. (From meta-google rev: 320c29c7579f74fff6c13244e8d471521b6844bf) Change-Id: I76275485a574b02e92333aff4f95e209eb3f4ede Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>