Commit Graph

1186 Commits

Author SHA1 Message Date
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
23d1888e87 Merge pull request #364 from philips/docker-0.8.1
bump(app-emulation/docker): 0.8.1 release
2014-02-18 17:54:48 -08:00
Brandon Philips
e6ae6dc2a2 bump(app-emulation/docker): 0.8.1 release 2014-02-18 17:32:36 -08:00
Michael Marineau
3e89e1b4ca Merge pull request #359 from marineam/baselayout
Baselayout
2014-02-18 17:18:34 -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
19490c53f9 Merge pull request #363 from marineam/static
bump(coreos-base/vboot_reference): Fix cgpt linking
2014-02-17 19:38:13 -08:00
Michael Marineau
ebccb38f9c bump(coreos-base/vboot_reference): Fix cgpt linking 2014-02-17 17:42:34 -08:00
Michael Marineau
448e9e2b1e Merge pull request #362 from marineam/notss
remove(app-crypt/trousers): Drop unneeded TPM code.
2014-02-17 16:40:22 -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
4e7856f32e Merge pull request #361 from marineam/fix-mdadm
fix(coreos-base/coreos): Fix mdadm package category.
2014-02-17 12:09:33 -08:00
Michael Marineau
6c7ec4ac7f fix(coreos-base/coreos): Fix mdadm package category. 2014-02-17 12:07:49 -08:00
Brandon Philips
b033ed94ab Merge pull request #360 from philips/mdadm
feat(coreos-base/coreos): add mdadm
2014-02-17 11:18:40 -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
Michael Marineau
a1e08a14d4 Merge pull request #358 from bcwaldon/bump-fleet
bump(fleet): Bump fleet ebuild to v0.1.2
2014-02-14 20:09:06 -08:00
Brian Waldon
6c5cca8a51 bump(fleet): Bump fleet ebuild to v0.1.2 2014-02-14 17:22:08 -08:00
Michael Marineau
a2ce604cb5 Merge pull request #357 from marineam/nss
feat(sys-libs/nss-usrfiles): Require as a base system library.
2014-02-14 14:40:25 -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
Brandon Philips
9e65ae6c19 Merge pull request #356 from bcwaldon/bump-fleet
bump(fleet): Bump fleet ebuild to v0.1.1
2014-02-13 15:49:38 -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
be2808eb1b Merge pull request #354 from marineam/fix
fix(coreos-base/coreos-init): Roll back invalid change to c10n service
2014-02-12 01:20:24 -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
346c44fbdb Merge pull request #351 from marineam/fix-blank-data
Fix blank user-data, fix fleet, fix coretest
2014-02-11 21:36:20 -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
8f6f6007a0 Merge pull request #350 from bcwaldon/etcd-bootstrap-fix
Properly check for c10n peers in etcd-bootstrap
2014-02-11 13:56:14 -07: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
85d70108a1 Merge pull request #349 from marineam/fleet
fix(coreos-base/coreos): Add fleet to production images, fix etcd
2014-02-10 22:46:12 -08: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
b9b94ec6a7 Merge pull request #348 from bcwaldon/bump-fleet
Upgrade fleet to v0.1.0
2014-02-10 15:05:11 -07: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
0e775a3055 Merge pull request #334 from bcwaldon/etcd-disco
etcd-bootstrap, etcd-discovery
2014-02-10 11:33:37 -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