Commit Graph

5075 Commits

Author SHA1 Message Date
David Michael
2ebd6c0ec4 Merge pull request #721 from glevand/for-merge-qemu
build_library: Update qemu script to run on arm64 machines
2017-07-28 15:02:48 -07:00
Geoff Levand
e76030e0e9 build_library: Update qemu script to run on arm64 machines
Signed-off-by: Geoff Levand <geoff@infradead.org>
2017-07-28 14:39:53 -07:00
Geoff Levand
5e94a55069 build_library: Add missing die function
Signed-off-by: Geoff Levand <geoff@infradead.org>
2017-07-28 14:39:53 -07:00
David Michael
8817fdb02a Merge pull request #720 from glevand/for-merge-edk2
vm_image_util: Update to use edk2 package
2017-07-27 16:16:20 -07:00
David Michael
71ebc66065 build_library: avoid a SIGPIPE while building arm64 UEFI firmware
This just sets the code file size to the var file size, so it gets
zero-padding without having to pipe commands together.

From: David Michael <david.michael@coreos.com>
[Rebased]
Signed-off-by: Geoff Levand <geoff@infradead.org>
2017-07-27 15:03:58 -07:00
Geoff Levand
1761d9d071 vm_image_util: Update to use edk2 package
Signed-off-by: Geoff Levand <geoff@infradead.org>
2017-07-27 14:51:32 -07:00
Euan Kemp
8a84488da9 Merge pull request #719 from euank/update_ebuilds-git
update_ebuilds: replace cvs with git
2017-07-26 17:15:11 -07:00
Euan Kemp
ac65e78e0f update_ebuilds: replace cvs with git
And default to git instead of rsync.

git has no rate limiting and will generally be quicker after the first
run.

This does leave a bit of extra data in your local portage-stable `.git`
directory, but it doesn't seem unreasonable to me.

Note: this means we lose the "ChangeLog" file. In the rsync
repositories, that file has been generated by egencache, but the git
repository never has it checked in.
2017-07-26 17:05:43 -07:00
David Michael
1ff1a8cf7e Merge pull request #718 from dm0-/python3
Silence a Python 3 script warning
2017-07-26 13:13:52 -07:00
David Michael
963fc72f0e check_root: ignore cgi.py in any Python version 2017-07-26 13:04:55 -07:00
Euan Kemp
50ef678e25 Merge pull request #712 from euank/fixup-core-sign-update
core_sign_update: fix flag parsing for keys_separator
2017-07-18 18:30:48 -07:00
Euan Kemp
e174703778 core_sign_update: fix flag parsing for keys_separator
Introduced in #710, whoops.
2017-07-18 18:24:38 -07:00
Euan Kemp
cdf275cd3e Merge pull request #710 from euank/coreos-card_signing
coreos_sign_update: Use smartcards for signing (updated)
2017-07-18 11:35:35 -07:00
Euan Kemp
61be39c999 core_sign_update: remain compatible with older sign.sh
The motivation behind retaining this backwards compatibility, at least
now, is that it's actually non-trivial to revert these code changes for
a given release.

The `sign.sh` changes can easily be changed, but the `core_sign_update`
code is included in the update-specific "au_zip" file. Replacing that is
a little more fiddly.

Since it's possible we'll still want to revert to the previous signing
behavior, make it so the update payload (namely core_sign_update) should
work both under the previous `sign.sh` script, and when using the new
one.
2017-07-11 13:55:59 -07:00
Euan Kemp
5cbc755abc offline_signing: use a smartcard URI 2017-07-06 13:50:27 -07:00
Euan Kemp
2146975588 coreos_sign_update: return 'legacy' signing support
We currently sign with both a devel key and a prod key. The devel key is
insecure and need not be included on a smartcard, so it makes sense to
leave it be on disk.

However, the previous commit's padding changes removed this legacy
method of signing.
For simplicity, simply re-introduce the old logic conditionally based on
whether it's a smartcard or not.

Alternate options could be using `-pkcs` instead of `-raw` for both
keys, but that is a more intricate change I'd be less confident in
making.
2017-07-06 13:50:27 -07:00
Matthew Garrett
54048fbb00 coreos_sign_update: Use smartcards for signing
Sign updates using private keys on smartcards. This involves changing the
padding approach - rather than including the padding in the hash, ask the
card to generate the padding itself, since the card will refuse to sign
pre-padded material. Use + as a key separator rather than : as the PKCS#11
URI includes colons.
2017-07-06 13:50:27 -07:00
David Michael
2447debece Merge pull request #705 from dm0-/jenkins
Add Jenkins scripts
2017-06-30 17:04:46 -07:00
Benjamin Gilbert
c47ef878ef Merge pull request #706 from bgilbert/sdk_version
tag_release: Verify SDK version exists
2017-06-29 17:41:04 -07:00
Benjamin Gilbert
7e93698c9b tag_release: Verify SDK version exists
Some releases may omit the SDK for expediency.
2017-06-29 17:20:29 -07:00
David Michael
9256893e83 jenkins: Drop conditions not affecting this branch 2017-06-29 15:34:29 -07:00
David Michael
9cfed47be0 jenkins: Re-add Jenkins scripts to this repository
We are going to restore the split-script setup from the old Jenkins
server.  This ensures that the each version's release process is
actually running with scripts in the correct release branch.  It
also allows branching the VM format lists.

Note that the scripts added here only cover the currently active
jobs in the main build pipeline.  There is no reason to add other
jobs, since they are mostly just running a single command using a
mantle binary from its master branch.

The scripts in this repository pick up after Jenkins has set up an
environment with all parameters and credentials defined, and an SDK
was prepared and validated.
2017-06-29 15:16:54 -07:00
David Michael
336ac28026 Merge pull request #695 from dm0-/perl
Add workarounds for upgrading to Perl 5.24
2017-06-26 16:50:23 -07:00
Benjamin Gilbert
84db4c6f99 Merge pull request #700 from bgilbert/add-vagrant-vbox
build_library: Add vagrant_virtualbox image type
2017-06-22 13:45:28 -07:00
Benjamin Gilbert
e98efe074d build_library: Add vagrant_virtualbox image type 2017-06-22 13:41:15 -07:00
Benjamin Gilbert
7db2e77b0b Merge pull request #699 from crawford/vagrant
build_library: split vagrant and vagrant vbox
2017-06-22 13:38:33 -07:00
Alex Crawford
65986e02bc build_library: split vagrant and vagrant vbox
This reverts the vagrant image back to using oem-vagrant because we
don't want to break the existing images. It moves the new,
Ignition-powered virtualbox flavor of vagrant into a new image.
2017-06-22 13:23:50 -07:00
Benjamin Gilbert
ab4705f9dc Merge pull request #697 from bgilbert/generic
Drop ISO/PXE support for amd64-generic, and an unused variable
2017-06-21 13:28:55 -07:00
Benjamin Gilbert
380d5df8cf Merge pull request #698 from bgilbert/chromeos-common
chromeos-common.sh: Drop symlink
2017-06-19 16:54:24 -07:00
Benjamin Gilbert
509cc58056 chromeos-common.sh: Drop symlink
The last user was in 82e2461ddf.
e84f922ba5 has relevant context.
2017-06-19 16:23:34 -07:00
David Michael
0cea6cb590 build_torcx_store: initialize upload options 2017-06-17 18:01:21 -07:00
Benjamin Gilbert
1ef4609ef2 scripts: Drop unused BOARD_USE assignments 2017-06-16 19:22:51 -07:00
Benjamin Gilbert
cb8b8f34ca build_library: Drop ISO/PXE support for amd64-generic 2017-06-16 19:05:07 -07:00
Euan Kemp
849af767a6 Merge pull request #692 from AlexNPavel/vagrant-virtualbox
Use new oem packages for virtualbox and vagrant
2017-06-16 17:00:39 -07:00
David Michael
18d89accde Merge pull request #685 from dm0-/torcx
Populate the torcx vendor store in OS images
2017-06-16 15:57:04 -07:00
Euan Kemp
80977c015e Merge pull request #696 from euank/download-chan
offline_signing: take download channel as an arg
2017-06-14 16:45:16 -07:00
Euan Kemp
cb38d3125b offline_signing: take download channel as an arg
A validation for the channel variable was also added so old users of the
3-argument form would get a sensical error if they used a invocation
from their history.
2017-06-14 16:42:17 -07:00
David Michael
5a50abc4ac check_root: silence the incorrect libperl warnings 2017-06-14 16:29:14 -07:00
David Michael
6508cf3faa update_chroot: fix SDK updates during the Perl 5.24 upgrade 2017-06-14 16:28:55 -07:00
David Michael
135f64d07a Merge pull request #691 from dm0-/restore
Revert Perl workarounds
2017-06-14 16:27:50 -07:00
Alexander Pavel
7298b0bf2a build_library: Change oem package for vagrant to oem-vagrant-virtualbox
This changes the oem-package for vagrant to vagrant-virtualbox,
which uses ignition instead of cloud-clonfig and sets the oem id
to "virtualbox" so that ignition can handle the machine correctly
2017-06-14 15:58:17 -07:00
Alexander Pavel
cab8e3ed37 build_library: Add virtualbox oem to vm_image_util
This commit adds support for the oem-virtualbox package for
virtualbox builds
2017-06-14 13:21:21 -07:00
David Michael
59643849ad Revert "update_chroot: fix SDK updates during the Perl 5.22 upgrade"
This reverts commit 09efc42e8f.
2017-06-14 13:04:51 -07:00
David Michael
a707c1b597 Revert "catalyst: temporarily disable update_seed"
This reverts commit 43807d6763.
2017-06-14 13:04:09 -07:00
Benjamin Gilbert
15a21b5999 Merge pull request #690 from bgilbert/cleanups
Drop qemu_xen and secure_demo image types
2017-06-08 15:56:45 -07:00
Benjamin Gilbert
40978865d2 Revert "A pile of goo to support a minimal secure boot demo"
This reverts commit 0c6adece3d.
2017-06-08 14:51:15 -07:00
Benjamin Gilbert
8b322c6556 test_oem_pkgs: Drop reference to oem-xendom0 2017-06-08 14:48:38 -07:00
Benjamin Gilbert
6878bd8f5f Revert "vm_image_util: add qemu_xen image type for testing"
This reverts commit fe9db4157b.
2017-06-08 14:47:23 -07:00
Benjamin Gilbert
78c50c50f2 Merge pull request #689 from bgilbert/container-linux
README: CoreOS -> Container Linux
2017-06-08 12:30:48 -07:00
Benjamin Gilbert
9a277e62b1 README: CoreOS -> Container Linux 2017-06-08 12:17:59 -07:00