Commit Graph

1084 Commits

Author SHA1 Message Date
Michael Marineau
9f453bc519 fix(sys-kernel/coreos-kernel): Install kernel image to /usr/boot
/boot is not included in /usr images
2014-03-12 14:41:17 -07:00
Michael Marineau
ef90a41059 bump(coreos-base/cros-devutils): Various fixes for /usr images. 2014-03-12 14:41:17 -07:00
Michael Marineau
b7018ba599 bump(coreos-base/vboot_reference): small cgpt update 2014-03-12 14:41:14 -07:00
Greg Kroah-Hartman
b52758b530 Merge pull request #409 from gregkh/systemd
bump(sys-apps/systemd) systemd is now version 211
2014-03-12 10:41:10 -07:00
Greg Kroah-Hartman
3c85a057c8 bump(sys-apps/systemd) systemd is now version 211
Also add a patch to fix the journal file permission issue.
2014-03-11 23:40:14 -07:00
Michael Marineau
209a08f8b6 Merge pull request #408 from marineam/cgpt
bump(coreos-base/vboot_reference): New cgpt version
2014-03-11 21:05:20 -07:00
Michael Marineau
642416619b bump(coreos-base/vboot_reference): New cgpt version
Supports looking up disks via partition device nodes.
2014-03-11 18:20:01 -07:00
Greg Kroah-Hartman
c9321f682a fix(coreos-base/coreos): add iproute2 to the base image
It got removed from the system when dhcpd went away
2014-03-11 15:38:40 -07:00
Greg Kroah-Hartman
495b49070f fix(sys-apps/systemd) Update to latest 210-stable version
Should resolve a bunch of reported issues.
2014-03-11 12:04:19 -07:00
Greg Kroah-Hartman
236263d969 bump (sys-kernel/coreos-kernel) bump to 3.13.6
Also enable qla2xxx driver.
2014-03-11 10:32:06 -07:00
Michael Marineau
2fa43168ce bump(sys-kernel/bootengine): drop resize module
Moving to btrfs means we don't need to resize before mounting.
2014-03-10 18:54:52 -07:00
Michael Marineau
351df16adb bump(coreos-base/vboot_reference): New cgpt version
Tolerates btrfs, better protective MBR support and adds hybrid MBR support.
2014-03-10 18:54:52 -07:00
Michael Marineau
702e4e91a4 bump(coreos-base/coreos-init): Enable btrfs resizing on boot. 2014-03-10 18:54:52 -07:00
Brandon Philips
64b1d60c2b bump(app-emulation/docker): initial bump to docker 0.9.0 2014-03-10 10:55:43 -07:00
Michael Marineau
00ac788b2c fix(sys-apps/baselayout): Bump to include resolv.conf tmpfiles config. 2014-03-06 14:54:52 -08:00
Brian Waldon
2e3db5e81c Merge pull request #399 from bcwaldon/add-cloudinit
Add init rdepend; update coretest
2014-03-06 14:48:08 -08:00
Brian Waldon
143905f49e bump(coretest): Use latest coretest
commit 03512eea351cd7903b070b4969c1dd764a27928b
2014-03-06 14:08:54 -08:00
Brian Waldon
40012d4144 fix(coreos-init): Add rdepend on coreos-cloudinit 2014-03-06 13:49:13 -08:00
Michael Marineau
f876a41a38 fix(sys-apps/baselayout): Create resolv.conf symlink except in SDK
networkd uses its own location for generating resolv.conf and a new
tmpfiles rule creates a symlink to it in both -generic and -usr images.
This is not applicable to SDK so remove the rule in that case.
2014-03-06 13:46:06 -08:00
Michael Marineau
39e9317596 feat(app-emulation/docker): Add .network configs for networkd
These will match docker0 and the assorted veth* interfaces before the
default dhcp enabled network config does so networkd leaves them alone.
2014-03-06 13:46:06 -08:00
Michael Marineau
d323185a61 feat(coreos-base/coreos): Add brctl
It would be nice if it was possible to look at the state of the docker0
bridge, so here is the proper tool to do that.
2014-03-06 12:59:00 -08:00
Michael Marineau
bed5a73bab feat(coreos-base/coreos): Add btrfs-progs 2014-03-05 21:33:17 -08:00
Alex Polvi
b266c2de65 bump coreos/init commit 2014-03-05 19:12:30 -08:00
Alex Polvi
ec211798a1 bump coreos-init 2014-03-05 19:09:13 -08:00
Alex Polvi
717e8f2e18 bump package 2014-03-05 18:40:44 -08:00
Alex Polvi
29feb5fbd0 feat(networkd): drop dhcpcd 2014-03-05 18:38:51 -08:00
Alex Polvi
740b8aaafd feat(systemd): bump to 210 2014-03-05 16:35:14 -08:00
Brian Waldon
1ff174f1eb Merge pull request #392 from bcwaldon/bump-coreos-cloudinit
bump(coreos-cloudinit): Upgrade coreos-cloudinit ebuild to v0.1.1
2014-03-05 15:21:24 -08:00
Brian Waldon
d55cf9ec5d bump(coreos-cloudinit): Upgrade coreos-cloudinit ebuild to v0.1.1 2014-03-05 14:55:15 -08:00
Michael Marineau
250c39b2d2 fix(sys-libs/glibc): Remove nsswitch.conf transitional symlink code
The transition to the new baselayout is complete so this can go away.
2014-03-05 11:30:42 -08:00
Michael Marineau
aa140ca72c fix(make.conf): Stop disabling assorted safety features.
I don't think disabling any of these is gaining us anything and could
possibly help catch or prevent assorted issues.
2014-03-05 11:28:19 -08:00
polvi
0d3bca59a7 Merge pull request #389 from polvi/coreos-cloudinit
feat(cloudinit): add cloud init to image
2014-03-05 10:42:55 -08:00
Greg Kroah-Hartman
48814e996e Merge pull request #390 from gregkh/kernel_update
feat(sys-kernel/coreos-kernel) enable DM_MULTIPATH and MEGARAID_SAS
2014-03-05 10:11:26 -08:00
Greg Kroah-Hartman
29217e4a32 feat(sys-kernel/coreos-kernel) enable DM_MULTIPATH and MEGARAID_SAS 2014-03-04 21:28:14 -08:00
Alex Polvi
61eeea9b46 bump to 0.1.0 2014-03-04 21:18:47 -08:00
Alex Polvi
03b9f7a3d5 feat(cloudinit): add cloud init to image 2014-03-04 19:11:03 -08:00
Michael Marineau
67e77500f3 fix(sys-apps/systemd): Don't enable services in /etc, move to /usr 2014-03-04 16:56:19 -08:00
Michael Marineau
cf07cc9834 fix(sys-apps/systemd): Fix default.target in /usr instead of /etc 2014-03-04 16:14:07 -08:00
Michael Marineau
3df2a112de bump(sys-apps/systemd*): Bump ebuilds with new keywords to force rebuilds 2014-03-04 14:44:19 -08:00
Michael Marineau
90bea6d943 Merge pull request #385 from marineam/systemd2
Systemd 210
2014-03-04 14:26:42 -08:00
Michael Marineau
033256241a feat(sys-apps/systemd): Start networkd by default 2014-03-04 14:19:51 -08:00
Michael Marineau
53a574bc5c fix(sys-apps/systemd): Refresh 210 and live ebuilds from Gentoo
This merges changes made upstream. Important changes include:
 - An alternative pkg-config fix, previously fixed in 209 in 7830090d
   but dropped in the bump to 210 in d333420b.
 - Drops networkd use flag, it is always built now.
 - New 210.9999 stable branch live ebuild.
2014-03-04 14:07:50 -08:00
Brian Waldon
05f7af5cbc bump(fleet): Bump fleet ebuild to v0.1.4 2014-03-04 13:57:16 -08:00
Michael Marineau
02848a9a23 fix(sys-apps/systemd): Use stable keywords for systemd 207
Mark our old 207 ebuild as stable and 210 as unstable so we can continue
systemd testing in master.
2014-03-04 13:52:18 -08:00
Alex Polvi
b7e1c4ed13 fix(sys-apps/systemd): add patch for loginuid issue 2014-03-04 12:18:33 -08:00
Greg Kroah-Hartman
e02d6120cd bump(sys-apps/systemd) bump to 210 release
Fixes first boot and journald issues for me.
2014-03-04 12:14:38 -08:00
Michael Marineau
33d8346a7d fix(sys-apps/systemd): Patch pkg-config instead of enabling compat libs.
Enabling compat libs is causing ld errors. To keep things like dbus
compiling we can instead just provide the old pkg-config files.

Patch from https://bugs.gentoo.org/show_bug.cgi?id=501860
2014-03-04 12:13:03 -08:00
Michael Marineau
23b38f3e9f fix(sys-apps/systemd): Fix a few upstream changes/issues. Add 209.
- Restore openrc use flag, we don't want to pull it in.
- Change cpp #if LIVE to bash if statements to symlinks work.
- Depend on a newer libseccomp, build fails with old versions.
- Depend on lxml if python is enabled.
- Add version 209!
2014-03-04 12:13:03 -08:00
Michael Marineau
c6910588e4 bump(sys-apps/systemd): sync live ebuild with upstream + local changes
This pulls in the latest changes from Gentoo as of 21 Feb 2014 along
with the CoreOS changes we made in the 207 ebuild.

Hard mask kdbus flag. We don't need to tread into those waters yet.

We will be trying networkd but leave the flag disabled until someone
wants to start working with it.
2014-03-04 12:13:03 -08:00
Michael Marineau
2ee19425ca fix(sys-apps/baselayout): Do not symlink resolv.conf to /run in SDK 2014-03-04 10:49:35 -08:00
Michael Marineau
ac3d032969 fix(sys-kernel/bootengine): Fix KEYWORDS
Screwed this up in 8a6339 :(
2014-03-03 21:12:45 -08:00
Michael Marineau
4ef4835864 bump(sys-kernel/bootengine): fixes for booting /usr images
Also move to the combined stable/live ebuild scheme.
2014-03-03 20:19:20 -08:00
Michael Marineau
d86bf14fb3 feat(coreos-devel/sdk-depends): Add btrfs-progs to SDK 2014-03-03 16:20:22 -08:00
Michael Marineau
8d12b549db bump(sys-kernel/bootengine): Include resize module 2014-03-03 15:42:32 -08:00
Michael Marineau
1349fa6758 fix(profiles): Add which to stage1 bootstrap.
libseccomp calls which in its ./configure script so when building stage3
if which isn't already there the build will fail. This is quick fix.

Reported upstream: https://bugs.gentoo.org/show_bug.cgi?id=502084
2014-03-03 11:36:57 -08:00
Michael Marineau
868cb54029 fix(sys-apps/baselayout): Use custom script to generate /etc/group
I misunderstood the documentation for systemd-tmpfiles, if a string to
write to a file is provided it will always write it, even if the file
already exists and doesn't need to be created. This means that using
tmpfiles to initialize /etc/group results appending each boot.

Instead use a little script instead, also initialize passwd and shadow
so that the `passwd` command works for the core user.

Make use of the systemd eclass where applicable.
2014-03-03 11:35:02 -08:00
Michael Marineau
d5dc30a75b clean(sys-apps/dbus): Remove unused ebuilds 2014-03-03 11:35:02 -08:00
Michael Marineau
d5a69d23f4 fix(sys-apps/dbus): Add slot dependency on systemd
This will force a recompile of dbus when systemd's sub-slot changes as
it did from 207->209 when some lib versions changed.
2014-03-03 11:35:02 -08:00
Greg Kroah-Hartman
9e42439e0e Merge pull request #376 from gregkh/kernel_update
bump(sys-kernel/coreos-kernel) bump to 3.13.5
2014-03-01 21:05:20 -08:00
Brandon Philips
29b8690b51 feat(app-emulation/docker): bump docker-0.8.1-r1
In the last patch I modified docker-0.8.1.ebuild directly. That was
wrong. This time I copy the ebuild, add the epatch and leave
docker-0.8.0 unmodified. This also changes the patch to reflect what is
waiting for a merge upstream.
2014-03-01 11:38:41 -08:00
Greg Kroah-Hartman
b24eb4ce0e bump(sys-kernel/coreos-kernel) bump to 3.13.5 2014-03-01 10:06:31 -08:00
Brandon Philips
d47ee54798 fix(app-emulation/docker): fix up socket activation problem
This includes a patch that was sent upstream for docker 0.8.1 SA
problems.
2014-02-28 21:48:51 -08:00
polvi
e783534cab Merge pull request #371 from bcwaldon/bump-fleet
bump(fleet): Bump fleet ebuild to v0.1.3
2014-02-28 07:45:31 -08:00
polvi
1bdf518e21 Merge pull request #368 from marineam/etc-fixes
New timezone-data and ca-certificates packages
2014-02-28 07:45:13 -08:00
Brian Waldon
ba81aca8f8 bump(fleet): Bump fleet ebuild to v0.1.3 2014-02-22 11:48:06 -08:00
Michael Marineau
c246c60c12 bump(sys-kernel/coreos-kernel): Bump revision, cleanup old ebuilds. 2014-02-20 12:37:02 -08:00
xaduha
abd363e16b feat(sys-kernel/coreos-kernel): Enable VFIO modules
Original thread:
https://groups.google.com/forum/#!topic/coreos-dev/MGxSfJNdNkM
2014-02-20 12:32:43 -08:00
Michael Marineau
1e25d77df7 add(app-misc/ca-certificates): Add new CA cert package.
This package is based exclusively on the Mozilla certificate store
distributed in their NSS library and adopts NSS's version accordingly.
It replaces the previous Gentoo package which came directly from Debian.

The Debian package package had a couple issues we didn't like:

 - Trusts the http://cacert.org root CA which isn't the worst thing in
   the world to do but seems like a really bad default policy to ship.
 - update-ca-certificates had a confusing configuration/hook scheme
   which seemed almost useful but completely obnoxious and useless to
   CoreOS at the same time. systemd-tmpfiles plus a simpler script does
   a better job for us.

The python script certdata2pem.py came from Debian's source package
ca-certificates_20130119 and modified slightly. It is only used at
build-time to convert the file format used by NSS to PEM files.

The old packages used dates as the version, this one uses the NSS
library the certificate store came from as the version. This may cause
an issue if packages from Gentoo depend on >=ca-certificates-20080809 or
similar. Currently the only packages in Gentoo that do so are
sci-misc/boinc and www-client/epiphany, neither of which will ever be
needed in CoreOS so we should be OK.
2014-02-20 09:09:37 -08:00
Michael Marineau
f1e075510b add(sys-libs/timezone-data): Import latest stable timezone ebuild
This is a copy of the current stable version from Gentoo but without the
extra junk code to try to create /etc/localtime which we don't need.
2014-02-19 13:48:58 -08:00
Michael Marineau
83dfaeae34 fix(make.conf): Remove custom fetch and tar commands.
Switch to portage's default (wget) for fetching. wget is nice and
reports the URL it is downloading while curl does not. This makes
understanding errors like '404' actually somewhat possible.

The --checkpoint arg to tar didn't serve much of a useful purpose as far
as I know besides adding to the build noise. Just drop it.
2014-02-19 13:37:07 -08:00
Brandon Philips
e6ae6dc2a2 bump(app-emulation/docker): 0.8.1 release 2014-02-18 17:32:36 -08:00
Michael Marineau
8bf7e09970 fix(sys-apps/baselayout): Assorted cleanups/fixes
- Add || die to commands without them to avoid missing errors.
- Symlink resolv.conf to /run on amd64-generic images again.
- Properly sed /etc/issue out of tmpfiles.
- Fix symlinks for mtab and sudo.
- Fix directory ordering in tmpfiles.
- Update groups, a few were missing or incorrect.
- Bump coreos-base/coreos revision.
2014-02-17 23:21:43 -08:00
Michael Marineau
9015fb0881 maint(eclass/*): Delete a whole pile of old unused eclasses. 2014-02-17 23:16:52 -08:00
Michael Marineau
05b70651dd feat(sys-apps/baselayout): New CoreOS specific baselayout package!
This replaces the old Gentoo baselayout and coreos-base packages.

Changes include:
 - Move nss data files from /etc to /usr/share/baselayout
 - Enable nss-usrfiles module to use the new location.
 - Move other misc files from /etc to /usr/share/baselayout, using
   compatibility symlinks in /etc generated by tmpfiles.
 - All base system directories can be generated by tmpfiles.
 - No more /etc/gentoo-release
 - Simplified code, doesn't bother trying to migrate lib symlinks and
   simply fails if the existing filesystem is incorrect.
 - In /usr images the `core` user's UID/GID is now 500 to keep us within
   the reserved system UID/GID space. Eventually once the SDK switches
   to this the `core` user will not conflict with the local developer's
   account. It also makes it clearer what range people can use when
   creating accounts in /usr images. No other UID/GIDs are changing.
 - New eclass to let ebuilds run the equivalent of `tmpfiles --create`.
   In the future this may be replaced by calling `tmpfiles` directly
   once it has a `--root` argument but I haven't pushed those patches
   upstream for review yet.
2014-02-17 23:16:52 -08:00
Michael Marineau
b0c4ed9c1b fix(sys-libs/nss-usrfiles): Drop unused data files.
Should have been dropped in 46c02b02 but was missed.
2014-02-17 23:16:52 -08:00
Michael Marineau
ebccb38f9c bump(coreos-base/vboot_reference): Fix cgpt linking 2014-02-17 17:42:34 -08:00
Michael Marineau
fd5da441ca remove(app-crypt/trousers): Drop unneeded TPM code.
This simplifies the build process, we have no need for trousers or other
tpm related things from ChromeOS. Bump vboot_reference so it no longer
needs trousers as a build dependency.
2014-02-17 16:19:12 -08:00
Michael Marineau
6c7ec4ac7f fix(coreos-base/coreos): Fix mdadm package category. 2014-02-17 12:07:49 -08:00
Brandon Philips
dfc3b6914d feat(coreos-base/coreos): add mdadm
Total additional image size:

```
492K    /build/amd64-generic/sbin/mdadm
332K    /build/amd64-generic/sbin/mdmon
184K    /build/amd64-generic/sbin/mdassemble
```
2014-02-15 12:41:01 -08:00
Brian Waldon
6c5cca8a51 bump(fleet): Bump fleet ebuild to v0.1.2 2014-02-14 17:22:08 -08:00
Michael Marineau
abdccaa9fd feat(sys-libs/nss-usrfiles): Require as a base system library.
Add this to everyone's SDK before actually switching to use it.
Hopefully the transition can be made gracefully. :)
2014-02-13 18:43:13 -08:00
Michael Marineau
a0caa75e5d Merge pull request #355 from marineam/ncat
Ncat
2014-02-13 18:05:08 -08:00
Brian Waldon
bcf784c6fb bump(fleet): Bump fleet ebuild to v0.1.1 2014-02-13 16:43:54 -07:00
Michael Marineau
36fc328a07 Merge pull request #353 from marineam/etc-symlinks
fix(app-shells/bash): Update /etc symlinks, use /usr/share/skel
2014-02-12 19:01:42 -08:00
Michael Marineau
b1d0361b14 add(net-analyzer/nmap): Add ncat to production builds.
Nmap itself is excluded, just want the basic network tools.
ncat is a netcat implementation with support for fun things like SSL.
In the future we could add nping but since we already include iputils
that is not quite as important as ncat.

The nmap ebuild includes a compile fix posted here:
https://bugs.gentoo.org/show_bug.cgi?id=501136
2014-02-12 17:35:24 -08:00
Michael Marineau
ccfabc7ef1 chore(net-analyzer/wireshark): Drop old wireshark package 2014-02-12 15:45:50 -08:00
Michael Marineau
2d03e65c2f fix(coreos-base/coreos-init): Roll back invalid change to c10n service 2014-02-12 01:17:26 -08:00
Michael Marineau
8dc9d76e5e fix(app-shells/bash): Update /etc symlinks, use /usr/share/skel
Symlinks out of /etc to /usr should generally be relative, that way they
work regardless of whether you are based at / or dealing with a new
chroot you haven't entered yet, or a build root like /build/amd64-usr
Namely the absolute links break cros_sdk which copies skel into home.

Also switch to /usr/share/skel since other packages may need install
things to that directory in the future.
2014-02-11 22:05:27 -08:00
Michael Marineau
d3df0185de bump(coreos-base/coreos-init): Update to from commit to merge git hash 2014-02-11 21:34:35 -08:00
Michael Marineau
8c7f9af2e6 bump(coreos-base/coretest): Update to latest code, add live ebuild.
This increases our default timeout for the docker test to 60 seconds.
Update to our current scheme of keeping everything in the live ebuild.
2014-02-11 20:48:46 -08:00
Alex Polvi
96a501156a fix(app-admin/fleet): do not enable service by default 2014-02-11 18:52:17 -08:00
Michael Marineau
9c31afccda fix(dev-db/etcd): Fix filtering of blank lines from c10n peer list 2014-02-11 17:53:31 -08:00
Michael Marineau
15886b7958 bump(coreos-base/coreos-init): Grab fixed c10n script. 2014-02-11 17:34:43 -08:00
Michael Marineau
0655858328 fix(dev-db/etcd): Require c10n, start even if cluster config is missing.
If c10n fails etcd should not start, wait until it is known if there is
a cluster config to use or not. Also now c10n may not write out a
cluster config on ec2 if there isn't a need for one. Make this case
non-fatal and start up etcd as a master node.
2014-02-11 17:34:43 -08:00
Brian Waldon
ffac3c3f62 bump(etcd): inc etcd ebuild rev 2014-02-11 13:54:36 -07:00
Brian Waldon
053a7ff6b7 fix(etcd-bootstrap): Properly check for c10n peers 2014-02-11 13:53:54 -07:00
Michael Marineau
d540538172 bump(dev-db/etcd): Update to include v1 API fix
Includes a few other changes which are either bug fixes or doc updates:

    Brandon Philips (4):
          bump(README): increase the version of the README to 0.3.0
          fix(README): move contact closer to contributing
          feat(scripts): use zip for windows and darwin
          fix(server/v1): don't fail put on new v1 key

    Brian Waldon (3):
          doc(CompareAndDelete): Add missing CAD docs
          doc(CompareAndSwap): clarify prevIndex in CAS
          chore(gofmt): gofmt compare_and_delete_command.go

    Jan-Erik Rediger (1):
          Change token example to use returned value only

    Michael Marineau (1):
          add(server/v1/tests): Port many of the v2 HTTP handler tests to v1

    TANABE Ken-ichi (2):
          fix(mod/lock): Use dedicated channel to shutdown goroutine properly
          fix(mod/lock): Use CreatedIndex in the first node to watch
2014-02-10 22:32:46 -08:00
Michael Marineau
a0bb403a1d fix(coreos-base/coreos): Add fleet to production images. 2014-02-10 20:23:11 -08:00
Brian Waldon
9e462b7c99 fix(fleet): Require go1.2+ for fleet ebuild 2014-02-10 14:15:33 -07:00
Brian Waldon
a762984989 bump(fleet): Use fleet v0.1.0 tag 2014-02-10 14:14:44 -07:00