Commit Graph

3767 Commits

Author SHA1 Message Date
Michael Marineau
b0ae54e8a7 Merge pull request #415 from marineam/roadmap
ROADMAP: updates from today's meeting
2015-05-27 17:36:21 -07:00
Michael Marineau
df1fabd2b3 ROADMAP: updates from today's meeting 2015-05-27 16:43:07 -07:00
Michael Marineau
e869c2a2dc Merge pull request #414 from marineam/roadmap
ROADMAP: bump completion of arm64 to next quarter
2015-05-27 11:49:58 -07:00
Michael Marineau
22a25d3ffd ROADMAP: bump completion of arm64 to next quarter
Adding developers to this project has taken longer than expected.
2015-05-27 11:45:17 -07:00
Alex Crawford
39bb800f16 build_library: set osType to otherlinux-64 2015-05-26 18:35:27 -07:00
Alex Crawford
219a325b7a Merge pull request #410 from crawford/azure
oem/azure: add more metadata to images
2015-05-13 10:38:05 -07:00
mjg59
7bde8bf232 Merge pull request #408 from mjg59/master
Don't read OEM config data if Secure Boot is enabled
2015-05-12 17:32:15 -07:00
Alex Crawford
3a72497a68 oem/azure: add more metadata to images
This extra metadata is needed by Azure's new portal.
2015-05-12 17:02:59 -07:00
Alex Crawford
c88ae61a5d Merge pull request #409 from crawford/ami
oem/ami: minor fixes
2015-05-11 20:12:36 -07:00
Alex Crawford
bfbdb6a33d oem/ami: minor fixes 2015-05-11 19:42:10 -07:00
Matthew Garrett
9fe7952578 Don't read OEM config data if Secure Boot is enabled
We don't want untrusted configuration to be read if we're in Secure Boot
mode, so skip the OEM config when Secure Boot is enabled and in User Mode.
2015-05-11 15:39:03 -07:00
Brandon Philips
3e33136871 Merge https://github.com/coreos/template-project 2015-05-03 16:26:29 -07:00
Michael Marineau
929b71b73e Merge pull request #405 from marineam/roadmap
ROADMAP: add initial overall CoreOS roadmap document
2015-05-01 14:02:02 -07:00
Michael Marineau
fed42e2d12 Merge pull request #382 from Cygnus-Labs/adding-base-dev-pkg-flag
Enhanced dev_image_util with equivalent to --base_pkg
2015-04-30 17:00:16 -07:00
Michael Marineau
b63901023e ROADMAP: add initial overall CoreOS roadmap document
This doc covers CoreOS as a whole and a few details that don't really
fit anywhere else. Individual projects maintain their own roadmaps.

Update LICENSE and add a README as general housekeeping.
2015-04-30 16:58:53 -07:00
Michael Marineau
bc7e9d7048 Merge pull request #404 from marineam/gov
oem/ami: add support for publishing AMIs in us-gov-west-1
2015-04-27 12:57:47 -07:00
Michael Marineau
8531f85cb1 oem/ami: add support for publishing AMIs in us-gov-west-1
A few general changes:
 - Use https for EC2 endpoint URLs
 - Remove parallelism from prod-publish, was launching enough Java
   processes at once to trigger OOM :(
 - Only share snapshots with Amazon in us-east-1: only needed for
   marketplace listing and marketplace only uses us-east-1.
2015-04-23 23:26:45 -07:00
mjg59
0ce635c1d1 Merge pull request #397 from mjg59/master
Add support for signed kernels
2015-04-23 16:10:25 -07:00
Michael Marineau
edfed4227d Merge pull request #403 from marineam/scripts
oem/ami: update path to ami scripts directory
2015-04-22 19:15:43 -07:00
Michael Marineau
41a64f6da1 oem/ami: update path to ami scripts directory
The ami builder host now has a proper checkout of the scripts repo.
2015-04-22 18:33:07 -07:00
Matthew Garrett
9579f4d68a Update grub configuration to handle ESP kernels, build it into grub
The grub configuration needs some updates to handle dealing with booting
the kernel from the ESP rather than from inside the image. We also want to
be able to avoid dealing with signing the config file, so build it into the
binary. Finally, rather than having to cope with signing grub modules, build
the ones we need to boot into the grub image.
2015-04-22 11:37:15 -07:00
Michael Marineau
02dcb2790b Merge pull request #402 from marineam/vmdk
vm_image_util: add support for VMDK images for EC2 AMIs
2015-04-21 16:38:28 -07:00
Michael Marineau
c81228b60f Merge pull request #401 from marineam/import
oem/ami: make import zone and bucket conferable
2015-04-21 16:32:41 -07:00
Michael Marineau
db2404664a oem/ami: make import zone and bucket configurable
The intent is to export the bucket and optionally the zone in the
environment alone with the AWS auth credentials.
2015-04-21 16:29:12 -07:00
Michael Marineau
12c53080a4 vm_image_util: add support for VMDK images for EC2 AMIs
Lets us avoid larger data transfers when importing images.
2015-04-21 16:27:37 -07:00
Michael Marineau
1e623f3eb6 Merge pull request #400 from marineam/import
oem/ami: add new import script, replaces build_ebs_on_ec2.sh
2015-04-21 11:55:39 -07:00
Michael Marineau
1508b44722 oem/ami: add new import script, replaces build_ebs_on_ec2.sh
This script uses the EC2 volume import tools instead of attaching and
writing to an EBS volume. This mechanism will be useful for creating
AMIs in isolated EC2 regions and can be run from any host with API
access and the EC2 tools.

TODO: Allow region to be specified and automatically create region-local
S3 buckets as needed. This version hard codes a bucket only usable by
our dev AWS account, not prod. Later on: move to a more compact disk
format like VMDK.
2015-04-21 11:54:50 -07:00
Michael Marineau
5181e6b71c Merge pull request #399 from marineam/move
setup_board: explicitly perform all package moves
2015-04-17 14:01:19 -07:00
Michael Marineau
d1ec00c932 setup_board: explicitly perform all package moves
For some reason package moves are not handled automatically in the board
build roots. Add explicit calls to emaint to update cached binary
packages, installed packages, and the world file.
2015-04-17 13:40:20 -07:00
Alex Crawford
859675b62a Merge pull request #398 from jonhiggs/create-coreos-vdi_bugfix
Avoid errors when paths contain spaces by quoting.
2015-04-17 01:54:04 -07:00
Jon Higgs
b7afa4f179 Avoid errors when paths contain spaces by quoting. 2015-04-17 13:00:32 +10:00
Matthew Garrett
07e5220f60 Add the kernels to the ESP
Once we're signing the root filesystem, we're not going to be able to boot
the kernel from there. Copy the kernel out to the EFI System Partition and
sign it.
2015-04-16 15:55:02 -07:00
mjg59
a3d8d43cb2 Merge pull request #396 from mjg59/master
Add support for Secure Boot images and sign unofficial builds with test ...
2015-04-15 14:50:54 -07:00
Matthew Garrett
4b8a64b70c Build shim into the image
grub requires that shim be available in order to call out to verify the
kernel. Sign it and stick it in the image alongside grub.
2015-04-15 11:24:17 -07:00
Matthew Garrett
707803ed43 Add support for Secure Boot images and sign unofficial builds with test keys
Add qemu_uefi_secure target for building Secure Boot images. These are
identical to qemu_uefi images with the exception that the test keys have
been installed into the flash image, enabling Secure Boot by default. In
addition, sign the grub binary with the test keys during build when
producing unofficial images.
2015-04-15 11:11:24 -07:00
Michael Marineau
a6824e7bbe Merge pull request #395 from glevand/for-merge
scripts: Minor cleanups
2015-04-10 10:56:24 -07:00
Geoff Levand
dcc9a2b97d build_packages: Update help for CoreOS
Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-04-09 09:42:26 -07:00
Geoff Levand
de00a676a8 setup_board: Remove unused option
setup_board's --latest_toolchain option seems to be a left over from a
removed feature.  It's not used, so remove it.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-04-09 09:42:26 -07:00
Michael Marineau
83bfa8f4f6 Merge pull request #394 from marineam/arm64
update_chroot: fail if --toolchain_boards= was given invalid names
2015-04-08 19:14:32 -07:00
Michael Marineau
629021b6de update_chroot: fail if --toolchain_boards= was given invalid names 2015-04-08 17:11:12 -07:00
Michael Marineau
dc88c752e9 Merge pull request #392 from glevand/for-merge
Add basic support for arm64
2015-04-08 13:42:29 -07:00
Geoff Levand
ec53361620 toolchain_util: Add arm64-usr support
Adds CROSS_PROFILES, BOARD_CHOSTS, and BOARD_PROFILES definitions to support a
generic arm64-usr board.

get_portage_arch() is updated to convert aarch64 correctly.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-04-08 13:30:38 -07:00
Alex Crawford
53ed93d652 Merge pull request #393 from crawford/prepub
oem/azure: add pre-publish blob copy
2015-04-08 12:43:42 -07:00
Alex Crawford
e9566a5749 oem/azure: add pre-publish blob copy 2015-04-08 11:45:30 -07:00
Michael Marineau
f04e213c2c Merge pull request #391 from marineam/repos
toolchain_util: include repos.conf in bootstrap build environments
2015-04-03 13:45:18 -07:00
Michael Marineau
6e6a0a4967 toolchain_util: include repos.conf in bootstrap build environments
This is required for the eventual removal of `$PORTDIR` and
`$PORTDIR_OVERLAY` and ensures toolchain rebuilds/updates with
`./build_packages --nousepkg` don't erroniously try to use ebuilds from
`/usr/portage` inside of the SDK.

In order to fix up the build_toolchains script the crossdev overlay
needs to be setup properly, previously only setup_board did it.

Overall silences a lot of warnings and fixes an issue with crossdev:

    /usr/bin/emerge-wrapper: line 48: /eclass/toolchain-funcs.eclass: No such file or directory
    /usr/bin/emerge-wrapper: line 49: tc-arch: command not found
2015-04-01 16:30:37 -07:00
Michael Marineau
10c9a82f79 Merge pull request #390 from marineam/cbuild
Fixes for cross compiling
2015-04-01 16:27:52 -07:00
Geoff Levand
ea6cf50b8d toolchain_util.sh: Fix _configure_sysroot CBUILD
The portage CBUILD and HOSTCC variables need to be set to the SDK host to get
a proper cross build when building target binaries.

Change _configure_sysroot to use the CBUILD environment variable to set the
CBUILD and HOSTCC variables of ${ROOT}/etc/portage/make.conf.  Also, fix up all
calls to _configure_sysroot to set the CBUILD environment variable.

Fixes setup_board failure when the host and target architectures differ.

Signed-off-by: Geoff Levand <geoff@infradead.org>

[marineam: fixed a copy/paste error]
2015-04-01 15:54:43 -07:00
Geoff Levand
46f5478991 setup_board: Fix hard coded symbol path
commit 03e8d451bf (setup_board: setup
gdb wrapper and debug symbol path) added hard coded paths for the
symbol path.  Change those to use the BOARD_ROOT variable.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-04-01 10:58:57 -07:00
Alex Crawford
1c5ce61bb2 Merge pull request #387 from crawford/ami
oem/ami: update tests for etcd2
2015-03-25 23:48:53 -07:00