Slowly moving make.conf into profiles, here is another piece. We never
actually use the built debug information so remove -g to produce a
little less of it. Add -mtune=generic to let GCC optimize for whatever
it thinks the most common processors are.
Upstream has merged all of our reload bug fixes, replace local patches
with the upstream versions.
Drop the patch that removed the check for /etc/os-release. We always
initialize missing files in the initrd so it isn't needed any more.
Dracut is now in portage-stable and DRACUT_MODULES is unused.
Update bootengine dependencies so we can use btrfs and mdadm in the
initrd. Drop kbd because I'm excluding out the terminfo module now.
To behave more like setup_board/build_packages update_chroot should
fully configure portage to make sure everything is accurate.
Now binhosts are defined in make.conf.host_setup so the static config in
coreos-overlays doesn't need to refer to version.txt. setup_board
already made this change in 7a43a07f.
Define path locations to reduce dependency between static configs in
coreos-overlays and the behavior of the scripts repo. Spreading
configuration across two repos makes everything harder to understand.
Eventually everything should either be defined in profiles in
coreos-overlays or minimal auto-generated config files here in scripts.
For the most part this doesn't influence anything. The one exception is
the custom configuration for using curl is dropped, just rely on the
portage defaults. It appears curl was only used to work around a wget
issue with Google's internal SSL certificates. We care not. :)
Use what was the base image build function as setup/finalize steps in
the dev and prod build functions. This eliminates duplicate code
that mounted and unmounted the filesystem images.
We need some more control over exactly what lands in dev vs prod images
which will require letting them diverge in what is currently the common
base image step. There isn't any real need for the base image in the
first place other than to speed up building both dev and prod images at
the same time but that isn't common enough to worry about.
As part of this cleanup also remove references to CHROMEOS_* variables
and the recovery image that never actually existed in CoreOS.
The key/cert authentication method doesn't work any more, just rely on
sourcing a file with the right env vars exported.
Re-enable parallel copy.
Add group option to wrapper and custom google storage url options.