summaryrefslogtreecommitdiff
path: root/meta-google/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2021-12-20meta-google: Remove mostly unused iotoolsWilliam A. Kennington III1-1/+0
There are generally other ways to poke at the IO space of the BMC and there isn't any evidence these are being used anymore. Change-Id: I9d0e7187f2be8bbbf349e8cdf63c32013876260c Signed-off-by: William A. Kennington III <wak@google.com>
2021-12-20meta-google: phosphor-ipmi-host: Remove unused RDEPENDSWilliam A. Kennington III1-0/+3
Change-Id: I01bfbd4022584641d8df6ee694b62eadc3cb657c Signed-off-by: William A. Kennington III <wak@google.com>
2021-12-07meta-google: inplace-gbmc-update: Add dhcp hookWilliam A. Kennington III4-2/+134
This makes it possible for the BMC to fetch an upgraded image during DHCP time and perform an inplace update to the new version. Change-Id: I6d32af306180dd52d4235ba4edbb80c3e49756d7 Signed-off-by: William A. Kennington III <wak@google.com>
2021-12-03meta-google: hwmon: Enable update-functional-on-fail for gbmcWilly Tu1-0/+4
Enabled `update-functional-on-fail` by default for gBMC. Change-Id: I54b4fbaceb65c09b7b9cb72d7b7dcb7d048c7eba Signed-off-by: Willy Tu <wltu@google.com>
2021-11-04meta-google: update obmc-phosphor-initfs whitelistJie Yang1-0/+1
Add SMBIOS data sent by LinuxBoot to the initfs whitelist Signed-off-by: Jie Yang <jjy@google.com> Change-Id: I70e8cedabc8c7a2dc0df581b38695709e047bf96
2021-10-03certificate-manager: supply configs from the repoAnton D. Kachalov1-1/+1
This change is a part of the privilege seperation work which is tracked in: https://github.com/openbmc/openbmc/issues/3383 This change should be merged after individual repo change: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-certificate-manager/+/41166 Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I72e4842e7aa6de2ae4bcbdbf00953b7a79a0f414
2021-09-29meta-google: glome: Bump b7084b5c..02f7d272William A. Kennington III1-26/+0
Copybara-Service (1): Merge pull request #96 from l9i:go-presubmit Piotr Lewandowski (3): Print the ouptut of `gofmt -d` (if any) Print the output of `gofmt -d` (if any) Merge branch 'go-presubmit' of github.com:l9i/glome into go-presubmit William A. Kennington III (1): login/login: Remove glib url escap Change-Id: Ief099a8ebec5d78ce256e32dacb5cf90173bcfc9 Signed-off-by: William A. Kennington III <wak@google.com>
2021-09-09meta-google: google-key: Don't bring in all of gnupgWilliam A. Kennington III1-1/+1
This has a measurable effect on the size of the image, removing nearly 10MB of binaries from the uncompressed size. Change-Id: I4da1cca0ac036ef3eded48e5c64ab4ca12196264 Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-19meta-google: Fix inplace-gbmc-version.shVivekanand Veeracholan1-1/+1
The script has a "#!/bin/bash" at the end of its command causing failure. Signed-off-by: Vivekanand Veeracholan <vveerach@google.com> Change-Id: I9b9e8fe9ee8a4374637e8fa95c0fa17b44e7ebb9
2021-08-19meta-google: Fix inplace-gbmc-verify.shVivekanand Veeracholan1-1/+1
The script has a "#!/bin/bash" at the end of mv command causing failure. Signed-off-by: Vivekanand Veeracholan <vveerach@google.com> Change-Id: I328a1ef61d0ad60f0d0b36cd36d081ba88ccb359
2021-08-11meta-google: Delete lines removing rsyslogVivekanand Veeracholan1-6/+0
rsyslog package is being removed for the entire gbmc distro. But bmcweb and dbus-sdr mode of phosphor-ipmi-host needs rsyslog package. Deleting these lines from the packagegroup-obmc-apps.bbappend. The removal of this package can be controlled at the machine level by adding the following line to machine conf. IMAGE_FEATURES_remove = "obmc-remote-logging-mgmt" Signed-off-by: Vivekanand Veeracholan <vveerach@google.com> Change-Id: I226d69adc08c886293bed273ac6ea023f58a6dd4
2021-08-11meta-google: minor fixup for override syntaxPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8bf8cb4f7e370d8ab0ba40fb325c9df28733f324
2021-08-07meta-google: packagegroups: Add obmc-apps bbappendZhenfei Tai1-0/+17
Signed-off-by: Zhenfei Tai <ztai@google.com> Change-Id: I10ca13b80eaa9259a72c1d1957bebe2fb2eb2978
2021-08-07meta-google: Add glome serial console login recipeJie Yang1-0/+26
Signed-off-by: Jie Yang <jjy@google.com> Change-Id: I98f40cbbb412028330201d174e9624410529d1f6
2021-08-07meta-google: Cleanup for Yocto override syntax changeWilly Tu11-46/+46
``` 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/+1
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-08-02meta-google: images: Add dummy-gbmc-updateBrandon Kim1-0/+3
For gbmc override, add dummy-gbmc-update Google-Bug-Id: 179618452 Google-Bug-Id: 179618500 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I09925bb262f7a535ff569689a37640a028a09137
2021-08-02meta-google: images: Add utilities to gbmc overrideBrandon Kim1-0/+6
Utilities such as ipmitool, iotools, lrzsz should be added to gbmc. Google-Bug-Id: 179618452 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Id092157e8868648d1a97ef90928dac2cfa1307ae
2021-08-02meta-google: flash: Import inplace-gbmc-updateBrandon Kim6-0/+165
Google BMC inplace update script and bitbake recipe. Google-Bug-Id: 179618162 Upstream: 22e2c3dd5f610777dee173a09d8e82dc2509a975 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ia1beded107382dacb9f2f7e3cb9bbd86ae99d8c1
2021-08-02meta-google: flash: Import google-key from gBMCBrandon Kim4-0/+89
Google key installation script and bitbake recipe. Google-Bug-Id: 179618162 Upstream: 22e2c3dd5f610777dee173a09d8e82dc2509a975 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I21c88b6c2810c4ab3f6089f79143e59b6ce935db
2021-08-02meta-google: flash: Import dummy-gbmc-updateBrandon Kim3-0/+48
Dummy image uploader for sending debug binaries. Google-Bug-Id: 179618162 Upstream: 22e2c3dd5f610777dee173a09d8e82dc2509a975 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I53c0defeefffa007d71d68ceeb2602d83c22f523
2021-07-28meta-google: settings: Add copyright header to ymlBrandon Kim1-0/+14
Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I0725732aea9daa16c7cb4bf8f553d7ecfabf3628
2021-07-16meta-google: phosphor-ipmi-config: Add gbmc-bridge interfaceWilliam A. Kennington III2-0/+33
Change-Id: Ic13e677f12f09279df19a32d5f381b2f94d8e4b8 Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-07Revert "meta-google: gbmc-kcs-config: Add package"William A. Kennington III1-2/+0
This reverts commit f93003dd8cf24bd689a7cf24407273b54b9994d4. Change-Id: Ia5ccc39e09d56b0ea083666eb8df3d858f1ac2f5 Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-01meta-google: phosphor-networkd: Remove u-boot env for hothWilliam A. Kennington III1-0/+3
We can't safely store this data, so we don't. Change-Id: I9e0f99423485cf41ff4f9e3b333f4833572f6b73 Signed-off-by: William A. Kennington III <wak@google.com>
2021-06-16meta-google: recipes-phosphor: host: Import from gBMCBrandon Kim1-0/+7
Initial recipes-phosphor/host code from gBMC. Google-Bug-Id: 179618560 Upstream: 1182879e906e67ca171b21c1eaa4027f9d162e49 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I9a9baa0528ce4dfc33437a1e9ae908ce22dc6d16
2021-06-16meta-google: recipes-phosphor: initrdscripts: Import from gBMCBrandon Kim4-0/+56
Initial recipes-phosphor/initrdscripts code from gBMC. Google-Bug-Id: 179618491 Upstream: 1182879e906e67ca171b21c1eaa4027f9d162e49 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I810f3a80d635d2c3a38fcb1db7ee4c396ae2d7bb
2021-05-26phosphor-settings: Change setting for time managerHao Jiang2-0/+11
Change the default time settings for all google servers to Host/Manual so that timedate can be set via IPMI commands. Signed-off-by: Hao Jiang <jianghao@google.com> Change-Id: I94fec8a9c8eefb7dfaa327452ca453e132c0c140
2021-04-17meta-google: gbmc-dev-ssh-key: Add packageWilliam A. Kennington III1-0/+1
We want a key we can freely distribute to anyone who is building gBMC for use with SSH on development images. Change-Id: Iafedbbc6ebe2e62bce966bb368dd53831e29bd00 Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-17meta-google: authorized-keys-comp: Add packageWilliam A. Kennington III1-0/+1
This adds a startup routine that compiles an authorized_keys file from multiple locations in the filesystem, allowing for multiple providers without clashing. Change-Id: Ib26e04af42f29d42410154fdd809aa3a525fc9d5 Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-31meta-google: phosphor-dbus-interfaces-mapper-config: Allow gbmcWilliam A. Kennington III1-0/+2
We want to allow the mapper to discover interfaces and services that are published in the gBMC domain. Change-Id: Id107532d6a1ab52892ad310e516807accd6552f9 Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-25meta-google: gbmc-kcs-config: Add packageWilliam A. Kennington III1-0/+2
Change-Id: I0e68a7520191554680c94d8e3b8bc98f368ac71b Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-09meta-google: Use iproute2 instead of busyboxWilliam A. Kennington III1-0/+1
iproute2 provides a more complete set of utilies that are better behaved than the busybox variants with more complex network configurations. Change-Id: Ic638fac3deda68e2e509d733994b7b24cd2d38f1 Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-09meta-google: gbmc-mac-config: Add packageWilliam A. Kennington III1-0/+2
This package allows a system to specify an IPMI FRU that contains MAC Address information used to populated MAC addresses for specified interfaces. Change-Id: I457d41509da0e63db4410937b84140d4ba410b41 Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-18meta-google: obmc-phosphor-image: Add NCSI when specifiedWilliam A. Kennington III1-0/+2
Change-Id: Id15f7bb08f08da3cfdef24c0c38a42caffdb70c0 Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-17meta-google: obmc-phosphor-image: Add iperf3William A. Kennington III1-0/+1
Change-Id: I56abfee5270d63e8077314f548effa86596a148d Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-17meta-google: obmc-phosphor-image: Add systemd-configWilliam A. Kennington III1-0/+2
Change-Id: I37c82c2e7d494e7ae5581ee93ea34ac2908bedfb Signed-off-by: William A. Kennington III <wak@google.com>
2019-01-08meta-google: add phosphor-ipmi-flash package to imagePatrick Venture1-0/+1
Add the phosphor-ipmi-flash package to any image that includes the meta-google layer. (From meta-google rev: 2dcc5ffe9c59962b1404871639e60c30c1c113a1) Change-Id: Ib36f98cbf4f53f20aff41604bcef5486c22c8e2c Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-25meta-google: add google-ipmi-i2c to obmc-phosphor-imagePatrick Venture1-0/+1
Add the google-ipmi-i2c package to the obmc-phosphor-image so that it is installed when this layer is included. Tested: Built by adding meta-google to quanta-q71l and verified library installed. (From meta-google rev: c97e1e7ceb25dd9d79da3fcd8849243b212867d5) Change-Id: I2c37dd69749e0bc3cfc2076ef10cd9392d053429 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-28meta-google: enable ipmi-ethstats and ipmi-blobsPatrick Venture2-0/+4
Any Google supported image will require these handlers included. Beyond this, the Google OEM Number is set to be used in phosphor-ipmi-ethstats due to current infrastructure. Tested: Added to build and these packages were installed. (From meta-google rev: 474a6b1a09cab26f71d2573b7c6272d41d2bab0e) Change-Id: I084ff4310cc184f1db5271c67200cf9cc5c7055b Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-24meta-google: add google-ipmi-sys to obmc-phosphor-imagePatrick Venture1-0/+1
Add the google-ipmi-sys package to the obmc-phosphor-image so that it is installed when this layer is included. (From meta-google rev: eb12226c53cf875ba8a760d255076e65ac7c1ba5) Change-Id: I3350fb615e1ad054b09775def7df7572674e5c2d Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>