Commit Graph

1057 Commits

Author SHA1 Message Date
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
Brian Waldon
63380c4540 bump(etcd): etcd-0.3.0 -> etcd-0.3.0-r1
Bump etcd 0.3.0 ebuild to 0.3.0-r1 to incorporate
changes to the etcd-bootstrap script.
2014-02-10 11:29:01 -07:00
Brian Waldon
b747468a2f fix(etcd-bootstrap): Use higher election timeout on EC2 2014-02-10 11:22:33 -07:00
Brian Waldon
87a126b192 bump(coreos-init): Upgrade coreos/init ebuild
Bump coreos-init ebuild to 0.0.1-r37 for coreos/init
commit 7baa3e940b094accb7fb9ca344aafba69a13a732
2014-02-10 11:21:37 -07:00
Brian Waldon
41b07642ae feat(etcd-discovery): Add support to etcd-bootstrap for etcd-discovery 2014-02-10 11:20:50 -07:00
Michael Marineau
4a5eaf8f0a Merge pull request #347 from marineam/assert_compile_et
hack(sys-libs/e2fsprogs-libs): assert compile_et is being installed
2014-02-09 23:15:46 -08:00
Michael Marineau
a610038a74 hack(sys-libs/e2fsprogs-libs): assert compile_et is being installed
A broken e2fsprogs-libs binary package lacking compile_et has been
causing problems. I am entirely at a loss as to how this happened in the
first place and unfortunately the error is not revealed until much
later. Hopefully this crude test at the end of src_install will find the
error as it happens. Or at the very least the revision bump will force
everything to move past the one bad build.
2014-02-09 23:11:45 -08:00
Michael Marineau
18d4bf8e01 Merge pull request #346 from gregkh/kernel_update
bump(sys-kernel/coreos-kernel) bump to 3.13.2
2014-02-09 22:50:22 -08:00
Greg Kroah-Hartman
8c591532d7 bump(sys-kernel/coreos-kernel) bump to 3.13.2 2014-02-09 21:30:52 -08:00
Michael Marineau
fb7f256e8a fix(coreos-devel/sdk-depends): Add checkbashisms to SDK 2014-02-09 18:21:05 -08:00
Michael Marineau
0b8060ef70 fix(sys-libs/glibc): Fix cross compile builds
Cross compile builds don't include nsswitch.conf
2014-02-09 18:01:06 -08:00
Michael Marineau
aa0cd52fb8 Merge pull request #343 from marineam/binhost
fix(make.conf): Remove BINHOST from static make.conf
2014-02-09 16:06:36 -08:00
Michael Marineau
d6864434fc fix(profiles): Belatedly update to eselect 1.4
Includes a patch to silence annoying "Strange path" warning.
2014-02-09 14:46:20 -08:00
Michael Marineau
c37eb42915 fix(make.conf): Remove BINHOST from static make.conf
This list is now included in make.conf.board_setup so that it can be
configured on the fly. Useful for odd testing situations and buildbot.
2014-02-09 13:24:18 -08:00
Brian Waldon
6f216aa781 fix(etcd): Use go1.2 in etcd and etcdctl ebuilds 2014-02-07 19:09:55 -08:00
Brian Waldon
95ee11f368 bump(etcd): Upgrade etcd and etcdctl to v0.3.0
Additionally, use the correct bin-path to pull in the
etcd and etcdctl binaries.
2014-02-07 19:09:12 -08:00
Brian Waldon
500a256c63 fix(etcd-lib): Remove defunct etcd-lib ebuilds 2014-02-07 19:00:36 -08:00
Brian Waldon
83c7c9e091 fix(etcd-client): Remove defunct etcd-client ebuilds 2014-02-07 19:00:34 -08:00
Michael Marineau
7176f2aa0c bump(sys-libs/glibc): Pull in 2.17, remove some configs from /etc
One oddity here: /etc/nsswitch.conf is setup as a postinst command in
order to avoid conflicting with baselayout once it starts installing
nsswitch.conf instead. Later glibc won't provide nsswitch.conf at all.
2014-02-07 17:42:09 -08:00
Michael Marineau
158e870f53 fix(app-admin/fleet): Update to latest revision 2014-02-07 10:39:30 -08:00
Michael Marineau
559c43278d fix(app-admin/fleet): Fix stable ebuild symlink 2014-02-06 11:51:30 -08:00
Brian Waldon
ba67585a15 fix(app-admin/fleet): Rename coreinit -> fleet 2014-02-05 16:47:43 -08:00
Brandon Philips
194e9edc5e Merge pull request #332 from philips/docker-0.8.0
feat(app-emulation/docker): add docker 0.8.0
2014-02-05 11:41:48 -08:00
Brandon Philips
cc155b78a1 Merge pull request #331 from marineam/perf
fix(coreos-base/coreos-dev): Drop perf from dev build.
2014-02-05 10:27:42 -08:00
Brandon Philips
59da555463 feat(app-emulation/docker): add docker 0.8.0 2014-02-05 10:22:21 -08:00
Michael Marineau
76768a3ac6 fix(profiles): Update to latest certs package 2014-02-04 17:01:22 -08:00
Michael Marineau
aac47622cc fix(coreos-base/coreos-dev): Drop perf from dev build.
We haven't been using it, the version we have is old, and the build
appears to be a little flaky. Just drop it, can always bump and re-add
later if someone wants it.
2014-01-31 18:57:04 -08:00
Alex Polvi
8426bf1a1c revert dodir and dosym on /bin/ 2014-01-31 16:39:30 -08:00