Age | Commit message (Collapse) | Author | Files | Lines |
|
All of our images should remove these features as they are unnecessary
and impractical to run on any of our boards. Leaving these enabled for
core-image-minimal made booting take ~60s in userspace and it filled up
the rwfs on my machines. There doesn't seem to be any benefit to
providing these with any of our images currently.
(From meta-phosphor rev: 563b83bf8de93017e16ca46d3013333ee840818c)
Change-Id: Id2d29d27ffba3659b15ce73714b308362d862ec3
Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
All of our images use systemd for booting, so we should deploy
dbus-broker everywhere.
(From meta-phosphor rev: f8196005aefa15dd249ff72036f717b629c8bd4e)
Change-Id: I3010e367a79d782db31050979f5f1bdd30944a11
Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a distro feature to enable aspeed nic driver to enable MAC1
and MAC2.
The aspeednic patch is copied from meta-ingrasys/meta-zaius, it is
also required by fp5280g2. To avoid duplication, this distro feature
has been added.
Both meta-fp5280g2 and meta-zaius will be updated to use the distro feature.
Tested: tested on fp5280g2, and both Ethernet ports worked
(From meta-phosphor rev: 5a8e7c5a6efea492b82d710c465125fc9d0afdb9)
Signed-off-by: John Wang <wangzqbj@inspur.com>
Change-Id: Ia754595c5e3762f69397c03021ffe29ea5b9afcc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The existing scheme for selecting an entity configuration YAML for
building ipmid consists of a virtual (phosphor-ipmi-entity-config) with
the preferred provider set to a default recipe
(phosphor-ipmi-entity-inventory-native) in the Phosphor distro
configuration.
Instead, provide a reasonable default directly in the ipmid metadata.
This is a small step towards enabling ipmid to build without any distro
configuration and should lower the effort required (slightly) to
comprehend where the the entity YAML file is coming from.
There aren't any known clients overriding the entity YAML in the first
place, but a client could still override with an ipmid bbappend and
setting EXTRA_OECONF appropriately.
(From meta-phosphor rev: fe88ee4211c93f4ca4acba5ecec502aef17944ce)
Change-Id: Ie152c413ee6674735b6bf3192b01ec0bc5a39a29
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
All OpenBMC BSP layers have moved to target class config recipes. As
such, support for native class config recipes can be removed.
(From meta-phosphor rev: f3b437c327b94df6f22c7d821f25d76f1d1c2180)
Change-Id: I7729f7e34529a220af36b88017cb48a3ee887acb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
There exists a number native class recipes throughout meta-phosphor that
simply provide a data (often YAML) file as input to building another
application.
Having these data file recipes implemented as native class recipes
prevents the use of machine overrides because bitbake (rightfully so)
discards machine qualifiers from native recipes. Further, data files
aren't really any different than library header files and those are
consumed by recipes as target class recipes that are DEPENDed on. Do
the same thing for data file recipes.
A number of steps (patches) are required to ensure backward
compatibility while other BSP layers make the transition to target class
recipes.
This patch is the first step in the sequence. Each native class recipe
is duplicated with (approximately) the following transformation applied:
1 - remove "inherit native"
2 - add "inherit allarch"
3 - Add appropriate files to FILES_${PN}
Also fixed a couple idiosyncrasies like SRC_URI += and LIC_FILES_CHKSUM
that are not required.
Finally, add a temporary layer of indirection around STAGING_DIR_NATIVE
and STAGING_DIR_HOST to the fan metadata until other BSP layers have
fully transitioned to target class config recipes.
(From meta-phosphor rev: 19ee51f5cdce2ff2f076a3ca9263dabc79072ba9)
Change-Id: I9671cc5343ed29a7ccfcee4cc00ebaaa9327e359
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The kernel version string by yocto by default is <tag>-<revision>, e.g.
5.0.7-b1b37a25644213428f4bab4c427581dd923e35da
Where the revision is the version specified by SRCREV, no matter if
there are additional pathces applied or not.
This commit improves it by
* If there are no yocto patches, keep the current version but use a
shorter revision, e.g. 5.0.7-b1b37a2
* If there are yocto patches, append -dirty-<new-short-revision> to the
version string, e.g. 5.0.7-b1b37a2-dirty-84fa553
Resolves openbmc/openbmc#1289
Tested: Verify the kernel version string is changed as above depending
on if there are yocto patches.
(From meta-phosphor rev: fcfd10d7380309bc274c4f5a8355ecaeb60ce439)
Change-Id: I4210227a981721a6b322d640984ea58c57802cb1
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Allow another distro building from OpenBMC to specify their own default
virtual/obmc-system-mgmt to allow the meta-ingrasys/meta-openpower
distro-feature virtual/obmc-system-mgmt to set within a system providing
a different default.
(From meta-phosphor rev: 9af5e6419f1cbd9d6ea130812dccb347e4e76e53)
Tested: Zaius image built with correct openpower overrides. Other
platforms built with expected value.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ieee9d0b3cab9831bfe7201635bb1d79873f79e1c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This application doesn't have any in-tree users. As such, drop the
recipe and its dependencies.
(From meta-phosphor rev: 296cc521f5a1c8c87c63a5b475b23c876241bf22)
Change-Id: Ie0ce809f84a133c023f96b4727550690583cb9df
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Point various meta-phosphor recipes to depend on phosphor-network
instead of network. Also, update the default for this feature to be
phosphor-network instead of network.
(From meta-phosphor rev: 98fa96164889d0eed896a731bcfb348d5d802bef)
Tested: Verified meta-ibm/meta-witherspoon built.
Change-Id: I1c4b8fdcb92bf216e50d9f88273a7ac7bdc20213
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
phosphor-host-ipmid no longer does anything with the information
specified by the ipmi-channel-config, therefore drop it.
(From meta-phosphor rev: 14e259d7b53de1bae200ee5c5dbf201ffd105543)
Change-Id: I74057fd68ba7e46e5cf5850eaf6434cb6bb37ec9
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
To provide a custom entity configuration, provide
a virtual phosphor-ipmi-entity-config. The entity.yaml file contains
metadata information for the SDR type 0x08h (Entity Association Record)
(From meta-phosphor rev: 47f26214a916246eeb52a9c2f4045e6375fa0bfe)
Change-Id: I812d5805edd547c2780604119bd6ae3f969d9886
Signed-off-by: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Allow platforms to opt into the u-boot patch disabling unnecessary
hardware features for ASPEED SoCs.
As this change touches bits that were not initialised by previous u-boot
revisions and the configuration applied prevents poweron of OpenPOWER
hosts without corresponding host firmware changes, this change is
nohwci.
(From meta-phosphor rev: 82f2db28ad8f4f0b7fbf703e8942afcaf6e70a2b)
Change-Id: I2f40a780afe539e9e4ff13983cd567e849bbed25
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Restrict root user password to obmc-phosphor-image image recipe.
(From meta-phosphor rev: 2ce22326700e4ea1d382081b980bd51447700de6)
Change-Id: Icaab0a1017e8abe54dce0ad5f0ac091f6e2045eb
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Moved setting default root user password to
distro instead of applying it in every conf.
Unit-test:
Verified /etc/shadow file updated accordingly.
(From meta-phosphor rev: fd1f696f99eb61fa764d8438f635c6d6a558973d)
Change-Id: I652273b157102600c108d3a547613c11f774aad4
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Don't install any locales in an obmc-phosphor-image. The defaults
probably meet most requirements at present and this saves ~128K with an
xz compressed squashfs.
Remove locale setting from distro configuration. The defaults are fine
and this also allows the user to override.
(From meta-phosphor rev: c2207adeb8ecfa1add3868eafc1f0d94d2e503d7)
Change-Id: I2bd5eb4225cfd8f0024b14afc415c0c1bd166484
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Remove shared-mime-info at great flash footprint savings. Savings
is around 800K for an xz compressed squashfs.
This is somewhat of an experiment - the impact of missing
shared-mime-info on glib is unknown.
(From meta-phosphor rev: 9558cc6c1996549eac7b550327f09eff242a1851)
Change-Id: If40f1604ed233c22505d46f8d0213d977c5035c1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
There are two items in the phosphor distro configuration that originate
in the meta-poky layer. If we can remove these there isn't any need
to include meta-poky in the build layer configuration.
poky-work-exclude: This file is empty; removing is a noop.
poky-sanity.bbclass: This is for sanity checking of the Poky reference
distro, and not the OpenBMC distro (phosphor).
(From meta-phosphor rev: e34a2bcd8a871769c64bcae4e46553103dc952c0)
Change-Id: Idd203805dd16a21314d59eedb3db91a0d193c8bf
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
At present we do not enable the uninative feature because a number of
our build systems are powerpc64le; there isn't any published
uninative tarball for powerpc64le and it isn't clear if uninative
works on non x86 platforms.
None of that changes with this patch, but the method in which it is
removed is...odd - first it is enabled in the usual way but then later
in the distro config it is turned back off.
Refactor and just don't turn it on in the first place.
Note that derivative distros can enable uninative if they don't have any
dependency on non x86 build hosts.
(From meta-phosphor rev: 70e685ef45a926064d27a2937d6274832c7608b4)
Change-Id: If2e343cb79529d1b888289feccd489e151e5a7a8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Drop preferred version for phosphor-software-manager.
(From meta-phosphor rev: ff01da01dbf6d1671d61deb04be63d1c1fbefa7e)
Change-Id: Icf43892598b2be7d462504a6736bc8d1681dcf65
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to phosphor-software-manager.bb named _git.bb and
set the preferred version for the recipe.
(From meta-phosphor rev: 25045bc375c9ef7cd8fdf0a9adfab406384d4c8c)
Change-Id: Ia1441aedb774c94dc1b32bac21e8800ae9654cda
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Drop preferred version for obmc-libobmc-intf.
(From meta-phosphor rev: a95894d71eae0117bc6f910a35fc295e407207dd)
Change-Id: I41cbb4c74e9c93c8adb4148524f6d17ca493e2f7
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to obmc-libobmc-intf.bb named _git.bb and sets the
preferred version for the recipe.
(From meta-phosphor rev: 428c79e0dd4e51785613b761fa0d45748975667c)
Change-Id: Id88ba43cc33aee5fc2386bda5de15d0bbb99bac2
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change version in phosphor-ipmi-host.bb
(From meta-phosphor rev: a740734bf48e91f33ae8e4d21305024127683914)
Change-Id: I58824c69ca8211fa2b660f29093db6a7e372273b
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change version in phosphor-dbus-monitor.bb
(From meta-phosphor rev: 5f95f750e637352a4497d1ad78db6d115b7d2bd6)
Change-Id: I372978e4212af3e8515012e9bc158d521d400f4c
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change version in mboxd.bb
(From meta-phosphor rev: 810ac7c7a978b40a755a9736e9e75297f44d3e51)
Change-Id: I911d908f01b1a2ecace697030ae1970ab2fc4a9a
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change version in phosphor-debug-collector.bb
(From meta-phosphor rev: 70852f2a95f956da81f43410c625427cb632c09c)
Change-Id: Ic5e2695d86c57caa50fbbce830abe2f39fc2de60
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change version in phosphor-fan.bb
(From meta-phosphor rev: a44949c24e0b21f6865576bac589648d9ba448ba)
Change-Id: Ic13fd19157f28bf162dadc4d87622bf6dda3d29b
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change version in phosphor-gpio-monitor.bb
(From meta-phosphor rev: 0bb318073f4d50520d1a32b0c4d66883f8f504a0)
Change-Id: Id794bc88b2b2450509f2674986312d433d25b881
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change version in phosphor-state-manager.bb
(From meta-phosphor rev: 2cdf7d1e30f0f218f666cd78bf3be795f325e8bd)
Change-Id: I65188fe6646f9f06578c16abc89cbb1b923dc266
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change version in network.bb
(From meta-phosphor rev: 69d5f5e090f7c953c6069f7f7ff22feb8e366f86)
Change-Id: I4ef5c7f93bb7301e65159e27db844b831450477d
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change version in phosphor-logging.bb
(From meta-phosphor rev: 9c65b80ae6910ae6c4f3086b8734f326ce6ba621)
Change-Id: I2c8631ad286676d39f91071988a9594b3bfd9efa
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to phosphor-fan.bb named _git.bb and sets the
preferred version for the recipe.
(From meta-phosphor rev: 62e60279eebdd727eca8a760b1cd6461300e6c57)
Change-Id: Ic0ba46b6e79b95e62ecfe6a9538011a940a88514
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to phosphor-debug-collector.bb named _git.bb and sets the
preferred version for the recipe.
(From meta-phosphor rev: 87491e53e44a00d3eb85883091213a43df43fca6)
Change-Id: I7d23561f7e13879e7e1fc896a10d950bb68f44c4
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to mboxd.bb named _git.bb and sets the
preferred version for the recipe.
(From meta-phosphor rev: 998e1fdfe23d8a8512282f31d6c55ddd8327d72f)
Change-Id: I999f3510ca45a0f7d3351dda17b3d5a1bcc222f5
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to phosphor-dbus-monitor.bb named _git.bb and sets the
preferred version for the recipe.
(From meta-phosphor rev: a249d95e30aa06dfa6a3cc3c549d23c5f2ba3dc0)
Change-Id: I8359e01f00529a07b5c12c36036a9c7cc68e9bd3
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to phosphor-ipmi-host.bb named _git.bb and sets the
preferred version for the recipe.
(From meta-phosphor rev: b64457f8c96672c50f52c67a39dd7eb10dff43a5)
Change-Id: I70c506bd4614b26e55dff081df6bde70bbd54e3d
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to phosphor-state-manager.bb named _git.bb and set
the preferred version for the recipe.
(From meta-phosphor rev: 85a1fcc0018c7507246978369b29612d31a2e981)
Change-Id: I97d326f9ae570661100867e7f7d230b6bae087c2
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to phosphor-logging.bb name _git.bb and set the
preferred version for the recipe.
(From meta-phosphor rev: c7953f3b5df1e0b2487922895fdb4d6a79cd75db)
Change-Id: I0d7e944bbf79a181a760ac82604be465d71aa44c
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to network.bb named _git.bb and set the preferred
version for the recipe.
(From meta-phosphor rev: 09ffe0166966200860440266e34e495e2160069d)
Change-Id: Ib5facbf6f24f5931eb0b789565c332bc4b0afcd0
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
nss-pam-ldapd requires the name service daemon to be
running which provides the cache for the name service
request.
(From meta-phosphor rev: ccf58b533162b8bdd4b8807e549725043b2e9a39)
Change-Id: If6f68d139137b0f0d835fe491e0cd8aa8aaefea6
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to phosphor-gpio-monitor.bb named _git.bb and sets
the preferred version for the recipe.
(From meta-phosphor rev: c6077cbfcddf5dd538661f873c09629d9029674e)
Change-Id: If02e6f76d85104ffdcce68325d6bda84a3ef68d7
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
LDAP related packages will be pulled into the
image depending on the distro feature.
Enabling this feature increases the image size by ~500KB
as it brings nss-pam-ldapd, openldap, and nscd into the image.
(From meta-phosphor rev: b40b3f9b8c9f362583a5edcb6a64f0d3304dad5b)
Change-Id: I92ec1d2c20adfa08a87265d85962cb0390e0c854
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
phosphor-tiny.inc is intended to be included from a distro config file.
As such it should not override any existing content in DISTROOVERRIDES
placed there by other distro includes or the main distro configuration
file.
(From meta-phosphor rev: 5b9f4ed598f576620fa28bc4422cd8d8a532c410)
Fixes: 8ed79d3c02f088673a52e89168f3d44b5a736ab0
Change-Id: I8abe8fc57148a3edf7b8097e4f3ee1974eca6e59
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This will be used by recipes to minimize the debug objects
installed into the flash image.
See the poky-tiny wiki for reference:
https://wiki.yoctoproject.org/wiki/Poky-Tiny
Future commits will utilize this new distro feature to
minimize flash image size.
Tested: Verified it built.
(From meta-phosphor rev: 8ed79d3c02f088673a52e89168f3d44b5a736ab0)
Change-Id: Ifdace2c4bb7a98df5aa0473e5e7edc8a4f591024
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.
(From meta-phosphor rev: 38f27112a9bc38337d8f4c63c333d2a1f28945fa)
Change-Id: I834b99d63a260f21c60b58c91ec328cf04b683fe
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This fix allows others consuming the meta-phosphor layer to update
bblayers conf independent of the upstream layer.
Change-Id: I8e170da62d260bbad175ed0fd13407886cb77e7f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
|
|
The new subtree model brings the subtrees up from the openbmc-machines
layer.
Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Since the OpenBMC is it's own distribution, we should not be strictly
dependent upon poky.
Using require poky.conf breaks our ability to update the
variable LOCALCONF_VERSION since it is set to 1 by poky.conf. If we want
to continue getting updates as poky changes, they should be brought over
manually.
Change-Id: I1e098d0e884640f3e0dbb242753656c01f6c1b79
Signed-off-by: David Cobbley <david.j.cobbley@linux.intel.com>
|
|
Yocto 2.5 will bring us a systemd built with meson, so we will no longer
be able to use EXTRA_OECONF to prevent inclusion of the udev database
in images.
Disable it via BAD_RECOMMENDATIONS in the distro configuration instead.
Tested: Built a witherspoon image
Change-Id: I5eb9239a0f41f65df1823bc4ab6f593a31d2f4ec
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|