Commit Graph

4592 Commits

Author SHA1 Message Date
Alex Crawford
069ae5644f Merge pull request #524 from crawford/azure
oem/azure: add new regions
2016-04-26 10:43:39 -07:00
Alex Crawford
ba3d0135ed oem/azure: add new regions 2016-04-25 13:50:01 -07:00
Nick Owens
b84a12ee65 Merge pull request #523 from mischief/arm64-bios
build_library: generate pflash files for qemu_uefi from edk2-armvirt
2016-04-22 14:52:11 -07:00
Nick Owens
e0524264b9 build_library: generate pflash files for qemu_uefi from edk2-armvirt 2016-04-21 10:45:15 -07:00
Nick Owens
4ec33c5495 Merge pull request #519 from mischief/lib-path
build_library: use lib for tmpfiles rather than lib64
2016-04-14 15:47:44 -07:00
Nick Owens
25bb8eeab7 Merge pull request #520 from mischief/grub-arm64-efi
build_library: enable extra modules for arm64-efi
2016-04-14 15:13:16 -07:00
Nick Owens
12a9d94922 build_library: enable extra modules for arm64-efi 2016-04-14 14:46:01 -07:00
Nick Owens
704a480379 build_library: use lib for tmpfiles rather than lib64
in arm64-usr, lib is not yet a symlink to arm64, so trying to access
tmpfiles.d in lib64 will not work.
2016-04-14 13:26:02 -07:00
Matthew Garrett
a71bdcc03c Merge pull request #516 from mjg59/master
Move PAM configuration to /usr at build time
2016-04-11 15:53:04 -07:00
Matthew Garrett
24037ac393 Merge pull request #518 from mjg59/pcrs
Upload PCRs to the correct location
2016-04-11 15:52:59 -07:00
Matthew Garrett
d41e28efa1 Upload PCRs to the correct location 2016-04-11 15:49:17 -07:00
Michael Marineau
07681aa8bb Merge pull request #517 from marineam/pkg-config
setup_board: remove bad pkg-config wrapper
2016-04-11 13:18:40 -07:00
Michael Marineau
da27e7e51b setup_board: remove bad pkg-config wrapper
See https://github.com/coreos/coreos-overlay/pull/1883

Builds should be usring /usr/bin/$CHOST-pkg-config instead.
2016-04-11 12:07:27 -07:00
Matthew Garrett
0bd89d3381 Move PAM configuration to /usr at build time
A bunch of packages install PAM configuration fragments in /etc. Rather than
modify them all to install into /usr/lib, just move the entire directory at
image build time.
2016-04-11 11:34:57 -07:00
mjg59
391368c100 Merge pull request #515 from mjg59/master
Add support for generating PCR configuration at image build time
2016-04-05 11:10:55 -07:00
Matthew Garrett
56aa7e5a17 Add support for generating PCR configuration at image build time
We need to ship some PCR measurements alongside images in order to make it
easier for admins to provide an appropriate policy. Add some tooling to
generate the appropriate hashes during build, pack those into a zip file
and upload it.
2016-04-04 14:47:06 -07:00
Alex Crawford
c75583f2b8 Merge pull request #512 from crawford/name
set_lsb_release: a new name
2016-03-26 20:45:51 -07:00
Alex Crawford
833cc82afa Merge pull request #513 from crawford/ami_copy
oem/ami: reduce parallelism
2016-03-26 20:31:29 -07:00
Alex Crawford
0f6d4f2f79 Merge pull request #511 from crawford/shebang
check_root: add test for missing interpreters
2016-03-26 19:49:30 -07:00
Alex Crawford
e778acd713 oem/ami: reduce parallelism
The EC2 builder doesn't have enough resources to run all of these in parallel.
Instead, copy the PV images and then copy the HVM images.
2016-03-26 10:12:40 -07:00
Alex Crawford
d4103b08a6 set_lsb_release: a new name 2016-03-25 19:39:05 -07:00
Michael Marineau
9c529bb6fc check_root: add test for missing interpreters 2016-03-16 11:43:20 -07:00
Michael Marineau
4744e3f96c Merge pull request #510 from marineam/dist
Properly report errors from update_distfiles and other cleanups
2016-03-09 20:25:41 -08:00
Michael Marineau
441ced7498 update_distfiles: report errors properly
If files cannot be mirrored due to problems fetching or missing digests
report that loudly so we are actually aware of it and can fix it.
2016-03-09 17:05:16 -08:00
Michael Marineau
accd254c85 update_distfiles: remove deletion options
We have never actually deleted anything from our mirror since gsutil cp
didn't really have a way to do that and the for some unknown reason
emirrordist never tried to delete anything anyway. Additionally we
actually don't want to delete anything from our mirror to ensure that
the source remains available for old releases.
2016-03-09 16:27:29 -08:00
Michael Marineau
3a66dc83ce update_distfiles: use gsutil rsync instead of cp 2016-03-09 15:39:36 -08:00
Michael Marineau
ff29c10f7a update_distfiles: remove old .boto file check
The config may be located other places these days.
2016-03-09 15:39:36 -08:00
Michael Marineau
d723eebe45 Merge pull request #508 from marineam/dist
core_promote: upload gce image name to private build bucket
2016-03-09 13:45:07 -08:00
Michael Marineau
c0139769dc core_promote: upload gce image name to private build bucket
The build bucket should now be writable anyone performing releases,
allowing us to ensure that the original build and public buckets are
exactly in sync.
2016-03-09 13:02:35 -08:00
Alex Crawford
55c8835f3c Merge pull request #464 from sigma/t/feature/ovf-variables
ovf: define variables accepted by coreos-cloudinit
2016-03-07 11:33:05 -08:00
Yann Hodique
2828c365da ovf: define variables accepted by coreos-cloudinit
OVF environment variables for VMware deployments, including cloud config
and network configuration
2016-03-05 15:15:45 -08:00
Michael Marineau
8c6407da01 Merge pull request #507 from marineam/profile
prod_image_util: move profile.env to /usr
2016-03-02 11:39:16 -08:00
Michael Marineau
10fa4b5a0c prod_image_util: move profile.env to /usr
profile is already set up to source /usr/share/baselayout/profile.env
but it never has because I forgot to add this line during the migration
to amd64-usr images. Sure took us a while to notice that one... :(
2016-02-29 18:54:12 -08:00
Michael Marineau
ecec1ea82b Merge pull request #506 from marineam/seoul
ami: add new Soeul region
2016-02-26 09:51:16 -08:00
Michael Marineau
2c5cfcb2ca ami: add new Soeul region 2016-02-26 09:45:18 -08:00
Alex Crawford
b77aa4d248 Merge pull request #504 from knoepfchendruecker/master
enable spaces in path names, add minimum error handling
2016-02-25 18:02:31 -08:00
Anders Henke
eda59ed214 Added simple error message on failed mkisofs.
When mkisofs failed, the script would still claim "Success".
2016-02-25 13:53:03 +01:00
Anders Henke
7b572d73f9 Added quotes around directory/file variables to enable working in a path with spaces in its name. 2016-02-25 13:31:44 +01:00
Michael Marineau
06485872b0 Merge pull request #501 from marineam/rsync
core_promote: switch from gsutil cp to rsync
2016-02-23 13:19:33 -08:00
Michael Marineau
fc33f611fe Merge pull request #503 from marineam/vm-pkgs
Add --getbinpkg flag to image_to_vm
2016-02-23 13:19:22 -08:00
Michael Marineau
66ea5974ce image_to_vm: add --getbinpkg option
Now image_to_vm can be used without first running build_packages.
2016-02-23 13:06:49 -08:00
Michael Marineau
3fc9091ee3 Merge pull request #502 from marineam/vm-pkgs
build_library: add a little script for checking oem packages
2016-02-23 13:05:46 -08:00
Michael Marineau
744faa2df4 vm_image_util: oems are always from ebuild, others always from binary
This resolves two issues:
 - Large dependencies are *never* built during image_to_vm,
   build_packages must now handle that.
 - Since build_packages can't resonably do the oem-* packages (they all
   conflict with eachother) we do want to build them from the ebuild.
   This is now enforced so a old binpkg is never used. This resolves
   confusing issues people have always had while when editing oem
   ebuilds but getting a stale build instead.
2016-02-23 12:50:52 -08:00
Michael Marineau
65864a3a2d build_library: add a little script for checking oem packages 2016-02-23 12:23:40 -08:00
Michael Marineau
bc4b774610 core_promote: switch from gsutil cp to rsync 2016-02-23 11:21:25 -08:00
Michael Marineau
344553986f Merge pull request #500 from marineam/setup
Support using build_image without running build_packages first
2016-02-22 11:30:18 -08:00
Michael Marineau
743d4bce37 build_image: Add support for --getbinpkg
Allows build_image to be used without first running build_packages.

Note: setup_board --force is required before build_packages will work
properly after doing this since baselayout won't be installed otherwise.
2016-02-20 14:26:50 -08:00
Michael Marineau
bc5de30442 board_options: new portageq wrappers
- May be sourced early, so explicitly die if source fails.
 - Add a function for getting the latest version of a package.
 - Read PROVIDES metadata using portageq, enabling data to be read from
   binary packages in addition to installed packages. The performance
   issue is not an issue here and needed to support empty build roots.
2016-02-20 14:17:45 -08:00
Michael Marineau
ab3f1ee0b8 build_image: remove hack to work around an old bug 2016-02-20 14:14:16 -08:00
Michael Marineau
9ab853a668 build_image: remove eclean, run in build_packages instead
Allows the binary package cache to be preserved when using build_image
without a fully populated board root.
2016-02-20 14:11:41 -08:00