update hooks: migrate samus content to the public

BUG=chromium:467284
TEST=precq passes
CQ-DEPEND=CL:*208276

Change-Id: I85d07b207d604209634ace62ee8c19e9432d7d70
Reviewed-on: https://chromium-review.googlesource.com/262621
Trybot-Ready: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Katie Roberts-Hoffman <katierh@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/chroot_version_hooks.d/117_samus_go_public b/chroot_version_hooks.d/117_samus_go_public
new file mode 100644
index 0000000..6729250
--- /dev/null
+++ b/chroot_version_hooks.d/117_samus_go_public
@@ -0,0 +1,15 @@
+# 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 public overlay.  Make sure we regen the
+# boards profile settings and such so we pull in the public bits.
+
+for b in samus; do
+  if [[ -d /build/${b} ]]; then
+    ~/trunk/src/scripts/setup_board \
+      --board=${b} \
+      --skip_chroot_upgrade \
+      --regen_configs
+  fi
+done