Skip to content
Snippets Groups Projects
  • Frédéric Dalleau's avatar
    9fb2d181
    Generate ostree static delta for rollback test · 9fb2d181
    Frédéric Dalleau authored
    
    The test ostree commit is generated after the successful commit.
    Removing updatectl, it makes it impossible to mark an update successful.
    Hence the bootcount will be increased at each boot, eventually causing
    rollback to the previous deployment.
    
    Ostree provides --skip-list that allows to create a commit with a list
    of files to skip. That is useful to generate the rollback commit.
    This way there is not need to modify existing recipes or provide
    additional one. The execution time is also very short.
    
    Signed-off-by: default avatarFrédéric Dalleau <frederic.dalleau@collabora.com>
    9fb2d181
    History
    Generate ostree static delta for rollback test
    Frédéric Dalleau authored
    
    The test ostree commit is generated after the successful commit.
    Removing updatectl, it makes it impossible to mark an update successful.
    Hence the bootcount will be increased at each boot, eventually causing
    rollback to the previous deployment.
    
    Ostree provides --skip-list that allows to create a commit with a list
    of files to skip. That is useful to generate the rollback commit.
    This way there is not need to modify existing recipes or provide
    additional one. The execution time is also very short.
    
    Signed-off-by: default avatarFrédéric Dalleau <frederic.dalleau@collabora.com>