Age | Commit message (Collapse) | Author | Files | Lines |
|
The phosphor-deploy-ssh-keys.bbclass was intended to be an optional
method to add additional SSH keys into a test image, but the way it
was implemented the class is always creating warnings like:
WARNING: obmc-phosphor-image-1.0-r0 do_image: Trying to deploy SSH keys
but input variable is empty (SSH_KEYS)
Remove the inherit in the phosphor-image. If a user wants this feature
they can edit their `conf/local.conf` to add:
INHERIT += "phosphor-deploy-ssh-keys"
They are likely doing something similar anyhow with the SSH_KEYS
variable (adding it to the conf/local.conf).
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id06e25ba0d22f021d81ee2cd0110d696591c1f59
|
|
There was support to inject an empty "SYSTEMD_PAGER=" variable
into the profile. This was to workaround ANSI control characters
being injected into the default systemd tool output, but has a
side-effect of disabling the pager for useful commands like
`journalctl`.
The underlying cause of these control characters was that busybox less
was missing features that systemd relies on. Many of these busybox
features say "this is essential for less applet to work with ...
systemd": https://git.busybox.net/busybox/tree/miscutils/less.c#n103
These are now enabled so this empty environment variable can be removed.
(From meta-phosphor rev: d8f8d70f7e4771eb295fff3ca80182b6636411b6)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Idc2fef9ccfb28e7956caf4efc141698940879f65
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-phosphor rev: 75c8dc6f5fc565a92da9129291ea09319e8593a6)
Change-Id: I375e188abbf3115e00d3ace1ad201d9fc11214d9
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add a fru-device package, packagegroup, and image feature.
Remove the ipmi-fru distro feature, since adding it in the first place
was a mistake - no projects have conditional ipmi-fru feature flags.
(From meta-phosphor rev: 4525a9d01a5f65438342a894f27c82f0dd61642c)
Change-Id: I6928ac67d4acb4568359a308b45cb0734d116054
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add phosphor-health-monitor packages to obmc packagroups and create
IMAGE_FEATURES for easy opt-out.
(From meta-phosphor rev: 67a3c577eced35685ec373b30a1419be5f3d3827)
Change-Id: I912610933a2e73530e862feff684134dce9dfe99
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
An ldap image feature was recently added. If the image feature is used
without the distro feature, nsswitch will have the wrong content and the
function won't work. Move this logic to a rootfs post hook so that the
distro feature is not required (and can be deprecated) and because this
is the expected way to make these sorts of modifications to base files
anyway.
(From meta-phosphor rev: 22de160c862b4cf4fee2a3f62e9bd7fad807344d)
Change-Id: I1bc69a96e833801c58bebce68b633e8550982fb8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Much like CORE_IMAGE_EXTRA_INSTALL, packagegroup-obmc-apps-extras is a
dumping ground. Move packages to proper packagroups (bmcweb, ikvm,
dbus-monitor, ldap) and create IMAGE_FEATURES for easy opt-out.
(From meta-phosphor rev: 7463d6daf6868dcad47070c35c1abaec5cf3d2a5)
Change-Id: Ic4209059ac6e22aac18ef95010c7da1439686962
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
CORE_IMAGE_EXTRA_INSTALL is a dumping ground. Move packages to proper
packagroups (console/sol, rng) and create IMAGE_FEATURES for easy
opt-out.
Move the ffdc application to the debugging packagegroup. Move the
pam-access plugin to the user management packagegroup.
(From meta-phosphor rev: 94bf53d44193b6c5d123c462333fdedf91613370)
Change-Id: If43af92f9bfcb6e0eef08adefbce077defd90b8d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Move i2c tools to the devtools package, right next to gpio tools.
Rename extrasdevtools to just devtools. "Extra" doesn't convey any
useful information. We can get away with this rename since noone is
touching the package.
Add an IMAGE_FEATURE for devtools, for easy opt-out.
(From meta-phosphor rev: 113fe568c65247e4dc99513b679b74c049178d36)
Change-Id: I28e8e6444e7d5d8c5c6b7c0fb6666587027b3a7b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
There is no reason to install the pam-ipmi module if net-ipmi isn't
being installed.
(From meta-phosphor rev: 26921a3944fe1a7d223212c9715e6b50dd53f666)
Change-Id: Ibb4a418f710f41d85472f7224fd9e480ca881296
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Move the LICENSE directive to the image recipe so other recipes could
have their own license, and because this is how oe-core is organized.
(From meta-phosphor rev: 92cadf349fb2948e64e44fba73b5eba1944886e2)
Change-Id: I6cc0499b9874ac38852cde05cb44fd32f8871204
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Similar to IMAGE_FEATURES, move the rootfs modifications to the image
recipe to open up the possibility of other image recipes using
obmc-phosphor-image.bbclass. Leave the rootfs command definitions in
the class for use by other image recipes.
(From meta-phosphor rev: 1e92fefdf8c8da253a4ed0ae35256af7592da0b6)
Change-Id: I814f73e24fda19c7fd5393252b660b20079e66c7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
This reverts commit b2c81a4dbdb409e1fae7fdefda99adb97f40d912.
With changes made to the default rsyslog.conf, rsyslog
discards all messages. This prevents the scenario where
systemd would try to launch rsyslog on socket activation,
causing slowness during boot.
(From meta-phosphor rev: e989a6ba8103be2116ba4159e93b910dfc7555ca)
Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Change-Id: I7eb5511fc0109bc661a0e837f5bc11a636c7d36a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Don't install packagegroup-obmc-apps-extrasdev by default. It only
includes a single python script rest-dbus and drags in python on the
target.
To include packagegroup-obmc-apps-extrasdev add a line like:
IMAGE_INSTALL_append = " packagegroup-obmc-apps-extrasdev"
to your local.conf
(From meta-phosphor rev: d0620aa530293d477a069837236e81ef17ead28a)
Change-Id: I697a3870e1c7767d4f524619ed1c258c4055031e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
In previous builds, the debug tarball was built as part of the
obmc-phosphor-image implicitly. This increases the build times by a
trivial amount, which matters, but is not that important. It also makes
debugging image dependencies (using bitbake -g) a bear, given that it
includes all dependencies for the debug tarball, as well as the actual
image. Given that it's pretty trivial to build this manually via
bitbake obmc-debug-tarball
and (at least in my opinion) injecting the task seems like a bit of a
violation of the yocto intracacies, and gives a surprising result to the
user, this patchset removes the task add, and makes
obmc-phosphor-debug-tarball a truly separate build target.
(From meta-phosphor rev: 5c848ab3436bd0ed1062c4657f35a6a6890992ad)
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Change-Id: Ie2294f8e324249a44ef73aa10d57f332e8f54168
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Don't enable the remote-logging image feature by default. This avoids
https://github.com/openbmc/phosphor-logging/issues/19, which prevents
OpenBMC from advancing its upstream subtrees (like poky,
meta-openembedded ...).
(From meta-phosphor rev: b2c81a4dbdb409e1fae7fdefda99adb97f40d912)
Change-Id: I428e2d5a8d1184c25e4900ae166a99baf5f8094d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Enable pam-ipmi recipe in obmc-phosphor-image. This will
include pam-ipmicheck & pam-ipmisave modules which are required
for IPMI authentication to work.
(From meta-phosphor rev: d4d8c3639a91e9eadaa45b1083a6113496a03a13)
Change-Id: I4ed60fc4d5bbc3c740aecf04b039ce2e4c448595
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Update meta-phosphor to master HEAD.
Adriana Kobylak (2):
rsyslog-policy: Add rsyslog-override.conf
Move remote logging features to their own category
Brad Bishop (2):
phosphor: rsyslog: remove obmc-phosphor-license
phosphor: mrw-api: fetch all of serverwiz
Change-Id: Ic342bda5d19272b2806f65c7082189d4a79c69d8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Set LICENSE field explicitly.
(From meta-phosphor rev: 7f58289415cd6e7a0b820e5efdfd856dabb67460)
Change-Id: I726c3e124ceba6e72239d4554da700f011f37e60
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This was used a long while back for a console but it's
now only used for occasional debug.
Tested: Verified QEMU booted to ready state and screen
tool not in image. Verfied it is now in debug tarball.
(From meta-phosphor rev: 773ad6892bcfc42fa9902af5e6f97e02a4993310)
Change-Id: Ib1b9bae89fe0253fdc2ea173f6b0c0842d40d005
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The binaries of the shadow package like useradd, groupadd is needed
for the user management functionality.
Change-Id: Idfe506793ac8f452ad4de5589f0de00efaf4ce3b
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
We don't need a distro feature for net IPMI at this point, so
simplify things a bit.
Additionally, remove the net-ipmi virtual since we don't have
any alternative implementations today and it just adds unnecessary
complexity.
Tested: Built a witherspoon image and validated manifest
Change-Id: I2784f13b3e8897e855ac128422081ec3ee207bf1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Remove the phosphor-logging virtuals. They were unused.
Add a logging packagegroup so other layers can add additional
logging applications predicated on the logging distro feature
being enabled.
Change-Id: Ic82843cb2b1229df55005bad93576c14f468073b
Tested: Built witherspoon, palmetto and qemu images
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Drop support for RHEL6 which has been unsupported by Poky
since 2.1.
This reverts commit c83cf1ce570d4771b1e42ded308bf4110e70408b.
Tested: Built a witherspoon image
Change-Id: Idd8dda940c72a69a7a228733c34018f906ec9b8f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
In the previous review it was noted that it didn't make much sense
for host-check to be it's own provided function in OpenBMC. It's more
of a recommended piece of the base host state function.
Change-Id: I024472e96ea00f411e8348e0221c210f84700019
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
As with MRW the use of the UBI image scheme is distro policy.
Convert the existing machine feature to a distro feature.
Enable the new distro feature on the systems that use
it(Witherspoon).
Add a distro override and fix-up MF checks to use this override
instead for improved readability.
Tested: Built a Witherspoon image and validated image
Change-Id: I8ab03115bbfc2ecc77cff5c9eb8628903ae88051
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
xyz.openbmc_project.Settings has replaced this function
Resolves openbmc/openbmc#2339
Change-Id: Ifec6a2fda088c4631e3835d3276a54e09b5d7147
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Create a new development tools package and move the obmc-pydevtools there
so they're no longer in the extrasdev development feature package.
The reason is that the extrasdev contains features that are desirable to
be removed from production systems, such as the rest-dbus. On the other
hand the pydevtools are binaries that are useful to have even in
production systems, so makes sense to put them in a separate tools
category.
Resolves openbmc/openbmc#2571
Change-Id: Ia66bf6e83d920818c8c355ec9d01a047583b82c0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
This adds xmodem receive shell tools so we can move files onto or off of
the BMC over a serial console (without a network connection). This is
helpful when debugging issues with failed network connectivity.
Change-Id: Id12a3704c690230cb9111aa2f6f50962527e3987
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Removed the obmc-phosphor-user and put the new one
Also, removed the usage of PREFERRED_PROVIDER and replaced by
VIRTUAL_RUNTIME for this feature
Change-Id: I6f0825f8d51eecb9c666a95d9fd702a8ea8bb08b
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
Change-Id: I94fe5ce5231a2950dba5efbb3ee55522da6641a5
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Solve the problem resulting in the addition of this variable
differently, such that it can be removed and image type
selection can be selected in the standard way using IMAGE_FSTYPES.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Ice94e8f278f00b8b4d344244bfb87dddeb173a23
|
|
An IMAGE_FEATURE update was missing.
Change-Id: I51ca5f5c9e4165ad73a5d66f46f733a41b094724
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
Change-Id: I03382dbcbd350d7e3a8991633b4548658e4e4b1e
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
Change-Id: I0775946e1503cda53d138b552d22c0f4da0b5725
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
Resolves openbmc/openbmc#1367
Change-Id: I3f5a48a8fa84b1c02f8c560cb678175f5f329cf6
Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
|
|
Change-Id: I7f61a48b31d2997c1710c7d0bdde387e5c41a598
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
The records.events implementation has been replaced with
xyz.openbmc_project.Logging
Closes: openbmc/openbmc#1313
Change-Id: Ie2cc3dc48763301989de63214c37edb601290c91
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Resolves openbmc/openbmc#1503
Change-Id: Id42d8c5042af4a9a74a9a284f3601989a65c5054
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
This application and services will be used by the host reset service
to determine if the host is running after a BMC has been rebooted
Change-Id: I8299546b0f275ebbb46aa775ab7b0633cc3fd5e0
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
Add a fan control package group for applications implementing
fan control algorithms.
Change-Id: Ida2146465ef1c18832550e91d5c749cfa21ee171
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The uninative stub from Yocto-2.2 includes a glibc that
no longer has legacy kernel support for the kernel in
RHEL6. We need to disable uninative and set OLDEST_KERNEL
to enable backwards compatibility.
See openbmc/openbmc#1407 to track removal of this.
Change-Id: I6352514016d803b7b77d483425b3f080eef896c0
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Added rsync_%.bbappend recipes file .
Change-Id: I2dadb0946e41575753520ed8dcc5b352943007f3
Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
|
|
This service was implemented for Barreleye to send out the ARP packet
for BMC discovery. We can remove it from default build since it's not
necessary for other platforms.
Also need to inherit obmc-phosphor-systemd so it can be installed once
built in on specific platform.
Resolves openbmc/openbmc#1306
Change-Id: I20865177aa939fb729d15e9ba373c80ff8ea59bf
Signed-off-by: John Wang <hsienchiang@gmail.com>
|