Update hooks: migrate pineview & sandybridge back to non-freon
We're pinning chrome to a version prior to converting these last
x86 boards to freon, so we need to force the same migration again.
BUG=None
TEST=None
Change-Id: I3081dbacb68b4176efd9e2880abc62f1d82de391
Reviewed-on: https://chromium-review.googlesource.com/293510
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
diff --git a/chroot_version_hooks.d/131_pineview_and_sandybridge_not_freon b/chroot_version_hooks.d/131_pineview_and_sandybridge_not_freon
new file mode 100644
index 0000000..515525d
--- /dev/null
+++ b/chroot_version_hooks.d/131_pineview_and_sandybridge_not_freon
@@ -0,0 +1,28 @@
+# Copyright 2015 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# We moved a lot of files to the project-freon overlay. Make sure we
+# regen the board setup for each freon board.
+
+BOARDS=(
+ butterfly
+ lumpy
+ parrot
+ parrot-ivb
+ stumpy
+ x86-alex
+ x86-alex-he
+ x86-mario
+ x86-zgb
+ x86-zgb-he
+)
+
+for b in "${BOARDS[@]}"; do
+ if [[ -d /build/${b} ]]; then
+ ~/trunk/src/scripts/setup_board \
+ --board=${b} \
+ --skip_chroot_upgrade \
+ --regen_configs
+ fi
+done