daemon: Allow downgrades when pulling a rebase diff
Running the actual rebase already does this automatically. Closes: #552 Approved by: jlebon
This commit is contained in:
parent
3a409342e6
commit
9a2788c7b6
@ -122,7 +122,7 @@ package_diff_transaction_execute (RpmostreedTransaction *transaction,
|
|||||||
|
|
||||||
self = (PackageDiffTransaction *) transaction;
|
self = (PackageDiffTransaction *) transaction;
|
||||||
|
|
||||||
if (self->revision != NULL)
|
if (self->revision != NULL || self->refspec == NULL)
|
||||||
upgrader_flags |= RPMOSTREE_SYSROOT_UPGRADER_FLAGS_ALLOW_OLDER;
|
upgrader_flags |= RPMOSTREE_SYSROOT_UPGRADER_FLAGS_ALLOW_OLDER;
|
||||||
|
|
||||||
sysroot = rpmostreed_transaction_get_sysroot (transaction);
|
sysroot = rpmostreed_transaction_get_sysroot (transaction);
|
||||||
|
Loading…
Reference in New Issue
Block a user