05a89a2a | 28-Jul-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Add repo description to README
Change-Id: Ied74251f760ed2127dfbf7c46dec249d9ff10cc6 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
0edd4ad4 | 26-Jul-2017 |
Michael Tritz <mtritz@us.ibm.com> |
BMC Activation: Implement ActivationProgress interface
This commit extends the BMC activation progress by implementing the generic ActivationProgress interface, in order to periodically update the u
BMC Activation: Implement ActivationProgress interface
This commit extends the BMC activation progress by implementing the generic ActivationProgress interface, in order to periodically update the user with the current status of the process.
Dependent on openbmc/openbmc#2031 to avoid crashes in multiple image scenarios.
Resolves openbmc/openbmc#2030
Change-Id: If52426ea1eae93f32166a255072f813d6a056172 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
show more ...
|
f2b5e0df | 25-Jul-2017 |
Michael Tritz <mtritz@us.ibm.com> |
Miscellaneous improvements to activation/item updater
This commit slightly enhances and improves the item updater and the activation process, addressing a few issues that were raised in code review
Miscellaneous improvements to activation/item updater
This commit slightly enhances and improves the item updater and the activation process, addressing a few issues that were raised in code review of openbmc/openbmc#1756
1.) Service file booleans used in activation are reset to false, to avoid a BMC-flavored issue in the vein of openbmc/openbmc#1984
2.) systemd constants used in multiple places are moved to configure.ac
3.) Activation objects are unsubscribed from systemd signals at the end of that process.
Resolves openbmc/openbmc#2031
Change-Id: I573645b16bca28ac6bf3b173d5b4845205224e07 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
show more ...
|
3526ef73 | 07-Jul-2017 |
Leonel Gonzalez <lgonzalez@us.ibm.com> |
item_updater: Added erase method
Implements Object.Delete, so item_updater deletes ReadWrite, ReadOnly partitions, and removes Version, and Activation from maps.
Resolves openbmc/openbmc#1550
Chan
item_updater: Added erase method
Implements Object.Delete, so item_updater deletes ReadWrite, ReadOnly partitions, and removes Version, and Activation from maps.
Resolves openbmc/openbmc#1550
Change-Id: If6d08bc7d380d043c28a26570e4698201cd7f5b0 Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
show more ...
|
50d559c9 | 07-Jul-2017 |
Leonel Gonzalez <lgonzalez@us.ibm.com> |
image_manager: Added erase method
Image manager deletes image, image directory, and the version from its map.
Change-Id: Ica128927b706257eb8c4b28d3b9d2ac9ca397b91 Signed-off-by: Leonel Gonzalez <lg
image_manager: Added erase method
Image manager deletes image, image directory, and the version from its map.
Change-Id: Ica128927b706257eb8c4b28d3b9d2ac9ca397b91 Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
show more ...
|
e4233687 | 07-Jul-2017 |
Leonel Gonzalez <lgonzalez@us.ibm.com> |
version: Added erase callback and delete method
Added erase callback, and delete method as part of implementing image Object.Delete to delete images.
Change-Id: If3251138c79e05693217fa3ae3f5b238e9c
version: Added erase callback and delete method
Added erase callback, and delete method as part of implementing image Object.Delete to delete images.
Change-Id: If3251138c79e05693217fa3ae3f5b238e9c61df4 Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
show more ...
|
bed88af9 | 19-Jul-2017 |
Michael Tritz <mtritz@us.ibm.com> |
Activation: Start service files and wait for completion
In this commit, the BMC activation flow is implemented. When the user starts an activation, two service files are called to create read-only a
Activation: Start service files and wait for completion
In this commit, the BMC activation flow is implemented. When the user starts an activation, two service files are called to create read-only and read-write volumes. Once these service files are finished running, activation is marked as complete.
Resolves openbmc/openbmc#1756
Change-Id: I3874c2d04a1a2b07eea4e34789ba5ece0ff6979c Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
show more ...
|
37a59043 | 12-Jul-2017 |
Michael Tritz <mtritz@us.ibm.com> |
Item Updater: Implement BMC factory reset
This commit implements the generic factory reset interface for the BMC software updater. When the reset function is called, a service file is called which s
Item Updater: Implement BMC factory reset
This commit implements the generic factory reset interface for the BMC software updater. When the reset function is called, a service file is called which sets the environmental variable to reset the RW volume.
Change-Id: Ic69b5d145edd654ed75295a9e9aeef9f53779dad Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
show more ...
|
4c1aec09 | 06-Jul-2017 |
Saqib Khan <khansa@us.ibm.com> |
BMC: Implement Software RedundancyPriority.interface
- Create Redundancy Priority interface after a successful PNOR update and set the priority. - Remove Redundancy Priority interface once the act
BMC: Implement Software RedundancyPriority.interface
- Create Redundancy Priority interface after a successful PNOR update and set the priority. - Remove Redundancy Priority interface once the activation state changes from being Active. - Create override function for RedundancyPriority.
Resolves openbmc/openbmc#1755
Change-Id: I160dc4a6cad243d58759c71bbeb218aab841cf7a Signed-off-by: Saqib Khan <khansa@us.ibm.com>
show more ...
|
84a0e693 | 28-Jun-2017 |
Saqib Khan <khansa@us.ibm.com> |
item_updater: style simplification
Resolves openbmc/openbmc#1715
Change-Id: I99bc8cfc96c791c602f807cfb6ba274be82ecc9f Signed-off-by: Saqib Khan <khansa@us.ibm.com> |
19177d3e | 20-Jun-2017 |
Saqib Khan <khansa@us.ibm.com> |
item_updater: Use Common.FilePath to locate images
The image manager implements the Common.FilePath.Path interface, make use of it to find the image files instead of hardcoding the path, since the u
item_updater: Use Common.FilePath to locate images
The image manager implements the Common.FilePath.Path interface, make use of it to find the image files instead of hardcoding the path, since the updater shouldn't know/care where the images are.
Change-Id: Ieb9ad8e393a7f91645631db9f302095eb82d7f61 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
show more ...
|
9a8d14c6 | 22-Jun-2017 |
Leonel Gonzalez <lgonzalez@us.ibm.com> |
Change image_manager.cpp to accept the correct purpose
Change-Id: If8961a8582f1d25fa4275d915795beb50366060f Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com> |
ba239881 | 26-May-2017 |
Saqib Khan <khansa@us.ibm.com> |
Move Active BMC version object to item_updater.
- There needs to be only one version class for both BMC and PNOR images. Thus removing the BMCVERSION class and moving the functionality to MANAGE
Move Active BMC version object to item_updater.
- There needs to be only one version class for both BMC and PNOR images. Thus removing the BMCVERSION class and moving the functionality to MANAGER class.
Change-Id: I6dda818960588cfd9ed345fe93068531efc7a877 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
show more ...
|
705f1bfc | 09-Jun-2017 |
Saqib Khan <khansa@us.ibm.com> |
item_updater: Add version dbus object.
Implementing the Version object under item_updater helps to retain the version of the active images after the bmc is rebooted and the image_dir no longer holds
item_updater: Add version dbus object.
Implementing the Version object under item_updater helps to retain the version of the active images after the bmc is rebooted and the image_dir no longer holds version file.
Change-Id: I55349bbc62b212b4e034239f4f6743129c8b1070 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
show more ...
|
35e83f3e | 22-May-2017 |
Saqib Khan <khansa@us.ibm.com> |
ItemUpdater: Validate BMC squashfs image
- Validate the image dir by checking its content. - Set Activation to "Active" if current image, "Ready" if validation passed and "Invalid" if validation
ItemUpdater: Validate BMC squashfs image
- Validate the image dir by checking its content. - Set Activation to "Active" if current image, "Ready" if validation passed and "Invalid" if validation fails
Resolves openbmc/openbmc#1629
Change-Id: I5f1c42fb2ba93c849ea8653c9e81c737ae27c814 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
show more ...
|
b0774708 | 23-May-2017 |
Saqib Khan <khansa@us.ibm.com> |
Create Constructor for BMC Activation
- Create Activation Block Transition - Create override functions so that actions can be taken based on the value that the properties are being set to. - Creat
Create Constructor for BMC Activation
- Create Activation Block Transition - Create override functions so that actions can be taken based on the value that the properties are being set to. - Create ActivationBlockTransition when the Activating property is set to Activating. Remove it when the property is set to anything else.
Change-Id: Id48d049cca54ae0bcbed6afe41e67e20e6a5e44c Signed-off-by: Saqib Khan <khansa@us.ibm.com>
show more ...
|
9f357146 | 30-May-2017 |
Patrick Williams <patrick@stwcx.xyz> |
item_updater: match activations on Purpose::System
item_updater was only matching on Purpose::BMC, but Purpose::System is full-system images (BMC + Host) so match on those as well.
Change-Id: Ic20b
item_updater: match activations on Purpose::System
item_updater was only matching on Purpose::BMC, but Purpose::System is full-system images (BMC + Host) so match on those as well.
Change-Id: Ic20b13df246949224840b26f1fae6f9eac6d5e29 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
e75d10f5 | 30-May-2017 |
Patrick Williams <patrick@stwcx.xyz> |
use new sdbusplus match constructors
Change-Id: Ib2dc2b482448422c8497da3af269047288f2159a Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
9ec18ef0 | 24-May-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Remove unnecessary namespace
Change-Id: I69123c1c3ea66595d0a1deafbf2f8705fe58660e Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
f576bcae | 18-May-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Add check for image dir
If the image dir exists already, delete it.
Change-Id: I36242ee50d8af828784efa54a46f92ca3e3c971f Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
2ce7da29 | 04-May-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Create activation interface on BMC version dbus creation
Create an activation interface on BMC version dbus creation. For now, set all versions with a purpose of "BMC" to Active. Resolves openbmc/op
Create activation interface on BMC version dbus creation
Create an activation interface on BMC version dbus creation. For now, set all versions with a purpose of "BMC" to Active. Resolves openbmc/openbmc#1532
Change-Id: Ia253c5744bf7808191f2f1814734dab426edc1a5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
ec1b41c4 | 02-May-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Create initial BMC Item Updater
This is the initial BMC Item Updater.
Change-Id: I1c4f8ec94d7d35a0e03a363007b79414b20058ac Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
93c12d33 | 10-May-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Create error log on fail
Use elog to create error log on fail. Resolves openbmc/openbmc#1352
Change-Id: I1c362390110c5b3fcae3335a0bd0a7dd11540883 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
3027bba9 | 27-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Create version dbus object
Read the version and purpose from the manifest. Compute the id from the version. Create the image dir, <IMAGE_UPLOAD_DIR>/<id>/. Create the version object with the version
Create version dbus object
Read the version and purpose from the manifest. Compute the id from the version. Create the image dir, <IMAGE_UPLOAD_DIR>/<id>/. Create the version object with the version, purpose, id and image dir path.
Change-Id: I6d2d710fb8eeeda085af8ab116f2dafc720a2ade Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
19e4ce5d | 27-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Untar tarball
Untar the tarball to the image dir. The image dir is <IMG_UPLOAD_DIR>/<id>/. The MANIFEST is first extracted, the version is read from the MANIFEST and used to compute the id.
Change-
Untar tarball
Untar the tarball to the image dir. The image dir is <IMG_UPLOAD_DIR>/<id>/. The MANIFEST is first extracted, the version is read from the MANIFEST and used to compute the id.
Change-Id: Ifed01e980202404e104ce7c20beb85ab23527913 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|