update_hooks: Cleanup .../autotest/logs directory.

CL:422446 results in the directory autotest/logs getting converted to a
symlink (as was the original intention). An ebuild uprev is not allowed
to do this, so add a chroot hook.

TEST=- merge chromeos-base/autotest-server before CL:422446
     - Verify that /build/${BOARD}/autotest/logs is a directory.
     - Run chroot_upgrade_hooks.
     - Verify that /build/${BOARD}autotest/logs is a symlink.

Change-Id: Ic1501d0bf02e01c5b91544cb331d9b3f18e99fca
Reviewed-on: https://chromium-review.googlesource.com/424320
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
1 file changed