17118 Commits

Author SHA1 Message Date
Michael Marineau
c64df49948 Merge pull request #683 from marineam/profiles
Setup new image profiles
2014-06-16 14:55:38 -07:00
Michael Marineau
61f61d6479 bump(sys-apps/systemd): Add version 214 for testing
Features the same issues that currently block using 213 but here for
testing purposes.
2014-06-14 21:39:12 -07:00
Michael Marineau
9b73b29eaf chore(sys-apps/systemd): Sync live ebuild with upstream changes.
Only important thing here is that xattr support is now enabled by
default and the libattr dependency is gone. Previously CoreOS didn't
have the feature enabled.
2014-06-14 21:37:14 -07:00
Michael Marineau
061d36aa8d fix(sys-apps/systemd): Add resolv.conf, remove gentoo-integration
This backports commits 18e58b3e9b and 8577b6480b1 from 213 to 212.
2014-06-14 21:37:14 -07:00
Michael Marineau
2bdae7e39e chore(sys-apps/systemd): Roll back to systemd 212
Versions 213 and 214 are not currently usable on GCE:

 - networkd aborts with "Assertion 'link->manager->rtnl' failed"
   https://bugs.freedesktop.org/show_bug.cgi?id=79789

 - persistent naming for virtio devices was removed,
   network devices have returned to the old eth0, eth1, etc. names:
   bf81e792f3
   This re-breaks our copy of the GCE address_manager agent:
   a24dfc97a9/app-emulation/google-compute-daemon/files/0001-hack-address_manager-use-CoreOS-names-and-locations.patch

This reverts commit da3226051f and f179df3449.
2014-06-14 21:09:46 -07:00
Michael Marineau
7f0df85dc0 bump(coreos-base/coreos-init): Updates for empty /etc
Fix some issues for booting without using tmpfiles to setup the root
filesystem in advance. For example this now works reliably:

    mkdir -p c/etc
    cp /etc/os-release c/etc
    ln -s usr/lib64 c/lib
    ln -s usr/lib64 c/lib64
    ln -s usr/bin c/bin
    ln -s usr/sbin c/sbin
    systemd-nspawn --directory=c --bind=/usr --boot
2014-06-13 15:59:28 -07:00
Michael Marineau
eff108a898 feat(profiles): Set proper mask in dev and prod sub-profiles. 2014-06-12 15:17:00 -07:00
Michael Marineau
9295ea0344 feat(profiles): shuffle around some excludes for dev images
Dev images need to be a full build environment but still don't need
extra things like gtk-docs or extra config files. Adjust accordingly.
2014-06-12 15:08:05 -07:00
Michael Marineau
37744a633e fix(sys-apps/systemd): Fix matching by MAC address 2014-06-12 13:53:27 -07:00
Michael Marineau
12d093e8b1 fix(app-misc/ca-certificates): Never rehash certs during boot.
This kills the massive time-waster we currently have during boot to
cleanup/refresh OpenSSL's certificate directory in /etc/ssl/certs.
System provided certs are now hashed at build time and tempfiles is used
to install the proper links. The certificate bundle is also created at
build time and provided as a symlink. Since tempfiles does not help us
clean up broken links to certs that have been removed that task has been
moved to clean-ca-certificates.service which is still run on every boot.
The update-ca-certificates.service is now only responsible for
recreating the certificate bundle if required. On systems where the user
has never run update-ca-certificates the certificate bundle is just a
symlink to the copy in /usr and update-ca-certificates.service never
runs on boot. If the user does run update-ca-certificates then
update-ca-certificates.service will rewrite the bundle only if the
directory has not been modified since the last time it ran.

There are a few edge cases where if stale hash links may be left if a
system provided cert was replaced a subject that is different enough to
change the hash but not change the file name. I don't expect that to
ever happen though. Also hash collisions between the system certs and
each other or user provided certs are not handled gracefully but should
be rare. tempfiles will report wrong symlink errors in that case.
2014-06-12 11:43:05 -07:00
Michael Marineau
5f55bcc182 Merge pull request #679 from marineam/systemd
Systemd maintnance
2014-06-11 18:11:54 -07:00
Michael Marineau
1f414f4f3b fix(coreos-base/oem-vagrant): disable VBox's shared files 2014-06-11 18:00:50 -07:00
Michael Marineau
015746fd5e fix(coreos-base/oem-vagrant): disable VMware's hgfs
Suggested in https://github.com/coreos/coreos-vagrant/pull/127
2014-06-11 17:45:45 -07:00
Michael Marineau
a775be854a fix(sys-apps/systemd): Add tmpfiles rule for resolv.conf
This path has changed after v213 so it must be handled here instead of
baselayout now.
2014-06-11 17:00:08 -07:00
Michael Marineau
09f3152319 chore(sys-apps/systemd): sync/cleanup systemd ebuilds.
Pull in some updates from upstream Gentoo.
As a follow up to the gentoo-systemd-integration removal prune the now
unused vanilla use flag and our custom openrc use flag along with it.
2014-06-11 17:00:08 -07:00
Michael Marineau
c6e7ff3d55 chore(sys-apps/systemd): Remove old version 2014-06-11 17:00:08 -07:00
Jonathan Boulle
fe2e501b77 chore(systemd): remove gentoo-systemd-integration from systemd build 2014-06-11 17:00:08 -07:00
Michael Marineau
11deb867b8 bump(sys-apps/baselayout): Updates for systemd 2014-06-11 17:00:07 -07:00
Michael Marineau
32ad96fc9b Merge pull request #677 from marineam/metadata
chore(metadata): Regenerate cache
2014-06-10 19:49:19 -07:00
Michael Marineau
4d6f4d5150 chore(metadata): Regenerate cache 2014-06-10 18:48:57 -07:00
Michael Marineau
76c3deff55 chore(metadata): Regenerate cache 2014-06-10 18:48:56 -07:00
Michael Marineau
d19b2306aa fix(sys-apps/systemd): Fix build during stage1 bootstrap.
stage1 builds disable most use flags but systemd 213 fails to build if
kmod is disabled. Work around this by force-enabling the flag.
2014-06-10 17:27:47 -07:00
Michael Marineau
a16f056692 feat(profiles): Move portage permissions setting out of make.conf
Developer friendly permissions are fine as the default in CoreOS.
2014-06-10 15:25:35 -07:00
Michael Marineau
b2b0c46c28 Merge pull request #670 from marineam/provided
package.provided and new profiles
2014-06-10 13:54:00 -07:00
Michael Marineau
efeaaffe6b bump(sys-apps/systemd): Mark 213 as stable.
Need to just start using this and see what happens. :)
2014-06-10 16:12:15 -04:00
Greg Kroah-Hartman
0ffbb286a1 bump(sys-kernel/coreos-kernel): Update to 3.14.6 2014-06-09 21:10:04 -07:00
Brian Waldon
87d28b1464 bump(fleet): Upgrade to v0.5.0 2014-06-09 16:21:57 -07:00
Michael Marineau
4c248dd06c feat(profiles): New generic/dev and generic/prod profiles.
The dev images are going to become complete build environments. Keeping
track of the differences between the two via profiles will be easier
than making the current prod and dev image scripts even more complex.
2014-06-09 15:58:38 -07:00
Michael Marineau
2e47e89048 fix(profiles): gut board package.provided
The intent of this file is to exclude dependencies from both the build
root in /build/amd64-usr and board images that would be pulled in but
aren't actually needed. Many of these are build utilities that need to
be provided by the SDK rather than the build root. The current state is
a bit confusing because we are actually including things like git but it
is also listed here and this somehow works due to version differences.

Additionally dev images will start including a working build environment
soon so may of these tools need to get built after all. To simplify
things everything has been removed except for the few packages that are
would get pulled into production images if it weren't for this file.

packages.provided actually shouldn't be used in this way, instead
controlling dependencies should be done via USE flags and possibly some
day the experimental HDEPEND ebuild variable.
2014-06-09 15:35:33 -07:00
Michael Marineau
fce6ac5d8f fix(profiles): Remove mail provided hack.
Nothing in our system depends on mailbase/ssmtp any more so this
package.provided hack can go away.
2014-06-09 13:50:54 -07:00
Brandon Philips
349568e269 bump(app-emulation/docker): docker 1.0! 2014-06-09 08:17:21 -07:00
Brandon Philips
0c56836084 fix(app-emulation/docker): fix cap_kill problem 2014-06-08 11:29:29 -07:00
Brandon Philips
9634c1fdcd fix(app-emulation/docker): disable one minute timeout
Without this patch pushes to a registry that take over a minute timeout.
2014-06-08 11:07:40 -07:00
Brandon Philips
13760925d6 bump(dev-db/etcdctl): bump to 0.4.3 2014-06-07 19:24:05 -07:00
Brandon Philips
40fa452aa6 bump(dev-db/etcd): v0.4.3 2014-06-07 18:40:47 -07:00
Michael Marineau
407d518378 bump(coreos-base/coreos-cloudinit): update to 0.7.6 2014-06-07 16:06:16 -04:00
Brandon Philips
3d33f2d023 chore(app-emulation): remove unused patches
These have all been merged upstream.
2014-06-06 17:43:32 -07:00
Brandon Philips
e4c3f52d6e bump(app-emulation/docker): v0.12 2014-06-06 17:43:32 -07:00
Jonathan Boulle
a6a5137243 bump(coreos-cloudinit): upgrade to v0.7.5 2014-06-06 11:19:08 -07:00
Alex Crawford
6f9eba58db bump(app-admin/locksmith): Update to locksmith v0.1.3 2014-06-05 14:52:36 -07:00
Michael Marineau
d26d134365 bump(sys-libs/zlib): sync with upstream
Latest openssl ebuilds depend on new multilib style zlib ebuilds.
2014-06-05 12:27:32 -07:00
Brian Waldon
0ec7c6902f fix(fleet): shut down etcd after fleet
fleet needs to write to etcd while gracefully shutting
down, which typically requires the etcd unit to be
active locally. Define this relation explicitly in
the fleet unit with an After=etcd.service option.
2014-06-05 10:06:12 -07:00
Brandon Philips
1314ba3e27 Merge pull request #657 from philips/openssl-1.0.1h
fix(profiles): Update to openssl-1.0.1h
2014-06-05 09:49:17 -07:00
Brandon Philips
d83f119267 fix(profiles): Update to openssl-1.0.1h
https://bugs.gentoo.org/show_bug.cgi?id=512506
2014-06-05 07:31:15 -07:00
Brandon Philips
421bcca11c bump(dev-libs/openssl): sync with upstream 2014-06-05 07:27:47 -07:00
Alex Crawford
909bf1e9e9 Merge pull request #656 from crawford/init
bump(coreos-base/coreos-init): ssh-keygen and motdgen.service fixes
2014-06-04 17:07:23 -07:00
Alex Crawford
f7d2b41d9e bump(coreos-base/coreos-init): ssh-keygen and motdgen.service fixes
fix(sshd_keygen): Generate all key types
feat(motdgen): Ensure that motdgen runs after locksmith starts
2014-06-04 16:57:05 -07:00
Michael Marineau
3b9a91e464 bump(coreos-base/update_engine): New update_engine, no more metrics.
This update removes the dependency on the ChromeOS metrics library that
we never made use of in CoreOS.
2014-06-04 14:40:09 -07:00
Michael Marineau
8325b51a6d bump(coreos-base/cros-devutils): Update to latest platform/dev
Includes bump of gmerge for the sake of keeping things in sync.
2014-06-04 14:30:30 -07:00
Brandon Philips
cca64a1b5a bump(dev-db/etcd): bump to 0.4.2
https://github.com/coreos/etcd/releases/tag/v0.4.2
2014-06-03 15:44:14 -07:00