Print overrides from board overlay

BUG=chrome-os-partner:5416
TEST=run on system, view log and pause

Change-Id: I0c864503ab39397a61d59be8ef891ec19cf8ed2b
Reviewed-on: http://gerrit.chromium.org/gerrit/5708
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: Nick Sanders <nsanders@chromium.org>
diff --git a/factory_install.sh b/factory_install.sh
index 3c8f3cd..0e4858f 100644
--- a/factory_install.sh
+++ b/factory_install.sh
@@ -310,9 +310,17 @@
 override_from_board() {
   # Call into any board specific configuration settings we may need.
   # These will be provided by chromeos-bsp-[board] build in the private overlay.
+  local lastboard="$BOARD"
   if [ -f "/usr/sbin/board_customize_install.sh" ]; then
     . /usr/sbin/board_customize_install.sh
   fi
+
+  # Let's notice if BOARD has changed and print a message.
+  if [ "$lastboard" != "$BOARD" ]; then
+    colorize "red"
+    log " Private overlay customization BOARD override to $BOARD"
+    sleep 1
+  fi
 }
 
 overrides() {