Commit Graph

3708 Commits

Author SHA1 Message Date
Michael Marineau
0326b5f57f build_library: move os-release to new location for systemd 215 2014-07-14 15:55:00 -07:00
Michael Marineau
4673c459e5 Merge pull request #295 from marineam/updatectl
core_promote: update from old roller client to updatectl 1.2.0
2014-07-14 13:23:10 -07:00
Michael Marineau
a446114cd9 Merge pull request #296 from marineam/fixami
ami: fix generating ami lists
2014-07-14 11:58:58 -07:00
Michael Marineau
b707b7c628 ami: fix generating ami lists 2014-07-13 20:41:22 -07:00
Michael Marineau
72c59d3927 Merge pull request #294 from marineam/xen
vm_image: switch xen disk format back to raw
2014-07-10 19:21:10 -07:00
Michael Marineau
6489d9f186 core_promote: update from old roller client to updatectl 1.2.0 2014-07-10 17:58:03 -07:00
Michael Marineau
eeec7e1c65 vm_image: switch xen disk format back to raw
VHD was just for testing, raw is more useful for published images.
coreos-install will now be able to install working xen instances:

    coreos-install -d /dev/xvda -o xen -c cloud-config.yml
2014-07-10 17:23:20 -07:00
Michael Marineau
3556632035 Merge pull request #292 from marineam/hvm
ami: support for building HVM AMIs along side PV AMIs.
2014-07-08 11:31:15 -07:00
Michael Marineau
2faa913198 ami: support HVM images in uploaded .txt files 2014-07-08 11:30:35 -07:00
Michael Marineau
3a21cd3eb9 ami: support HVM images in copy script 2014-07-08 11:30:35 -07:00
Michael Marineau
4cd9ed45ff ami: initial support for building HVM AMIs along side PV AMIs.
This just updates the build and test scripts. The copy and upload
scripts still need work to handle the new set of AMIs.
2014-07-08 11:30:34 -07:00
Michael Marineau
1c0de92363 Merge pull request #291 from marineam/path
make_chroot: explicitly set path when entering the chroot.
2014-07-03 15:45:25 -07:00
Michael Marineau
946f730d7f enter_chroot: set reasonable PATH when calling locale-gen 2014-07-03 15:23:18 -07:00
Michael Marineau
a075b1085a make_chroot: explicitly set path when entering the chroot.
The host system's PATH may not be match the one required by the SDK.
When going through the enter_chroot script it gets reset because bash is
invoked as a login shell but this doesn't happen when using the plain
old chroot command.

Fixes https://github.com/coreos/scripts/pull/290
2014-07-03 14:51:32 -07:00
Michael Marineau
5a177c2528 Merge pull request #289 from marineam/cryptsetup
build_packages: break dependency loop when cryptsetup is enabled
2014-07-03 14:32:41 -07:00
Michael Marineau
55896af9c1 build_packages: break dependency loop when cryptsetup is enabled 2014-07-01 16:59:54 -07:00
Michael Marineau
319db165db Merge pull request #288 from marineam/updatectl
Updatectl
2014-06-30 18:21:54 -07:00
Michael Marineau
eebe8d5fe9 build_library: long overdue for a code name change 2014-06-30 15:42:16 -07:00
Michael Marineau
27e00285d5 updates: include updatectl in update tools zip 2014-06-30 15:40:42 -07:00
Michael Marineau
ebdc4d5f43 Merge pull request #275 from brianredbeard/glance-image-load
feat(OpenStack): Add new scripts to support OpenStack OEM handling
2014-06-30 14:41:11 -07:00
Michael Marineau
4c5dca9c20 Merge pull request #287 from marineam/fixup
Fixup new releases
2014-06-26 10:42:54 -07:00
Michael Marineau
2a7c3f31e6 updates: switch to updatectl 1.1.0, remove metadata option. 2014-06-25 22:44:31 -07:00
Michael Marineau
112b60690c updates: fix running core_sign_update from update.zip 2014-06-25 22:44:31 -07:00
Michael Marineau
f1c81df7f3 updates: minor fixes for offline signing wrapper script
- Fedora provides gpg2 by default, not gpg.
- The zip file's root must be the current directory.
2014-06-25 22:44:31 -07:00
Michael Marineau
fd88195d58 Merge pull request #286 from marineam/version2
minor build fixes
2014-06-25 12:57:53 -07:00
Michael Marineau
048ee51e6f build_image: when generating update payload don't generate metadata
This feature was removed from delta_generator.
2014-06-25 12:37:36 -07:00
Michael Marineau
34efc03f35 set_group: don't copy update.gz, but do copy the dev container
update.gz and .meta will not be generated any more by default.

And previously the dev container was only being uploaded to the default
'beta' release directory so it wasn't available in a useful location.
Copying it to all the release directories should help with that.
2014-06-25 12:35:00 -07:00
Michael Marineau
b798fea634 Merge pull request #285 from marineam/version2
Refresh the update tools zip
2014-06-25 10:18:42 -07:00
Michael Marineau
f811845778 updates: add example scripts for signing update payloads
This pretty much just translates the signing instructions into some
trivial wrapper scripts to serve as an example on how to do this.
2014-06-25 10:17:39 -07:00
Michael Marineau
51c78a4685 build_image: generate update tools zip by default
Missed this in 7231b95a, the update zip should still be built when the
usr partition is extracted for generating updates but build_image itself
is not generating and signing the update.
2014-06-24 14:01:09 -07:00
Michael Marineau
82e2461ddf build_image: refresh scripts bundled into the update zip. 2014-06-24 13:34:54 -07:00
Michael Marineau
1785554332 Merge pull request #284 from philips/multikey
core_sign_update: initial commit
2014-06-24 13:32:00 -07:00
Brandon Philips
34aff6fae6 core_sign_update: initial commit
Takes a filesystem image and generates a update.gz that is signed by N
provided private keys and verified against the N public keys. This is so
we can do keyrotations.
2014-06-24 10:31:07 -07:00
Michael Marineau
bc9d87c9fa Merge pull request #283 from marineam/version2
updates: Add script for enabling the official update signing key.
2014-06-23 17:31:21 -07:00
Michael Marineau
d4c1c0b867 updates: use HTTPS for fetching update payloads 2014-06-23 14:42:14 -07:00
Michael Marineau
7231b95af1 updates: extract usr partition when building images
The current generate_update function is now less useful, the important
part that we need is just the partition image now. Also by defaulting to
extracting the partition the old cors_generate_update which is still in
use by devserver can be removed entirely, devserver will just expect the
extracted partition image instead.
2014-06-23 12:26:17 -07:00
Michael Marineau
9562e5e768 Merge pull request #282 from marineam/metadata
update_metadata: continue if there are no updates to commit.
2014-06-23 12:25:43 -07:00
Michael Marineau
eb605751cd build_image: check that set_official wasn't forgotten in official builds 2014-06-20 18:45:20 -07:00
Michael Marineau
934d9979a6 updates: Add script for enabling the official update signing key.
This script should be called before running build_image when generating
official production images. Images built with official key will not
accept updates signed with the default development signing key.
2014-06-20 18:00:48 -07:00
Michael Marineau
03b7156e84 update_metadata: continue if there are no updates to commit. 2014-06-20 17:30:15 -07:00
Michael Marineau
bf9795c976 Merge pull request #278 from marineam/deprecate
feat(core_promote): Mark old GCE images as deprecated.
2014-06-19 14:25:38 -07:00
Alex Crawford
64dc62a01b Merge pull request #281 from crawford/bootargs
configure_bootloaders: only add a single serial console boot arg
2014-06-19 14:13:22 -07:00
Alex Crawford
ef14f6449e configure_bootloaders: only add a single serial console boot arg
Only one console of each type (virtual, serial, etc.) is supported
in the boot args. Only add ttyS0 if no other serial consoles have
been provided.
2014-06-19 13:56:24 -07:00
Brandon Philips
774cf34827 CONTRIBUTING: add a section about not emailing maintainers
Setup some expectation for etiquette.
2014-06-18 18:38:28 -07:00
Brandon Philips
92df44276d CONTRIBUTING: remove the subject verbs
After talking to a few people on the team we have decided that the
feat/fix/etc tags aren't adding much value. Use a simpler format
instead.
2014-06-18 18:36:00 -07:00
Michael Marineau
5eba932ff8 Merge pull request #280 from marineam/extlinux
fix(disk_util): Install syslinux with extlinux
2014-06-18 14:53:14 -07:00
Michael Marineau
919ba5a3b9 fix(disk_util): Install syslinux with extlinux
Attempting to work around an apparent race in mtools, the command
'extlinux' these days is just the install tool for mounted partitions
while 'syslinux' is for unmounted devices.
2014-06-18 14:20:29 -07:00
Brian 'Redbeard' Harrington
5532603e06 feat(OpenStack): Add new scripts to support OpenStack OEM handling
Included are scripts to monitor the CoreOS remote etag, as well as
load a new image into a OpenStack Glance image store.
2014-06-17 12:28:11 -07:00
Michael Marineau
358c2f4cdd feat(core_promote): Mark old GCE images as deprecated. 2014-06-16 15:49:01 -07:00
Michael Marineau
108fdebac2 Merge pull request #274 from marineam/pre-alpha
add(core_pre_alpha): New release script for just posting alpha images.
2014-06-16 13:57:53 -07:00