1374 Commits

Author SHA1 Message Date
Michael Marineau
537b3fe6ca Merge pull request #585 from philips/bump-locksmith-to-update-conf
Bump locksmith and cloudinit
2014-05-06 21:53:31 -07:00
Brandon Philips
e6be8c2ac0 bump(coreos-base/coreos-cloudinit): grab update.reboot-strategy 2014-05-06 21:11:26 -07:00
Brandon Philips
9e73e02ce9 bump(app-admin/locksmith): use update.conf 2014-05-06 21:03:55 -07:00
Michael Marineau
a05fcc794b fix(sys-apps/systemd): Fix hangs/failures in initrd
This bug manifested itself as a silent hang without the other reload
fix. With that fix it manifests itself as fsck failing because it is
started before the disk/by-* symlinks are created.
2014-05-06 19:19:45 -07:00
Michael Marineau
7a185cc0a1 Revert "maint(sys-apps/systemd): Replace reload patch with upstream version."
This patch was not functionally equivalent to the original, roll back to
the original until a corrected version is accepted upstream.

This reverts commit 685a68db717dfaafe26340fd25aefde642a553aa.
2014-05-06 11:18:36 -07:00
Michael Marineau
9c9eccd583 Merge pull request #580 from marineam/reload
bump(coreos-base/coreos-cloudinit): Re-enable reloads
2014-05-05 14:20:01 -07:00
Brandon Philips
0726e91f48 bump(app-admin/locksmith): add more systemd ordering 2014-05-05 14:17:52 -07:00
Michael Marineau
9ce8f759f5 bump(coreos-base/coreos-cloudinit): Re-enable reloads 2014-05-05 14:10:39 -07:00
Michael Marineau
06b9e2e158 bump(coreos-base/coretest): Fixes for update related tests 2014-05-04 21:19:26 -07:00
Michael Marineau
53d01a5c21 bump(coreos-base/update_engine): Re-bump to resolve merge 2014-05-04 18:52:28 -07:00
Michael Marineau
dff8965797 bump(coreos-base/coreos-init): Fix coreos-install regression 2014-05-04 18:25:55 -07:00
Michael Marineau
6e32109b1d Merge pull request #575 from marineam/insecure
add(coreos-base/oem-vagrant-key): Add oem for vmware_insecure images.
2014-05-03 14:19:05 -07:00
Michael Marineau
f323a0348e Merge pull request #568 from marineam/vagrant
Vagrant hackery redux
2014-05-03 14:18:21 -07:00
Brandon Philips
ca1b73ec27 bump(sys-apps/baselayout): motdgen changes
This also pulls in the systemd-journal-gateway user.
2014-05-02 17:15:43 -07:00
Brandon Philips
25e2ca5483 bump(coreos-base/coreos-init): add motdgen 2014-05-02 17:15:43 -07:00
Michael Marineau
a2c6016ca0 add(coreos-base/oem-vagrant-key): Add oem for vmware_insecure images.
vmware_insecure currently pulls in oem-vagrant which made more sense
back when that package only installed a ssh key. Now that it is oh so
much more and only works properly inside of Vagrant this new ebuild
provides a way to just get the ssh key again.
2014-05-02 15:06:01 -07:00
Brandon Philips
3c3e748126 bump(app-admin/locksmith): grab the send-need-reboot command 2014-05-02 13:50:40 -07:00
Brandon Philips
c8f59f1b50 feat(app-admin/locksmith): change the default strategy 2014-05-01 18:38:49 -07:00
Michael Marineau
2b1106b825 Merge pull request #570 from marineam/key
Install update keys via ebuild
2014-05-01 18:01:46 -07:00
Brandon Philips
caeedfc05d Merge pull request #571 from philips/locksmith
add locksmith
2014-05-01 16:45:17 -07:00
Brandon Philips
e8e9c0ea06 feat(coreos-base/coreos): add locksmith 2014-05-01 14:38:45 -07:00
Brandon Philips
a5b17a1555 feat(app-admin/locksmith): Initial commit 2014-05-01 14:38:45 -07:00
Brandon Philips
ebe1662c5f bump(coreos-base/update_engine): latest version with new dbus API 2014-05-01 14:00:12 -07:00
Michael Marineau
1430315362 bump(coreos-base/cros-devutils): Sign updates generated by devserver 2014-05-01 11:09:29 -07:00
Michael Marineau
67f1ae115e feat(coreos-base/coreos-au-key): Install signing key in SDK
This just means tools looking for the test key don't need to point at
the long and screwy path into the coreos-overlay repo.
2014-05-01 09:54:04 -07:00
Michael Marineau
b3789e2f41 fix(coreos-base/update_engine): Install update signing key via ebuild.
This removes the need to perform this step during build_image.
2014-04-30 16:31:11 -07:00
Michael Marineau
c0b34b285c fix(coreos-base/oem-vagrant): Fix up comments
Fix some comments that were written for a previous iteration of code.
2014-04-29 03:26:54 -04:00
Michael Marineau
def1901f7e fix(coreos-base/oem-vagrant): Create directory for vagrant user-data.
This fixes compatibility with the existing Vagrantfile in
coreos-vagrant which expected the plugin code to create this directory.
Also, the units can be runtime since they are always written at boot.
2014-04-29 02:44:19 -04:00
Michael Marineau
d7cfb39436 bump(coreos-base/oem-vagrant): Update revision, include box configs. 2014-04-28 21:44:37 -04:00
Michael Marineau
8ac5099b3a fix(coreos-base/oem-vagrant): Add hook to make it easy to set base_mac
The file `base_mac.rb` will be re-written when packing this into a box.
2014-04-28 21:44:37 -04:00
Michael Marineau
f16d776db2 fix(coreos-base/oem-vagrant): Add timeout for /etc/environment
The environment file will not be written if there are no public or
private networks defined since the configure_networks hook is never run.
Report an error after one minute to make this situation less confusing.
2014-04-28 21:44:36 -04:00
Michael Marineau
8b1ff15435 fix(coreos-base/oem-vagrant): Rework network configuration code.
- Only write configs for static networks, DHCP will work by default.
 - Match interfaces by MAC address if possible.
 - Use the configured netmask instead of always using a /24
 - Define default addresses in /etc/environment based on the type of
   network. Now using both a private and a public network works!
2014-04-28 21:44:36 -04:00
Michael Marineau
b1294b062d fix(coreos-base/oem-vagrant): Split up plugin, use change_host_name hook.
The old override-plugin.rb didn't actually properly monkey patch the
change host name function because it was missing a requires line
pointing to the file it is defined in upstream. To clarify things split
the code into two files that match the upstream names. Additionally
using this hook as it is intended means it works if a host name is
defined but additional networks are not.

As part of the split switch to starting the units directly. The
indirection through a path unit just adds complexity.
2014-04-28 21:44:36 -04:00
Michael Marineau
9424a28ec3 fix(coreos-base/oem-vagrant): Move user config handling out of ruby code
There's no reason for handling vagrantfile-user-data in the Vagrant
plugin, move it to the OEM cloud-config.yml along side the user-data
handler. Use the generic user-config@ unit as well.
2014-04-28 16:54:30 -04:00
Michael Marineau
e6244ef10c add(coreos-base/oem-vagrant): Import code from coreos-vagrant
Import override-plugin.rb and some VirtualBox fixups from our published
Vagrantfile repo. The current Vagrant OEM depends on this code, making
it impossible to boot without using our special Vagrantfile. Using the
box as a stand-alone entity worked up until recently and is something
users expect to work.

Also bump the minimum Vagrant version to 1.5, matching our current
documentation.

Fixes https://github.com/coreos/bugs/issues/5
2014-04-28 16:54:30 -04:00
Michael Marineau
500e9c2693 add(coreos-base/coreos-vagrant): Import Vagrantfile template
This is the static piece of the Vagrantfile previously defined in
scripts/build_library/virtualbox_ovf.sh. Moving it here so we can start
maintaining the major Vagrant OEM pieces together.
2014-04-28 16:54:30 -04:00
Michael Marineau
e90664189d cleanup(coreos-base/oem-vagrant): Move ssh key into cloud config.
The old behavior of loading authorized_keys from /usr/share/oem is
deprecated, so lets switch vagrant to the new config driven world. :)
2014-04-28 16:54:29 -04:00
Michael Marineau
7af2b92c29 maint(profiles): Merge usr profile back into generic target.
coreos/amd64/usr remains as an alias to coreos/amd64/generic for now.
2014-04-26 15:06:08 -07:00
Michael Marineau
32fa9c4708 maint(sys-apps/systemd): Replace reload patch with upstream version. 2014-04-26 13:41:09 -07:00
Michael Marineau
c2e02f63bd maint(sys-apps/systemd): Cleanup old version. 2014-04-26 13:38:59 -07:00
Michael Marineau
89878edf95 fix(sys-apps/systemd): Add patch for daemon-reload bug.
This should fix our issue with hung jobs. Patch from here:
http://lists.freedesktop.org/archives/systemd-devel/2014-April/018361.html

Bug report: https://bugs.freedesktop.org/show_bug.cgi?id=77066
2014-04-25 10:55:48 -07:00
Michael Marineau
6493111740 bump(coreos-base/coreos-init): Purge amd64-generic, fix btrfs-resize 2014-04-24 13:29:44 -07:00
Michael Marineau
cf02fb1d6b bump(coreos-base/coreos-cloudinit): Workaround config source conflict
https://github.com/coreos/coreos-cloudinit/pull/87
https://github.com/coreos/coreos-cloudinit/issues/86
2014-04-23 14:58:47 -07:00
Brian Waldon
8f67fc5996 bump(coreos-cloudinit): Upgrade to v0.5.1 2014-04-22 18:27:08 -07:00
Michael Marineau
49c74da722 bump(coreos-base/update_engine): Use system SSL certs.
Pulls in https://github.com/coreos/update_engine/pull/27
Fixes breakage caused by https://github.com/coreos/scripts/pull/218
2014-04-22 16:04:08 -07:00
Michael Marineau
fe3e2d13fa bump(coreos-base/coreos-init): Skip OEM on diskless systems 2014-04-21 19:39:29 -07:00
Michael Marineau
fd6e6d2b6f Merge pull request #558 from marineam/btrfs
fix(sys-kernel/bootengine): Set +x on btrfs script.
2014-04-21 09:44:57 -07:00
Michael Marineau
80289fccac fix(sys-kernel/bootengine): Set +x on btrfs script.
Didn't pull this patch into 7b160f27 by mistake.
2014-04-21 09:39:04 -07:00
Michael Marineau
146343ca0d Merge pull request #557 from marineam/env
fix(coreos-base/oem-vagrant): Add coreos-setup-environment
2014-04-18 18:54:24 -07:00
Michael Marineau
4649f7fa12 fix(coreos-base/oem-vagrant): Add coreos-setup-environment
In vagrant /etc/environment is set up by cloudinit but other services
still depend on the coreos-setup-environment.service unit as a signal
that /etc/environment is valid. Also the OEM needs to provide this
script in order to block the likely to be broken defaults from being
written. This just provides a dumb script that blocks.

Use system-cloudinit@.service because it does not depend on
coreos-setup-environment.service. Otherwise we would dead lock on a
circular dependency.
2014-04-18 15:32:50 -07:00