Update hooks: migrate pineview & sandybridge to freon for ToT

BUG=chromium:514682
TEST=run_chroot_version_hooks
CQ-DEPEND=CL:293492

Change-Id: Iaa8f0dfd1f1d01751de38cb63d3b7108f00ed633
Reviewed-on: https://chromium-review.googlesource.com/293517
Trybot-Ready: Haixia Shi <hshi@chromium.org>
Tested-by: Haixia Shi <hshi@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Queue: Haixia Shi <hshi@chromium.org>
diff --git a/chroot_version_hooks.d/132_pineview_and_sandybridge_to_freon_again b/chroot_version_hooks.d/132_pineview_and_sandybridge_to_freon_again
new file mode 100644
index 0000000..515525d
--- /dev/null
+++ b/chroot_version_hooks.d/132_pineview_and_sandybridge_to_freon_again
@@ -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