Commit Graph

3233 Commits

Author SHA1 Message Date
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
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
Michael Marineau
0b052bc756 Merge pull request #276 from marineam/conf
make.conf cleanup
2014-06-16 13:57:50 -07:00
Michael Marineau
b01421992a Merge pull request #273 from marineam/metadata
feat(metadata): Add support for updating ebuild metadata cache
2014-06-16 13:47:09 -07:00
Michael Marineau
e86fd080b2 Merge pull request #277 from marineam/devdata
fix(build_image): Use developer_data as a system config.
2014-06-15 17:26:44 -07:00
Michael Marineau
9d2774af3b fix(build_image): Use developer_data as a system config.
Evaluating this as a user config causes it to block on
coreos-environment-setup.service which will wait on networking. This
makes it hard to add extra tricks for testing/debugging situations where
networking is failing. For example, to trigger dhcpcd if networkd dies:

    #cloud-config

    write_files:
      - path: /etc/systemd/system/systemd-networkd.service.d/dhcpcd.conf
        content: |
          [Unit]
          OnFailure=dhcpcd.service

          [Service]
          Restart=no
2014-06-15 15:41:53 -07:00
Michael Marineau
7f599ac764 fix(update_chroot): Remove old make.conf symlinks
The old static files are pretty much empty and unused now.
2014-06-12 16:57:54 -07:00
Michael Marineau
99ed29d218 fix(board_setup): Remove old make.conf symlinks
Just use the single auto-generated make.conf, it covers everything now.
2014-06-12 16:53:27 -07:00
Michael Marineau
2aa81abb9d add(core_pre_alpha): New release script for just posting alpha images.
Since moving to the new bucket scheme we haven't been posting alpha disk
images as soon as they were built but it is often useful to post them
before promoting them so people can easily test them.
2014-06-11 13:33:11 -07:00
Michael Marineau
bd7adb6c4f feat(metadata): Add support for updating ebuild metadata cache
New script update_metadata to do a global update of both repos.
Add support to update_ebuilds to do incremental updates when just
pulling new ebuilds into portage-stable.
2014-06-10 18:55:36 -07:00
Michael Marineau
81045d2921 Merge pull request #272 from marineam/fix-again
fix(setup_board): Got lost in my own if statements :(
2014-06-10 16:04:56 -07:00
Michael Marineau
bb3b7d4fcd fix(setup_board): Got lost in my own if statements :( 2014-06-10 16:00:32 -07:00
Michael Marineau
0992af818b Merge pull request #271 from marineam/profiles
Profile and config updates
2014-06-10 13:10:16 -07:00
Michael Marineau
9a973e4113 fix(setup_board): Migrate packages in existing board roots. 2014-06-10 15:38:36 -04:00
Michael Marineau
0d29e73534 fix(*): Use binary package for baselayout
It is no longer necessary to use the build USE flag or avoid binary
packages when installing baselayout for the first time.
2014-06-10 14:45:56 -04:00
Michael Marineau
09faef6d02 feat(setup_board): Generate a complete make.conf
Add settings that are currently provided by make.conf.common-target in
coreos-overlay. Most of these are better off being derived directly from
the host environment's portage configuration.

The PKGDIR, TMPDIR, and LOGDIR values are changing to be more consistant
with the SDK configuration but these changes won't take effect until the
old make.conf.common-target is removed since its values override these.
2014-06-10 14:45:56 -04:00
Michael Marineau
93b0ec304a fix(build_library): Remove reference to old SDK profile
The SDK's profile changed to coreos:coreos/amd64/sdk quite a long time
ago. Remove this last reference to it so the alias can be forgotten.
2014-06-10 14:45:56 -04:00
Michael Marineau
9a4ec472ce fix(build_library): Update amd64-usr's portage profile
The usr profile is just an alias to generic now so drop the old name.
2014-06-10 14:45:56 -04:00
Michael Marineau
460d74b13a Merge pull request #268 from marineam/copy-region
fix(oem/ami): Add option to copy to a single region.
2014-06-09 19:29:44 -07:00
Michael Marineau
2bcb9bfd4f Merge pull request #270 from marineam/legacy
fix(core_promote): fix typo
2014-06-09 15:35:14 -07:00