Phosphor code updater

Lei YU mine260309 at gmail.com
Tue Sep 17 12:45:00 AEST 2019


On Tue, Sep 17, 2019 at 10:34 AM Vijay Khemka <vijaykhemka at fb.com> wrote:
>
> Hi Brad,
>
> I looked into code updater from phosphor-software-manager as you suggested last week. As per current implementation, it is copying all 4 partition uboot, kernel, rootfs and rwfs. I wanted to make some modification to allow user to choose whether to upgrade rwfs or not. This way, all persistent storage can be retained after upgrade as well.

By default, image-rwfs is an empty image with size 0, and thus it will NOT be
updated to rwfs partition. So by default rwfs is preserved during code update.

>
>
>
> In my proposal, I will add another property named FactoryImageInstall which can be set as 1. ”true” means whole image would be installed including rwfs and 2. “false” means everything will be installed except rwfs partition. This way, old rwfs partition will be retained. This property will be under  xyz.openbmc_project.Software.Activation  interface.
>
>
>
> Please provide your opinion. I will send patch soon.
>
>
>
> Regards
>
> -Vijay


More information about the openbmc mailing list