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 <firstname.lastname@example.org>
Commit-Queue: Andrew Lassalle <email@example.com>
Reviewed-by: Amin Hassani <firstname.lastname@example.org>
Reviewed-by: Mike Frysinger <email@example.com>
4 files changed