summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/phosphor-software-manager-ubi-fs.bbclass
AgeCommit message (Collapse)AuthorFilesLines
2019-06-03phosphor-bmc-code-mgmt: srcrev bump d5b8f75c2f..a013560f96Andrew Geissler1-0/+1
Jayashankar Padath (1): Code Update: ApplyTime software manager support Add new service force-reboot.service This adds a new service, force-reboot.service to meta-phosphor layer which initiates a bmc reboot when ApplyTime value is immediate. Reboot is only carried out after the reboot-guard-disable.service and activation process got completed successfully. (From meta-phosphor rev: f7e8258b053f55a753396be8d9dcad1d555c4c04) Change-Id: I31725a151c2d36f94e46b93c06d189fe43526c1e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-15phosphor-software-manager: Use in-repo script, systemd conf and unitsAdriana Kobylak1-6/+0
Use the script, systemd configuration file and service files provided by phosphor-software-manager. Tested: The moved files are installed in their respective locations and code update on Witherspoon is successful. (From meta-phosphor rev: 3b5c7fdc75988dfae86b824708a97c9e8764a565) Change-Id: I316ab2b9bc0a250a5707b15251a9de8810217243 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-28phosphor-software-manager: Add ACTIVE_BMC_MAX_ALLOWED configLei YU1-0/+2
For static flash layout, configure ACTIVE_BMC_MAX_ALLOWED to 1, because it has only one active BMC image; For ubi-fs, configure ACTIVE_BMC_MAX_ALLOWED to 2, because ubi-fs assumes there are two BMC images by default. Resolves openbmc/phosphor-bmc-code-mgmt#2 Tested: Verify that ACTIVE_BMC_MAX_ALLOWED is set to 1 for Romulus build, and set to 2 for Witherspoon build. (From meta-phosphor rev: bf3edf1ce09f19836c38c2dd43ab4e50664fc46e) Change-Id: I60e49c14bda25547fde9a2308470ed164ebbd249 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-28phosphor-software-manager: Add MEDIA_DIR configLei YU1-0/+10
Configure MEDIA_DIR to /run/media for static flash layout; Configure MEDIA_DIR to /media which is default for ubi-fs. Resolves openbmc/phosphor-bmc-code-mgmt#3 Tested: Verify that the MEDIA_DIR is set to /run/media for Romulus build, and set to /media for Witherspoon build. (From meta-phosphor rev: f43eb6ee89433e4898cbdb1532963f038419c003) Change-Id: If96c2ee135d314bd6de0cd745c6a871b75183fe1 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-28Make obmc-flash-bmc-setenv common for static and ubiLei YU1-6/+0
Static flash layout will use obmc-flash-bmc-setenv service to set factory-reset env in u-boot, so make it common for both static and ubi flash layout. Tested: Build the image and verify the service and the obmc-flash-bmc script exist in both static and ubi builds. (From meta-phosphor rev: b2c944f13b0f891a7f569f3a9608e3c0de27a462) Change-Id: Ia067cebfe35a9d2d7d2af8b4d1bd4cb5717372ae Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-07-17phosphor-software-manager: ubifs_layout package configLei YU1-0/+2
Add ubifs_layout package config and pass --enable-ubifs_layout configuration option when ubi-fs distro feature is enabled. Tested: Verify --enable-ubifs_layout is passed to phosphor-software-manager's config for Witherspoon; And it is not passed for Romulus. Change-Id: I6daa0c565d2c2be980b6292e62654c0a86a69bbc Signed-off-by: Lei YU <mine260309@gmail.com>
2018-07-16phosphor-software-manager: Create new UBI bbclassAdriana Kobylak1-0/+49
Remove from the base phosphor-software-manager recipe everything that is conditional in the ubi-fs distro feature and put it in its own class. This allows for the base recipe to be cleaner and for future specific packages to be added conditionally. Tested: Built witherspoon and romulus and verified only witherspoon contained the UBI-specific files. Booted a witherspoon and a romulus qemu. Change-Id: I2a783abc6152aadcf212a35f0060409f8dac2241 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>