mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +01:00
If people land upgrade hooks of the same version levels independently and no one notices, we get into an inconsistent state where only one of the hooks actually runs. Add a sanity check so we bail rather than upgrading the chroot with an arbitrarily picked script. BUG=None TEST=run build_packages with multiple 17_xxx files in a ver 16 chroot and see script error out TEST=run build_packages with single 17_xxx file in a ver 16 chroot and see successful run Change-Id: If9a71f60badb7c9643c1a03ad49bb23ffb64f341 Reviewed-on: https://gerrit.chromium.org/gerrit/11972 Reviewed-by: Zdenek Behan <zbehan@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
Description
Languages
Shell
93%
Python
6.9%