scripts: Build DLC images during the build_image phase.
Previously, the DLC images were created at the build_packages phase.
With this change, the build_packages will only build the DLC packages,
and the DLC images will be created at the build_images phase.
The change in common.sh is to exclude the DLC files from the rootfs
during emerge to the image and DUT, but ideally, the DLC files should
not be included in tha tarball during the build_package phase at all.
TEST=build_packages, build test image, cros flash local image.
Tested-by: Andrew Lassalle <email@example.com>
Commit-Queue: Andrew Lassalle <firstname.lastname@example.org>
Reviewed-by: Amin Hassani <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
4 files changed