Age | Commit message (Collapse) | Author | Files | Lines |
|
IMAGE_FEATURES should be set by the image recipe that inherits the
class. This emulates oe-core and opens up the possibility of other
image recipes using obmc-phosphor-image.bbclass.
(From meta-phosphor rev: 758f9693593a4502012923f6c493323af709515f)
Change-Id: I0dd7bc99618f89becc9192b25f61951d28a09d42
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This function isn't used where, so drop.
(From meta-phosphor rev: 8505f065b61291c628b23e593a7bc05c6db64e4e)
Change-Id: If961d3422758af4bcd75069fa695fabe2df01f56
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
These pointless wrappers don't do anything other than obfuscate intent
to readers that have experience with bitbake metadata.
(From meta-phosphor rev: 536cee986517bf14226feb2f412928bc1904f950)
Change-Id: I92b12b6d675acb65d67f442c6331560cb20c88e6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This bbclass isn't used anymore. Remove.
(From meta-phosphor rev: 5f04ec5f04a797805afe2ac14a90c294a906ca6e)
Change-Id: Iad923167b2a8655a42a432e80bb84e67fd3e68c1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This bbclass isn't used anymore. Remove.
(From meta-phosphor rev: 8e9664029361a2705eb77a7cb9feb18fc6d76ef6)
Change-Id: Icba6da198443aebab338dc5273e66d80bc386bf8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
William A. Kennington III (1):
ethernet_interface: Remove local admin MAC check
(From meta-phosphor rev: d430a1718ebafc6800db53acc32195835f14dd0c)
Change-Id: I3473268c3034d58d5aef43e600af04268fe3f1c6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Create a recipe to add host firmware files to the BMC image files.
Via a bbappend, this recipe provides a mechanism
to have content be added to a flashable BMC image and an image
file to be added to the code update tarball to be updated
during a firmware update.
(From meta-phosphor rev: 39b1ff0dcd12f15dc651aa20cb85cdec903cb5de)
Change-Id: I12b3ced57a6446fd1fc046324ee13e4701581336
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The mmc config option in the phosphor-bmc-code-mgmt repo
supports now mmc code update, add the depends and services.
(From meta-phosphor rev: 98d1f319a22a88887c96ae80b58b8fe8d4b7ca97)
Change-Id: Id32177e5d63b18ad9e1060770a031bcce91ae551
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The eMMC has two boot ext4 partitions with the fitImage in
them. For the code update tarball, create this ext4 filesystem
so that code update can flash it.
(From meta-phosphor rev: 066633db0c7a7023b6644ebfc615c3f93a2732e1)
Change-Id: I561fd71b2d532ab856caaf41a62bc02b2f8c5444
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Set the rootfs to read-only if the mmc distro feature is enabled.
Similar to ubi, the ext4 filesystem option would have a read-only root
fs and only allow certain directories like /var and /etc to be writable.
(From meta-phosphor rev: 6c1407dc6835c033196be1c36daada24b9ffac18)
Change-Id: Ia963d3feb1800aa01116f522ad38ef49b7fa9a7d
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add a bbclass for the mmc configuration option.
(From meta-phosphor rev: 7df4aa01e4d35e6ec7294f08e4bd3f1d18e61f01)
Change-Id: I6602362e511bcffae1e185a72861ae1edec050f9
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Chicago Duan (1):
Add PLDM.Event Interface
James Feist (1):
Change sensor Value to double
Johnathan Mantey (1):
Enhance DHCP beyond just OFF and IPv4/IPv6 enabled
phosphor-networkd: srcrev bump e5a867a547..817012a319
Johnathan Mantey (1):
Enhance DHCP beyond just OFF and IPv4/IPv6 enabled.
(From meta-phosphor rev: c768b524c278ddee0a31e4412cfb8c3b067be5aa)
Change-Id: I67e32afce4a05e087906a29485c330e61fba5bdf
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Manojkiran Eda (3):
filesystem is not experimental anymore since c++17
Fix the error spotted by meson
Enable NCSI logs the Logs on Console
(From meta-phosphor rev: 8bd3fd0ee700bf5d7ea19cd79f10de81ff7c5a7e)
Change-Id: Ie709af5d778821dc9b19038ebb26a7456d7db50a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Manojkiran Eda (3):
Enable nlohmann-json dependency in phosphor-networkd
Enable Fist Boot Set MAC Feature for Network Service
Fix to set ipaddress on VLAN
Ratan Gupta (2):
Fix: Exception handling during fetching of hostname
Fix the error message
(From meta-phosphor rev: 2c29c25bb36f0864b1895a0b5ed65c553534b5a3)
Change-Id: Ia6e8b2acda4557218f22fd5ea32efc99159da5e8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Manojkiran Eda (1):
Enable sync-mac flag for networkd
(From meta-phosphor rev: 2563568353734c4c91f5a81803c31a321111fc02)
Change-Id: Ieec862a43b27ef6ba0b21d118730aec8382ee356
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
William A. Kennington III (1):
util: Replace raw struct functions with stdplus
(From meta-phosphor rev: 1421f9124d6573acc79ca7a1585a48effcdb4ff0)
Change-Id: I7dbdd81f4c114d9a9214361a153331abb520a178
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-phosphor rev: 2badcf923f4666c9c83842d0c0bc08132c6ef1c5)
Change-Id: I124b014509e2370f65c24a1c3b3672932f156717
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Some packages have directory trees of YAML files arranged based on
canonical organization names. See
phosphor-logging-yaml-providers.bbclass as an example.
Add a variable that can be appended to by a layer to limit the number
of 'bbappends' that are necessary in a layer to add their
layer-specific organizations to all the YAML processing recipes.
(From meta-phosphor rev: 2f31e7a7a37f841c1b2586e92258a7759b36306f)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie4754ba96a4542ce813869a1384b44ab88000be0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The current working model for many packages that supply YAML
is that they have both a native and a non-native package where
the native package doesn't build anything but supplies YAML and
the non-native package does the real building. In the case of
phosphor-logging this is due to a cyclic dependency:
package-yaml -> logging header -> package
To hopefully reduce the complexity on package makefiles to
this dual-build structure, I have created a non-native bbclass
that can be used to create simple packages for the logging YAML.
I have also created a sample for phosphor-led.
(From meta-phosphor rev: bb79d7c980ba03f45ba5c3cb1783f59ee5cdc4bd)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I38e096c36180b2b6e68a336bb204727a2f96c1a1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Manojkiran Eda (1):
Fix : clang-10 issue for Networkd
(From meta-phosphor rev: 199c4eb97d386bb0ef83d692892b452eff4a6d95)
Change-Id: I7d66cba3dc5e87f9d8b60e5bfe26e8ca1813fa23
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
sdbusplus was the only user of this bbclass and now that is moved
to meson. Drop unused class.
(From meta-phosphor rev: 2d826275ba4eb670fbae81490d819b8c602ecbad)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0b49e9a0acab8dbfacdb67efc9e3422db16e60ba
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Adriana Kobylak (2):
configure.ac: Set values to support a default configuration
meson: Fix compile errors
Bright Cheng (1):
Add checking ApplyTime for static layout
With the new support for ApplyTime on static layout, the reboot
service files move from the ubi bbclass to the common BMC updater.
(From meta-phosphor rev: b99a1ad6ddcbfc10fac3f23437ea105b542048a1)
Change-Id: I6eacdb1a254ee594fda1ba17463afe8a9ec9cbf3
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Benjamin Fair (1):
Allow disabling use of u-boot environment
(From meta-phosphor rev: c02fb7a0e8b08e2f9f919b1c62966a8ed956f368)
Change-Id: I9c4d931aa4ab74a009b3de1066da1065d807579e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Compress the ext4 rootfs so that it's faster to transfer to the
BMC and does not take much space. The code update process can
then uncompress it on the fly and write to flash.
Use zstd to compress which has a good compression rate and is also
faster to decompress than xz.
(From meta-phosphor rev: 5e1b6dc499736e219766cc24924dd486ff2a8ccb)
Change-Id: I07aadc413e5e883a6b97d1a374e4bbf215b07786
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Patrick Williams (2):
sdbusplus: remove deprecated variant_ns
sdbusplus: replace message::variant with std::variant
(From meta-phosphor rev: eee09144c06b9e20e083c1b6bcad3c5d8c46a63b)
Change-Id: I2a25130d0a2a49a3eb1bf13b3802e341a4eacecc
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ratan Gupta (2):
Initialize the link status and interface status correctly
Fix for the MAC address configuration
(From meta-phosphor rev: dc609d668ac6724afa9ae494d14de30543dff898)
Change-Id: I8c0de7949355627f59e5fa316b7d133acbd02f86
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
If a u-boot spl file is built, generate a image-u-boot file
with it so that code update can flash the u-boot mtd with
the spl.
(From meta-phosphor rev: 8fe768d9c696730eb67d48c243cbab9b228b8334)
Change-Id: I8ead2155593945602c925b26e85d2b6effc206f9
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Most of these recipes are no longer needed but bitbake still verifies
the inherit clauses for them. python2 has been removed so need these to
all use the corresponding python3 classes.
(From meta-phosphor rev: d55b42ae26bf5198efeb38db9eed8166139408bd)
Change-Id: Idf5fee957d8d0f3128a766a8007c3053fc1464d9
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Johnathan Mantey (1):
Added enable/disable control of the Network Interface Card
(From meta-phosphor rev: c6c4bd14ed9385ccd717b2812ff8869a3d9a674a)
Change-Id: Ib82500b92df3682601cd43d7c42812960949085d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
If the [SPL_BINARY][1] variable is set, add the spl binary to
the static image, then increase the u-boot offset by the size
of the spl (default to 64kb).
[1]: https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-SPL_BINARY
(From meta-phosphor rev: 31fdddf87d96ddeed1b16639368c6bea991392b1)
Change-Id: I96fef2323dec511257ea17ce6d4aa888d3ba1dbf
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-phosphor rev: e95fd00d32d7032cea056ef8a077903810bcc6b7)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia367acbef791cb1542734c53bc208c5eabc7e22e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-phosphor rev: 18f36a2062894252d85046167e2675349937c7a3)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5fc335dd02c0a2d2fb4ccc5f7d67a82c40b79e7d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Manojkiran Eda (1):
Backend changes for Populating Nameservers(DNS & Static)
(From meta-phosphor rev: 93599deec761cb0aa4bc69750bacded2886786fc)
Change-Id: If1e9a858e076bb831bef83641bec97ade67f114a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-phosphor rev: 174bce334bc5e4fa960aa600399b5cddeb30b841)
Change-Id: I03c2c389c7cfedbfbc4c97a8fa4c9fa3fbf937f7
Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-phosphor rev: 501bea332a71385297c2968a16e6782ce96cf5e5)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I39a6f05d2180e4965c8767b441743bb66b5a2f07
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Patrick Williams (1):
delete deprecated python scripts
(From meta-phosphor rev: 447b833511e76db91e7516867c63b053b0f9d6e3)
Change-Id: I6b95358f259eddc21418158a04a176495df5e2d5
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Johnathan Mantey (1):
Enable conditional use of ETHTOOL features in the NIC driver
(From meta-phosphor rev: 776457862dd6a5a19d8d2629bedd1de44f8768b4)
Change-Id: I7b819a4d3a60c1259b7f9887fe8d9b564572d406
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
There isn't any recipe metadata with any conditional logic around this
distro feature. Remove, for a small improvement to comprehensibility.
(From meta-phosphor rev: b670a101cd22746227ca3fd7ef8615f04aa97fd4)
Change-Id: Ie893015545db146512ef4cb216d94e80e8ac5050
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ratan Gupta (1):
Fix the networkd crash during creation of vlan
(From meta-phosphor rev: e502d092aace77296f39668fbf56fbf51307b72b)
Change-Id: I20547010c5c5e4db113cb4b70d5e3f577e385e8a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Use python3native and remove a filter statement.
(From meta-phosphor rev: c55fc52815dcce6d2f5eeb77ed5a1aaafd990958)
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ic25919bc947b1733cfac0573a41f35a5f12ed194
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Debugging text to help with filesystem sizing
This can be useful when diagnosing sizing issues
No behavioral change intended
Tested: Output appears as expected
(From meta-phosphor rev: a68b23d5052d6650176547b6ba3a4d9ccf0dc08e)
Signed-off-by: Josh Lehan <krellan@google.com>
Change-Id: I37d5daf038348576c43f5c1fb9e517e6e8aa37a0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
python-setuptools will mangle the #! line in a python script that
we install using setuptools. OE already has workarounds for this
in distutils3.bbclass but we cannot use it here due to the conflict
of autotools and distutils. Port the mangling fixes into our autotools
recipe.
See pypa/setuptools#494 for upstream report (years old).
(From meta-phosphor rev: a1b7f30d915a4a85e257938d0a96803e013ab528)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I50c7df4f92f324b6883e42d1871add813af0872d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Some packages are switching to 'inherit python3native' while also
having a DEPEND on a python2-based script (such as sdbus++). Rewrite
the #! in these executables to use `nativepython` instead of `python`
so that the correct version of python and modules are found.
(From meta-phosphor rev: 75f63b9ee7741073d22cf9001bfe4c3f31e3a59f)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8a7bcb21a539463838a6a103d531aa8f90c5c8c3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Johnathan Mantey (1):
Enable the network link carrier state to be reported.
(From meta-phosphor rev: 50fd000f27bbbac97feb736ad2ab46ad0094346a)
Change-Id: I5e778f919f97891bdb7a8365bf39c594a96f5329
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Create python3 version of the obmc-phosphor-python-autotools.bbclass.
(From meta-phosphor rev: 62412417ee2db0fd23a90523a50f88060adf44b2)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I819a6436a9c8dc7019bd6554142acb49ac4d722a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The shell used to execute the bitbake scripts doesn't support `-e` for
for the echo builtin. This triggers an error upon login:
login: root
Password:
-sh: -e: command not found
root@machine#
Split the workaround into two separate `echo` invocations.
(From meta-phosphor rev: a1759c49cbd7260c072f09adf4479fcc23a294c3)
Change-Id: I8f973f44bd6682beeabfdd5c5972a0a33ae7befd
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add support to create a rootfs image setup with dm-verity
which allows for secure boot of a BMC’s userspace.
This image type can be enabled by adding 'IMAGE_FSTYPES = "mmc-verity"'
to a machine's conf file.
Tested: Booted an image on QEMU.
(From meta-phosphor rev: 86cfbd54a3ef9c7379e044723253a38f850bab56)
Change-Id: If866a71cb031abfef6b1ab3c5ebe0869b1595300
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Prevent systemd from garbling its output with control characters that
busybox doesn't interpret.
(From meta-phosphor rev: b51d6e3322ea6cfa93e99c74663b7fb9923c2f65)
Change-Id: I2dddce5bef6f41058574904193976ca74f0b0ac9
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Karthick Sundarrajan (1):
Correct the MAC address format in Redfish
(From meta-phosphor rev: 3979e8b1de00bc2f1dbc65a233e09e6f11425fb8)
Change-Id: Ib7deab9ee0e82f0623ca6809dfd46cfb96aaf884
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Joel Stanley (1):
Add Joel to maintainers
(From meta-phosphor rev: ebb2d670ec38b0b68ed558c1d43914b073e371a6)
Change-Id: I885c1c6b8117960afed29859c10db0c4f7fab9bb
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|