Skip to content
Snippets Groups Projects
Verified Commit 102863b3 authored by Alexey Minnekhanov's avatar Alexey Minnekhanov :electric_plug: Committed by Clayton Craft
Browse files

ci: always zap chroots before doing pkg build testing in systemd context (MR 6051)


Signed-off-by: default avatarAlexey Min <alexey.min@gmail.com>

[ci:skip-build]: already built successfully in CI
parent 79d223e8
No related branches found
No related tags found
No related merge requests found
......@@ -110,6 +110,10 @@ if __name__ == "__main__":
# FIXME: this should probably be more generic, if other repos are added later?
if systemd_pkgs:
common.run_pmbootstrap(["config", "systemd", "always"])
# To fix the ERROR: Chroot 'native' is for the 'edge' channel, but you are on the
# 'systemd-edge' channel. Run 'pmbootstrap zap' to delete your chroots and try again.
# To do this automatically, run 'pmbootstrap config auto_zap_misconfigured_chroots yes'.
common.run_pmbootstrap(["config", "auto_zap_misconfigured_chroots", "yes"])
verify_only = common.commit_message_has_string("[ci:skip-build]")
if verify_only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment