Age | Commit message (Collapse) | Author | Files | Lines |
|
We want to use sets instead of separate rules for each address. This
also ensures that packets coming from internal sources are matched as
internal packets.
Change-Id: Iff87b81c48c7491a74af1a2cead4cabcb56d81a0
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We want to reduce the size of our target binaries, and LTO saves us
about 300K.
Change-Id: Id1fe52b48a16999385251ae927012ff3e494e2f3
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This saves ~3MB of uncompressed size.
Working on upstreaming this change, but keep it as part of meta-google
for now.
Change-Id: I261610c1413b514f7090e3be84ca19e243653640
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
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>
|
|
This is Google's internal method for dealing with hoth and image sizes.
No changes are expected for any non-Google projects.
Change-Id: I2b66763e0fdc1cd019c2d774134290788228982b
Signed-off-by: John Edward Broadbent <jebr@google.com>
|
|
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
|
|
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
|
|
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
|
|
Signed-off-by: Michael Shen <gpgpgp@google.com>
Change-Id: I716b873ad2a3a7cc4437f90638081bba12bb280c
|
|
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
|
|
Signed-off-by: Zhenfei Tai <ztai@google.com>
Change-Id: I918deb41b27e84096a3974d48cb4aa64df35bf20
|
|
Signed-off-by: Zhenfei Tai <ztai@google.com>
Change-Id: I4dcf8756ffd3b80d1db69e77f07df57e585b1b66
|
|
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
|
|
Signed-off-by: Zhenfei Tai <ztai@google.com>
Change-Id: Iee9923313db08862a18eacb176d4be6c73373aed
|
|
Change-Id: Ia2ff2feefd083e64756f3d135083aec0b97eb07e
Signed-off-by: Willy Tu <wltu@google.com>
|
|
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
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8bf8cb4f7e370d8ab0ba40fb325c9df28733f324
|
|
Add license to bb file and the copyright to shell script.
Signed-off-by: Michael Shen <gpgpgp@google.com>
Change-Id: I8b546ebfb302213c5a115af7220102fa51f2419b
|
|
Upstream package for libwatchdog.
Change-Id: I9ef9243ae8e56a4a92be31c9229f1b38c00f662d
Signed-off-by: Tom Tung <shes050117@gmail.com>
|
|
Upstream common package for gpio-host-pwr.
Change-Id: I08550d46d2b062f6b793cb5417d26231c7e4ca20
Signed-off-by: Tom Tung <shes050117@gmail.com>
|
|
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>
|
|
Update `_google-layer` to `:google-layer`.
Change-Id: I3443c265aa3ff3bb711f65c016942bfd53ecf153
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Signed-off-by: Zhenfei Tai <ztai@google.com>
Change-Id: I10ca13b80eaa9259a72c1d1957bebe2fb2eb2978
|
|
Signed-off-by: Jie Yang <jjy@google.com>
Change-Id: I98f40cbbb412028330201d174e9624410529d1f6
|
|
```
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>
|
|
This is not used in the installed output and is breaking the build
non-deterministically.
Change-Id: I3f7193e9f0aac5e5cdcd45d4c736c3d31bb2858b
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
These files sometimes get checked into the repo and we don't want
non-determinism around their generation. Ensure they are cleaned up and
regenerated for every build since that is very fast.
Change-Id: If20c79f8308c117a20983c8cb54c3420d872d64b
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Uptream moved from PCRE to PCRE2
Change-Id: I62434762a7e0485f4fe49ad6f181290cf6d34844
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: Ia4843efa02ed9f3f7587580e4cb83711054637cb
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Add recipe for bringing up USB ECM network devices.
The recipe generates
* network configuration file for the interface;
* systemd service that starts(stops) the USB Gadget
The ECM gadget, as well as the network interface are expected
to be fully configured in the bbappend file.
Signed-off-by: Maksym Sloyko <maxims@google.com>
Change-Id: Ibb57584ce2bfd838e650eae7a4d3935c9580e502
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Google key installation script and bitbake recipe.
Google-Bug-Id: 179618162
Upstream: 22e2c3dd5f610777dee173a09d8e82dc2509a975
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I21c88b6c2810c4ab3f6089f79143e59b6ce935db
|
|
Dummy image uploader for sending debug binaries.
Google-Bug-Id: 179618162
Upstream: 22e2c3dd5f610777dee173a09d8e82dc2509a975
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I53c0defeefffa007d71d68ceeb2602d83c22f523
|
|
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I0725732aea9daa16c7cb4bf8f553d7ecfabf3628
|
|
yrutschle (25):
changelog the sslh-select refactoring
justify use of select
remove some debug messages
made echosrv independant from common.o and with its own configuration
add UDP support to echosrv
when verbose, precise which listen sockets are udp
remove caveat about UDP refactor
upgraded argtable3 to current last version to fix a parsing issue with command line options
do not drop CAP_NET_ADMIN if any of the protocols require transparent proxying
typo
refactor: purified set_capabilities, told to keep or drop CAP_NET_ADMIN instead of deciding for itself
sslh-fork drops all capabilities after connecting to server side
refactor t_load to use test.cfg as base
changed CAP_NET_ADMIN to CAP_NET_RAW as it's enough
clarify variable name
clarify function name
add recv and sendto addresses
sslh-select sets O_NONBLOCK *before* calling connect, which prevents hanging on an unresposive server (fix #258)
fail gracefully if libconfig fails to find root element
fix for libconfig 1.7.3 (#292)
moved UDP support from sslh-fork to sslh-select
fix message for fd closure on timeout
report errors as E instead of M, and consolidate restarts as simplified roman numerals
removed static known_source arrays, UDP connections are now managed dynamically
make udp timeout configurable per protocol
Change-Id: I49280061e0cdef7b416ecf2e59601519d7979246
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Yves Rutschle (2):
fail gracefully if libconfig fails to find root config element
fix test without libconfig; fix for libconfig 1.7.3
Change-Id: I3f0d77e6ac0247c2784ac59d47424cc7c20047f8
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We sometimes have a race condition in the git checkout process that
causes the source file timestamp to be newer than the generated ones.
The generation process is currently broken, but the necessary files are
bundled in the source tree.
Change-Id: I81fb707d5b16f88032d7022da97563bf6ccc78f5
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
William A. Kennington III (2):
handler: Don't hardcode channel information
eth: Support looking up alternate interace channels
Change-Id: I1656055b0d2b9450fdcf11c5af9b4c2db1090b76
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Change-Id: Ic13e677f12f09279df19a32d5f381b2f94d8e4b8
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
William A. Kennington III (1):
ncsid: build: Fix fallback dependency
Change-Id: I174fa9146d020c00487849fb2e4f1e1efcdc0228
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (2):
gitignore: Update to better accommodate local building
kcsbridge: Remove package
Change-Id: Icf5213309c7b8ece62fac4962a0ef9ae0b224014
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
bc is a command-line, arbitrary-precision calculator with a
Turing-complete language.
Tested: The bc command is usable on target system.
Signed-off-by: Yong Zhao <yozhao@google.com>
Change-Id: Id91f5470e7b2a2b42da485e44eda63c97c096842
|
|
This reverts commit f89db26b407e44a620eccfae7df3186d65bdfa0c.
Change-Id: Ie55acb2b8daf54ce416bc0a98a48ba1e6874dec8
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This reverts commit f93003dd8cf24bd689a7cf24407273b54b9994d4.
Change-Id: Ia5ccc39e09d56b0ea083666eb8df3d858f1ac2f5
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We can't safely store this data, so we don't.
Change-Id: I9e0f99423485cf41ff4f9e3b333f4833572f6b73
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Fix inconsistent quotes.
Tested:
```
$ BUILD_MEMO="test build" MACHINE=gbmc bitbake obmc-phosphor-image
```
```
$ cat /etc/os-release
ID=gbmc
NAME="gBMC (OpenBMC + Google customizations)"
VERSION="gbmc-release"
VERSION_ID=gbmc-release-0.5.0.0
PRETTY_NAME="gBMC (OpenBMC + Google customizations) gbmc-release"
BUILD_ID="2.9.0-dev"
OPENBMC_TARGET_MACHINE="gbmc"
BUILD_MEMO="test build"
```
Change-Id: I119f730edc894ddaad830c201c6630eb83d11cc1
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Add BUILD_MEMO to /etc/os-release. BUILD_MEMO only exists when
BUILD_MEMO is defined in the shell environment.
Tested:
BUILD_MEMO=$(date) MACHINE=gbmc bitbake obmc-phosphor-image
$ cat /etc/os-release
ID=gbmc
NAME="gBMC (OpenBMC + Google customizations)"
VERSION="2.9.0-dev"
VERSION_ID=gbmc-release-0.5.0.0
PRETTY_NAME="gBMC (OpenBMC + Google customizations) 2.9.0-dev"
BUILD_ID="2.9.0-dev"
OPENBMC_TARGET_MACHINE="gbmc"
OBMC_VERSION="v2.4-11142-gda2d3941e2"
BUILD_MEMO="Tue 02 Mar 2021 03:39:50 PM PST"
Google-Bug-Id: 180020976
Google-Bug-Id: 179617828
Signed-off-by: Yong Zhao <yozhao@google.com>
Signed-off-by: Willy Tu <wltu@google.com>
Change-Id: Ie041b897d6dbe31355edef958c6c97e44c91ea75
|