update hooks: slip in public butterfly overlay

For people who have stout builds already, regen their board configs
so that they also include the public overlay.

BUG=chrome-os-partner:23327
TEST='BUG=chrome-os-partner:22327
TEST=`./update_chroot` converts a private-only /build/butterfly to include
the public repo

CQ-DEPEND=Ib12f784316e7ddfef608f2893f506915fbc10f1f

Change-Id: I349724e57d1c82bd1785d03f4ebb3d7a8160a3ab
Reviewed-on: https://chromium-review.googlesource.com/175545
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Shawn Nematbakhsh <shawnn@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
diff --git a/chroot_version_hooks.d/77_butterfly_go_public b/chroot_version_hooks.d/77_butterfly_go_public
new file mode 100644
index 0000000..4d387dd
--- /dev/null
+++ b/chroot_version_hooks.d/77_butterfly_go_public
@@ -0,0 +1,14 @@
+# Copyright (c) 2013 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 public overlay.  Make sure we regen the
+# boards profile settings and such so we pull in the public bits.
+BOARD=butterfly
+
+if [[ -d /build/${BOARD} ]]; then
+  ~/trunk/src/scripts/setup_board \
+    --board=${BOARD} \
+    --skip_chroot_upgrade \
+    --regen_configs
+fi