Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Use the immmediate expansion operator when setting BBFILE_PATTERN. This
makes meta-phosphor consistent with all the layers in meta-openembedded.
(From meta-phosphor rev: 8640c4a464677f2e446a13e67686bf1be336fbef)
Change-Id: I23f7fbbcc637e6c6e0a11956a703c0439f53ad4a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
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-phosphor rev: 696da8f0734b47c07e0e5179562c24393df9a26d)
Change-Id: I18eb95b6ae926925c1ac48f5ba0d03b3b88e52b2
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>
|
|
Reset the following subtrees on thud HEAD:
poky: 87e3a9739d
meta-openembedded: 6094ae18c8
meta-security: 31dc4e7532
meta-raspberrypi: a48743dc36
meta-xilinx: c42016e2e6
Also re-apply backports that didn't make it into thud:
poky:
17726d0 systemd-systemctl-native: handle Install wildcards
meta-openembedded:
4321a5d libtinyxml2: update to 7.0.1
042f0a3 libcereal: Add native and nativesdk classes
e23284f libcereal: Allow empty package
030e8d4 rsyslog: curl-less build with fmhttp PACKAGECONFIG
179a1b9 gtest: update to 1.8.1
Squashed OpenBMC subtree compatibility updates:
meta-aspeed:
Brad Bishop (1):
aspeed: add yocto 2.6 compatibility
meta-ibm:
Brad Bishop (1):
ibm: prepare for yocto 2.6
meta-ingrasys:
Brad Bishop (1):
ingrasys: set layer compatibility to yocto 2.6
meta-openpower:
Brad Bishop (1):
openpower: set layer compatibility to yocto 2.6
meta-phosphor:
Brad Bishop (3):
phosphor: set layer compatibility to thud
phosphor: libgpg-error: drop patches
phosphor: react to fitimage artifact rename
Ed Tanous (4):
Dropbear: upgrade options for latest upgrade
yocto2.6: update openssl options
busybox: remove upstream watchdog patch
systemd: Rebase CONFIG_CGROUP_BPF patch
Change-Id: I7b1fe71cca880d0372a82d94b5fd785323e3a9e7
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>
|
|
There aren't any dependencies in meta-phosphor on anything in
meta-webserver, so drop meta-webserver from the sample configuration.
(From meta-phosphor rev: e737217a6a960df6282653dd8db45901cd5c2994)
Change-Id: Icbcd801317c7cef7c0b5e2aeca2c73e1c48e0adb
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>
|
|
Adopt a more conventional directory hierarchy. meta-phosphor is still
a _long_ way from suitable for hosting on yoctoproject.org but things
like this don't help.
(From meta-phosphor rev: 471cfcefa74b8c7ceb704cb670e6d915cf27c63b)
Change-Id: I3f106b2f6cdc6cec734be28a6090800546f362eb
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>
|
|
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|