Skip to content

push: enable building conflicting livepatches#205

Draft
vmezzela wants to merge 1 commit intoSUSE:develfrom
vmezzela:push-conflict
Draft

push: enable building conflicting livepatches#205
vmezzela wants to merge 1 commit intoSUSE:develfrom
vmezzela:push-conflict

Conversation

@vmezzela
Copy link
Copy Markdown
Collaborator

When a livepatch conflicts with a previous one that patches the same affected function, the usual workflow cannot be used.

In this case, the diff is going to be applied directly of top of the previous conflicting bsc directory, rather than creating a new bsc directory for the current bsc.

This means that we cannot use master-livepatch branch as a base to create the bsc directory and then rebase it appropriately on the affected product branches. Instead, for each group, we'd need to work on a product branch so that we have the previous conflicting bsc directory as a base where we can apply the diff and then commit it.

With this patch, it's possible to take that commit and apply it to the others product branches that belongs to the same group before pushing to IBS.


My idea is not to have this merged now, but to keep this branch here as a reference when someone will happen to work on a conflicting livepatch and have trouble building. I haven't tested how this change works with normal livepatches.

When a livepatch conflicts with a previous one that patches the same
affected function, the usual workflow cannot be used.

In this case, the diff is going to be applied directly of top of the
previous conflicting bsc directory, rather than creating a new bsc
directory for the current bsc.

This means that we cannot use master-livepatch branch as a base to
create the bsc directory and then rebase it appropriately on the
affected product branches. Instead, for each group, we'd need to work on
a product branch so that we have the previous conflicting bsc directory
as a base where we can apply the diff and then commit it.

With this patch, it's possible to take that commit and apply it to the
others product branches that belongs to the same group before pushing to
IBS.

Signed-off-by: Vincenzo Mezzela <vincenzo.mezzela@suse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant