crosutils: add HWID folder when building factory test image

To always have HWID bundles in build output, this CL copies the HWID bundle
files from board temporary space into build output folder.

The HWID folder in make_netboot is also removed.

BUG=chrome-os-partner:5796
TEST=./build_image --factory
     # see "hwid" folder in build output

Change-Id: I8c2cd32c257b117261fba3654b52929c71310c82
Reviewed-on: http://gerrit.chromium.org/gerrit/7331
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
2 files changed
tree: d99f93d6c1d6969bc70f1fc2a1617671ffe7c364
  1. bin/
  2. build_library/
  3. chroot_version_hooks.d/
  4. lib/
  5. mod_for_factory_scripts/
  6. mod_for_test_scripts/
  7. sdk_lib/
  8. .gitignore
  9. archive_hwqual
  10. bash_completion
  11. build_image
  12. build_kernel_image.sh
  13. call_autoserv.py
  14. check_control_files.sh
  15. clean_loopback_devices
  16. common.sh
  17. cros_deps_diff
  18. cros_download_latest_image
  19. cros_generate_breakpad_symbols
  20. cros_generate_deps_graphs
  21. cros_generate_stacks_bvt
  22. cros_show_stacks
  23. dot_helper.py
  24. enable_localaccount.sh
  25. enter_chroot.sh
  26. exclude-list
  27. fixup_image_for_qemu.py
  28. get_latest_image.sh
  29. get_package_list
  30. image_to_usb.sh
  31. image_to_vm.sh
  32. make_chroot
  33. make_developer_script_runner.sh
  34. make_factory_package.sh
  35. make_netboot.sh
  36. make_universal_factory_shim.sh
  37. mk_memento_images.sh
  38. mod_image_for_recovery.sh
  39. mod_image_for_test.sh
  40. mod_test_image_for_pyauto.sh
  41. mount_gpt_image.sh
  42. remote_access.sh
  43. run_chroot_version_hooks
  44. serve_factory_packages.py
  45. set_shared_user_password.sh
  46. sha256_partitions.sh
  47. ssh_test.sh
  48. start_devserver
  49. update_bootloaders.sh
  50. update_chroot
  51. update_kernel.sh
  52. upload_symbols
  53. verify_rootfs_chksum.sh