Commit Graph

8018 Commits

Author SHA1 Message Date
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
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
Alex Polvi
e655a3ae27 do not mess around with /usr/bin/bash 2014-01-31 16:25:31 -08:00
Alex Polvi
1fcf5c69c8 usr(bash): patch bash ebuild to use /usr 2014-01-31 16:11:34 -08:00
Alex Polvi
581855f4d2 usr(bash): move bash to coreos-overlay 2014-01-31 16:11:07 -08:00
polvi
bc2f557b83 Merge pull request #323 from polvi/usr-systemd3
Usr systemd3
2014-01-31 15:28:04 -08:00
Alex Polvi
73fca0b33e move the rm to the ebuild 2014-01-31 15:24:24 -08:00
polvi
78ab864a37 Merge pull request #324 from polvi/usr-tlsdate2
usr(tlsdate): move to /usr/share/tlsdate
2014-01-31 13:06:11 -08:00
Michael Marineau
8e86082bff fix(app-admin/coreinit): Switch to new 'stable' ebuild.
Depending on live ebuilds is potentially flaky, time to start bumping
manually. Also fix the build, the path to the built binaries changed.
2014-01-30 14:25:30 -08:00
Michael Marineau
6eab81061b Merge pull request #328 from marineam/fix-docker
fix(coreos-base/coreos-init): Sync up stable and live ebuilds.
2014-01-30 14:13:41 -08:00
Michael Marineau
fa7742c46c fix(coreos-base/coreos-init): Sync up stable and live ebuilds.
Trying on a new scheme to use an if statement so we can share the same
ebuild between live and stable ebuilds. This should help avoid letting
the two get out of sync.
2014-01-30 14:01:09 -08:00
Greg Kroah-Hartman
863610bfe0 bump(sys-kernel/coreos-kernel) Bump to 3.13.0 2014-01-27 13:06:58 -08:00
Brandon Philips
15299f4ba1 feat(app-emulation/docker): add socket activation 2014-01-24 17:25:35 -08:00
Alex Polvi
e18aac865b usr(tlsdate): move to /usr/share/tlsdate 2014-01-23 17:24:17 -08:00
Alex Polvi
1de636cb0f usr(systemd): remove uneeded default dirs 2014-01-23 16:58:29 -08:00
Alex Polvi
df5fa41bcf chore(systemd): remove ebuilds we are not using 2014-01-23 16:22:58 -08:00
Jeremiah Orem
4584ce7cfb coretest: bump ref and drop service file. 2014-01-23 16:12:10 -08:00
polvi
22b4462223 Merge pull request #321 from polvi/add-coretest
feat(coretest): add coretest to the images, bump ebuild
2014-01-23 15:06:50 -08:00
polvi
15ca02728d Merge pull request #320 from polvi/usr-dbus2
usr(dbus): add keepdir for missing /etc entries
2014-01-23 15:04:19 -08:00
Alex Polvi
582a23ba6f feat(coretest): add coretest to the images, bump ebuild 2014-01-23 15:03:45 -08:00
Alex Polvi
97e9386b4f usr(dbus): add keepdir for missing /etc entries 2014-01-23 14:57:19 -08:00
Michael Marineau
a53eaec62c fix(coreos-base/coreos-base): Fix vimrc in non-usr images
This symlink (if missing) is created at boot-time in /usr images but we
need it at build time in classic read-only root images.
2014-01-23 14:53:18 -08:00
Michael Marineau
df686e732b fix(coreos-base/gmerge): Don't create /etc/make.profile
This conflicts with /etc/portage/make.profile in the chroot, generating
lots of warnings. This was always a weird hack anyway. Instead lets
start configuring portage properly in dev images, this will be handled
in the build scripts.
2014-01-22 17:08:46 -08:00
Michael Marineau
312592ec6d fix(sys-apps/dbus): Rename etc patch, add it to the ebuild.
Tweak the name of the ebuild, it was generated from current git rather
than any particular release. Also it needs to actually be applied. :)
2014-01-22 16:52:21 -08:00
Michael Marineau
6cbdd76076 Merge pull request #316 from marineam/python
bump(dev-lang/python): Update to 2.7.6, now in portage-stable
2014-01-22 16:00:25 -08:00
polvi
c21c891af7 Merge pull request #315 from polvi/usr-iproute2
Usr iproute2
2014-01-22 13:42:51 -08:00
polvi
289ab86403 Merge pull request #314 from polvi/usr-systemd-dbus
Pull dbus/systemd into coreos-overlay and bump related packages
2014-01-22 13:41:29 -08:00
Alex Polvi
0e84e09ac3 usr(systemd-dbus): add patch to allow users to use /etc/ 2014-01-22 13:13:52 -08:00
Michael Marineau
85746a7fb8 bump(dev-lang/python): Update to 2.7.6, now in portage-stable 2014-01-22 12:48:08 -08:00
Alex Polvi
07cbd61d78 usr(iproute2): move sysconfig to /usr/share 2014-01-22 11:03:29 -08:00
Alex Polvi
cb76a0fa70 usr(iproute2): move to coreos-overlay 2014-01-22 11:02:40 -08:00
Alex Polvi
98cca9617e usr(systemd-dbus): bump ebuilds 2014-01-22 10:20:26 -08:00
Alex Polvi
2394f92933 usr(systemd-dbus): fix related tlsdate and update-engine 2014-01-21 20:29:10 -08:00
Alex Polvi
e0b84a4981 usr(systemd-dbus): point dbus related configs to /usr/share 2014-01-21 18:55:01 -08:00
Alex Polvi
44039df4a5 usr(systemd-dbus): move systemd and dbus to coreos-overlay 2014-01-21 18:53:43 -08:00
Michael Marineau
40e2815e63 bump(coreos-base/coreos-init): Switch to cgpt resize 2014-01-21 17:13:36 -08:00
Alex Polvi
aafef54888 usr(localtime): just remove localtime, does not hurt anything 2014-01-21 11:24:05 -08:00
Alex Polvi
26b7767464 usr(vimrc): move vimrc to /usr/local/vim 2014-01-20 14:10:29 -08:00
Michael Marineau
32a45fcd01 Merge pull request #307 from marineam/parttype
add(sys-apps/util-linux): Add patched util-linux to support PARTTYPE
2014-01-20 11:44:55 -08:00
Michael Marineau
67a8bafebe Merge pull request #310 from marineam/e2fsck
bump(sys-fs/e2fsprogs): sync w/ upstream, add UUID fix.
2014-01-20 11:18:08 -08:00
Michael Marineau
4d9eb10e53 bump(vboot_reference): Includes resize support in cgpt 2014-01-20 11:13:49 -08:00
Michael Marineau
a813f89334 bump(sys-fs/e2fsprogs): sync w/ upstream, add UUID fix.
Update to e2fsprogs-1.42.9 and include a patch to avoid corrupting
filesystems by changing the UUID while it is mounted.
2014-01-19 15:12:17 -08:00
Michael Marineau
17675d4b0d bump(coreos-base/coreos-init): Replace dev-mode script. 2014-01-17 21:09:31 -08:00
Brandon Philips
9391d4cb54 bump(app-emulation/docker): docker 0.7.6 2014-01-17 10:34:42 -08:00
Michael Marineau
98101d9a5a add(sys-apps/util-linux): Add patched util-linux to support PARTTYPE
This adds support for PARTTYPE in libblkid so cgpt use it instead of
implementing its own partition probing/searching logic.
2014-01-16 22:04:26 -08:00
Alex Polvi
2bf34583ae usr(gmerge): bump to latest dev-util 2014-01-16 17:32:45 -08:00
polvi
9eb32ba98f Merge pull request #305 from polvi/bump-init
usr(init): bump to latest
2014-01-16 10:53:09 -08:00
Alex Polvi
868b5ba1ea fix 9999 ebuild 2014-01-15 20:44:03 -08:00
Alex Polvi
7b8275ee13 usr(init): bump to latest 2014-01-15 20:41:04 -08:00
Alex Polvi
5ca6c35dcd usr(gmerge): use regular /etc/ instead of /usr/local 2014-01-15 20:37:42 -08:00
Alex Polvi
bdbc05517a remove docs 2014-01-15 19:26:22 -08:00
Alex Polvi
b865810273 usr(gmerge): install to /usr 2014-01-15 19:13:38 -08:00
Brandon Philips
00c4953f9a feat(coreos-base/coreos-init): add symlink-usr flag support
Via https://github.com/coreos/init/pull/34
2014-01-14 17:30:52 -08:00
Michael Marineau
6c7727eacb Merge pull request #301 from marineam/squashfs
bump(bootengine): Update to fix PXE and /usr booting.
2014-01-13 16:01:25 -08:00
Michael Marineau
38d8f4ea5c bump(bootengine): Update to fix PXE and /usr booting. 2014-01-13 15:56:23 -08:00
Brandon Philips
b07754504f feat(app-emulation/docker): bump to docker-0.7.5 2014-01-13 13:36:18 -08:00
Michael Marineau
dea2d44b36 fix(sys-kernel/coreos-kernel): Fix initrd in non-usr images.
My fix for /usr broke the normal images because my bash hacking was
overly simplistic. Use dirname to ensure the right thing happens.
2014-01-10 18:50:47 -08:00
Michael Marineau
81da8f0836 Merge pull request #297 from marineam/python
bump(dev-lang/python): Sync with upstream python-2.7.5-r4
2014-01-09 17:18:45 -08:00
Greg Kroah-Hartman
c31c046554 Merge pull request #298 from marineam/kernel
fix(sys-kernel/coreos-kernel): Fix initramfs in /usr builds.
2014-01-07 06:31:42 -08:00
Michael Marineau
625f25e70f fix(sys-kernel/coreos-kernel): Fix initramfs in /usr builds.
Properly handle when /lib in bootengine is a symlink to /usr/lib64 in
addition to the /lib64. mv needs /usr to exist first :)
2014-01-07 02:18:28 -08:00
Michael Marineau
d19f338d0f bump(dev-lang/python): Sync with upstream python-2.7.5-r4
Copy of upstream 2.7.5-r4 + cross compile tweaks/fixes from our -r2
Dropped some sed hackery related to ChromiumOS's /usr/local weirdness.
I am hoping that issue18851.patch fixes some intermittent build issues.
2014-01-06 21:36:44 -08:00
Greg Kroah-Hartman
0026fe16ad feat(sys-kernel/coreos-kernel) enable CIFS module 2014-01-06 18:47:21 -08:00
Brandon Philips
3821231b7b fix(sys-kernel/coreos-kernel): disable audit
We don't have or use auditd and this break nspawn with fedora
containers. Just remove it.
2014-01-06 14:48:19 -08:00
Michael Marineau
8ea698435d fix(make.conf): Don't share binary packages between boards.
Although it'd be nice to re-use packages for experimental boards that
may only have a few differences from amd64-generic there is a bug in
some ebuilds and portage that break sharing binary packages between
different values of $ROOT. This prevents that from happening by
accident.

https://bugs.gentoo.org/show_bug.cgi?id=490014
2014-01-05 16:43:45 -08:00
Michael Marineau
c1e8a96cda feat(profiles): Add coreos/amd64/usr profile.
This profile enables the symlink-usr USE flag and target profiles have a
new variable COREOS_DISK_LAYOUT_SUFFIX that allows the profile to switch
to a different set of disk layouts. By default no suffix is used but the
usr profile uses layouts with the suffix "-usr" such as "base-usr".
2014-01-05 14:14:31 -08:00
Brandon Philips
d7b07174ba Merge pull request #292 from philips/docker-0.7.3
feat(app-emulation/docker): add docker-0.7.3
2014-01-03 16:35:59 -08:00
Brandon Philips
320b00ffa0 feat(app-emulation/docker): add docker-0.7.3 2014-01-03 16:30:27 -08:00
Michael Marineau
cf45f525df add(sys-kernel/coreos-firmware): Add firmware package.
This provides firmware from linux-firmware but excludes everything not
explicitly required by coreos-kernel. Note that firmware installed by
this will only be available on the root filesystem, the initrd still
uses the smaller set of firmware the linux repo provides.

The current 3.12 kernel wants a few files missing in the July snapshot:

 * Missing firmware: ct2fw-3.2.1.1.bin (bna.ko)
 * Missing firmware: ctfw-3.2.1.1.bin (bna.ko)
 * Missing firmware: cxgb4/t5fw.bin (cxgb4.ko)

These files have been added to the linux-firmware repo so a newer
snapshot will be required but for now I'm sticking with what is already
in Gentoo so I don't have to generate my own tarball or whatever.
2014-01-03 12:54:54 -08:00
Michael Marineau
6e4bc8d9c1 fix(sys-kernel/coreos-kernel): Don't install firmware to root filesystem
In preparation for moving to using firmware provided by the
linux-firmware repository instead of linux the kernel ebuild needs to
stop installing the files to avoid conflicts. Also to better ensure that
the firmware package gets rebuilt every time the kernel does bump to
EAPI=5 and set the subslot to the ebuild version/revision. The firmware
package can then depend on the kernel w/ a special slot operator to make
sure it gets rebuilt when the kernel version changes. The firmware
package can then scan the installed modules and only install the
firmware that is required.

(Portage automatic rebuild behavior often makes this sort of rebuild
happen anyway but using subslots makes it a strict requirement.)
2014-01-03 12:40:42 -08:00
Michael Marineau
d3bfcc7823 fix(cros-workon.eclass): Fix support for EAPI=5 subslots
The subslot should not be used as part of package name directories.
This fixes the kernel builds now that cros-kernel2 uses subslots.
2014-01-03 12:40:42 -08:00
Michael Marineau
340ce65bc8 fix(sys-kernel/coreos-kernel): Drop old no-modules kernel. 2014-01-03 12:36:01 -08:00
Michael Marineau
0774cd0837 Merge pull request #289 from marineam/fix-ssh
bump(coreos-base/coreos-init): Fix bogus ssh_config
2014-01-03 11:53:52 -08:00
Greg Kroah-Hartman
b7bd408b7e bump(sys-kernel/coreos-kernel): bump to 3.12.6 2014-01-02 21:23:53 -08:00
Michael Marineau
06dbb9476d bump(coreos-base/coreos-init): Set EDITOR=/usr/bin/vim 2014-01-02 17:17:24 -08:00
Michael Marineau
b1aa0c9e52 bump(coreos-base/coreos-init): Fix bogus ssh_config
Bump to include https://github.com/coreos/init/pull/32
Fixes https://github.com/coreos/coreos-vagrant/issues/33
2014-01-02 16:44:25 -08:00
Michael Marineau
fb6393d667 Merge pull request #287 from marineam/symlink-usr
A few /usr related fixes
2014-01-02 16:42:04 -08:00
Greg Kroah-Hartman
79b603dfc6 bump(sys-kernel/coreos-kernel): add some SATA driver support.
Should resolve #279
2013-12-30 21:09:55 -08:00
Michael Marineau
d85b14db00 add(sys-libs/nss-usrfiles): nss module for files under /usr/share/nss 2013-12-30 16:43:34 -08:00
Michael Marineau
ba5f044fe4 remove(coreos-base/chromeos-auth-config): Unused passwd hackery
This appears to be part of a scheme to set an alternative login password
in ChromeOS that we have not been using. Our solution will be to make
/etc read-write so this can just go away.
2013-12-30 16:08:11 -08:00
Michael Marineau
d03376f5c3 fix(coreos-base/coreos): Remove rsyslog
We don't actually enable it and journald is more awesome anyway.
2013-12-30 16:08:11 -08:00
Michael Marineau
2a6ef1ad8f fix(sys-libs/ncurses): Remove terminfo from /etc w/ symlink-usr
Existing behavior remains unchanged if symlink-usr is unset, otherwise
leave terminfo alone (if minimal is also unset) or prune terminfo down
to the set that would have been installed to /etc if minimal is set.
2013-12-30 16:08:11 -08:00
Michael Marineau
6fc956aa1e bump(sys-libs/ncurses): Sync ebuild with current upstream version 2013-12-30 16:08:11 -08:00
Brandon Philips
58a6bf6d7a fix(dev-db/etcd): set name in bootstrap
by default set the name of the etcd machine to the `${HOSTNAME}`
2013-12-23 23:22:19 -08:00
Brandon Philips
969ec91d6e feat(dev-db/etcdctl): bump 0.2.0 2013-12-23 22:59:44 -08:00
Brandon Philips
ae01d59251 feat(dev-db/etcd): add etcd 0.2.0 2013-12-23 11:15:16 -08:00
Brandon Philips
64281470b5 Merge pull request #285 from philips/docker-0.7.2
bump(app-emulation/docker): bump to 0.7.2
2013-12-21 14:20:13 -08:00
Brandon Philips
1653ed95ee bump(app-emulation/docker): bump to 0.7.2 2013-12-20 19:06:48 -08:00
Brandon Philips
2455297fe6 fix(package.accept_keywords): accept go-1.2 2013-12-20 19:03:08 -08:00
Michael Marineau
1c239f2258 Merge pull request #282 from oremj/add_coretest
Add coretest-0.0.1 ebuild.
2013-12-18 23:54:37 -08:00
Jeremiah Orem
c96c4fde29 Add coretest-0.0.1 ebuild. 2013-12-18 23:09:57 -08:00
Michael Marineau
4c5fc60ba2 bump(sys-kernel/bootengine): Fix last-resort fallback boot 2013-12-18 14:28:03 -08:00
Michael Marineau
1a8e3ad89c fix(sys-libs/pam): Remove libs from /lib64
This ebuild calls gen_usr_ldscript to move libraries from /usr to / and
then symlinks to them from /usr. Clear all that crap out and use /usr.
2013-12-09 17:11:53 -08:00
Michael Marineau
01f2bb15c5 bump(sys-libs/pam): Import current stable pam from Gentoo 2013-12-09 15:35:44 -08:00
Brandon Philips
09b4f91633 feat(app-emulation/docker): use the coreos unit file
On CoreOS we use systemd to manage docker containers. Having docker
automatically start containers on reboot makes everything confused. Stop
doing this.
2013-12-07 22:05:03 -08:00
unclejack
22f3f5b953 feat(app-emulation/docker): bump to docker 0.7.1 2013-12-07 21:47:01 -08:00
Brandon Philips
0d18737adc fix(app-emulation/docker): start with a clean slate 2013-12-07 21:45:45 -08:00
Michael Marineau
bd54f51917 fix(sys-apps/efunctions): Create functions.sh symlink in postinst.
This makes double sure that the symlink is never removed by INSTALL_MASK
or PKG_INSTALL_MASK. This symlink is so strictly required by random
tools we cannot allow it to ever go missing by mistake.
2013-12-06 16:55:14 -08:00
Michael Marineau
43c26c6cc9 fix(coreos-base/gmerge): Remove reference to old package.provided file
A case of binary packages masking breakage, didn't notice this broke
because I didn't happen to trigger a build of gmerge during my testing.
This package.provided file contained the hackily installed toolchain
which is now handled via a normal emerge instead.
2013-12-05 23:09:35 -08:00
Greg Kroah-Hartman
e567efe461 bump(sys-kernel/coreos-kernel): add realtek ethernet support
Adds support for the realtek ethernet drivers as requested.
2013-12-04 21:03:27 -08:00
Greg Kroah-Hartman
8d5a6f9cd9 bump(sys-kernel/coreos-kernel): add infiniband support
This resolves issue #235 where IB support was requested for the kernel.
2013-12-04 20:05:48 -08:00
Michael Marineau
3341e00450 hack(coreos-base/hard-host-depends): Work around lvm's configure script path detection 2013-12-04 17:07:07 -08:00
Michael Marineau
7bd16b8c0e fix(profiles): Use sys-block/thin-provisioning-tools-0.2.8-r1
This moves ruby from RDEPENDS to DEPENDS behind the 'test' USE flag.
2013-12-04 16:34:13 -08:00
Brandon Philips
71430f7df0 feat(accept_keywords): boost build is needed by lvm 2013-12-03 17:07:23 -08:00
Brandon Philips
36189f4b23 feat(coreos-devel/sdk-depends): add boost-build
building boost requires that the SDK has the b2 command line utility
installed in /usr/bin/b2. Install this utility in the sdk.
2013-12-03 17:07:23 -08:00
Brandon Philips
89561b6f85 feat(coreos/base): add lvm thin 2013-12-03 17:07:17 -08:00
Brandon Philips
683432a2f7 feat(coreos/base): accept keywords on docker 0.7
we want docker 0.7, accept it's unstable nature
2013-12-03 12:59:48 -08:00
Michael Marineau
48310fc354 Merge pull request #269 from marineam/gce
add(coreos-base/oem-gce): Add support for ssh keys on GCE
2013-12-02 22:14:37 -08:00
Michael Marineau
1c726ce019 fix(coreos-base/oem-gce): Drop debug echo 2013-12-02 22:12:49 -08:00
Michael Marineau
e0244428fb fix(profiles): Move INSTALL_MASK from common.sh to profiles.
This one isn't used by default, only when building final images like so:

    export INSTALL_MASK=$(portageq-$BOARD envvar PROD_INSTALL_MASK)
2013-12-01 13:59:57 -08:00
Michael Marineau
4032ba5ede add(coreos-base/oem-gce): Add support for ssh keys on GCE 2013-11-30 17:26:49 -08:00
Michael Marineau
da1f605863 fix(profiles): Move default INSTALL_MASK to profiles.
The INSTALL_MASK is altered all over the place, clean it up by moving
all of it to profiles. Add /usr/share/{i18n,locales} to exclude those
installed by glibc since it doesn't have a nls use flag to disable them.
2013-11-29 21:28:31 -08:00
Michael Marineau
485f519a51 fix(coreos-base/coreos-base): Remove nsswitch.conf
Provided by glibc now that it is being installed properly.
2013-11-29 19:54:23 -08:00
Michael Marineau
640c2e354e Merge pull request #264 from marineam/dracut
Dracut
2013-11-27 14:44:33 -08:00
Michael Marineau
0de4520683 bump(sys-kernel/bootengine): Include journald config module 2013-11-27 14:40:29 -08:00
Michael Marineau
0c3d7932e3 Merge pull request #266 from marineam/kexec
fix(coreos-base/coreos): Add kexec to base image.
2013-11-27 14:02:32 -08:00
Michael Marineau
17551fb435 fix(coreos-base/coreos): Add kexec to base image. 2013-11-27 13:57:14 -08:00
Jeremiah Orem
71af79a8d5 Fix ebuilds which conflict with symlink-usr.
This pulls in gawk, shadow, and coreutils. These ebuilds created
symlinks in /usr/bin which clobbered the binaries already in /usr/bin.
2013-11-26 23:02:01 -08:00
Michael Marineau
d88abf0853 fix(sys-apps/systemd-sysv-utils): Change install location, not target.
Change the install location based on symlink-usr instead of the target
and use absolute symlinks. We need to move towards never installing to
/{bin,sbin,lib...} and the use of absolute links avoids needlessly
breaking if the symlink-usr flag and the current state of /bin don't
agree (i.e. between flipping the flag and migrating the current files).
2013-11-26 23:01:23 -08:00
Michael Marineau
6e36663e19 fix(profiles): Enable dracut systemd module 2013-11-25 18:03:20 -08:00
Michael Marineau
2c9dfc4494 bump(sys-kernel/dracut): Update to dracut 034-r1
Copy from upstream, minus the sysvinit dependency.
2013-11-25 17:46:31 -08:00
Michael Marineau
0a2ba8b82f Merge pull request #263 from oremj/symlink_usr
Symlink /{bin,sbin,lib64} to /usr/.
2013-11-22 19:03:32 -08:00
Jeremiah Orem
81e4c17d60 Symlink /{bin,sbin,lib64} to /usr/.
This also introduces a new USE flag, "symlink-usr".
2013-11-22 21:58:01 -05:00
Michael Marineau
d4efcd3fe0 Merge pull request #262 from marineam/init
fix(sys-kernel/coreos-kernel): Set systemd as default init.
2013-11-22 14:03:16 -08:00
Michael Marineau
30352e61d2 fix(sys-kernel/coreos-kernel): Set systemd as default init.
This avoid depending directly on the compatibility /sbin/init symlink.
2013-11-22 13:33:08 -08:00
unclejack
eb1ecb525d feat(app-emulation/docker): bump to docker 0.6.7 2013-11-22 12:53:38 +02:00
Michael Marineau
c323a1404f bump(sys-kernel/coreos-kernel): Mark modular kernel as stable 2013-11-21 18:12:10 -08:00
Michael Marineau
ac5693f65b bump(sys-kernel/bootengine): Update for module/failover logic 2013-11-21 18:10:38 -08:00
Michael Marineau
a172ee1ebe bump(coreos-base/vboot_reference): Update cgpt 2013-11-20 23:02:32 -08:00
Michael Marineau
c70802be7f fix(coreos-base/gmerge): Fix ebuild revision 2013-11-19 22:34:14 -08:00
Michael Marineau
f6d211d85a bump(coreos-base/coreos-installer): Update with postinst fixes/cleanups. 2013-11-19 22:30:02 -08:00
Michael Marineau
f87b32d1f7 Merge pull request #257 from marineam/modules
Modules
2013-11-19 17:50:56 -08:00
Alex Polvi
b808a92fff add corectl 2013-11-19 17:43:31 -08:00
Alex Polvi
00c0d7dba4 drop restart 2013-11-19 17:34:29 -08:00
Alex Polvi
5e3fdfd9f6 feat(coreinit): add coreinit to the experimental package, drop systemd-rest 2013-11-19 17:30:43 -08:00
Michael Marineau
4418bd833a fix(sys-kernel/coreos-kernel): Move AT keyboard back to bzImage
As much as I like not seeing the i8042 error in the kernel log on
platforms without it I foresee someone being really ticked off with me
for making this a module when dracut fails without loading the PS/2 and
keyboard modules making the rescue shell kinda hard to use unless a
serial console is also available.

Yeah, well, fair enough future me. You win.
2013-11-19 15:18:15 -08:00
Michael Marineau
42b715c1dd fix(sys-kernel/coreos-kernel): Re-enable gzip (and more) for initramfs
I forgot that we are using gzip'ed cpio images for PXE. Just enable all
the compression methods to avoid similar surprises.
2013-11-19 14:58:22 -08:00
Michael Marineau
864f4680c5 Merge pull request #256 from marineam/modules
Modules
2013-11-19 14:17:40 -08:00
Michael Marineau
bb82a156ea fix(sys-kernel/coreos-kernel): Update modular config, more modules!
Switch more things to modules previously missed (such as SCSI). Clean up
more debug options.
2013-11-19 13:48:39 -08:00
Michael Marineau
35fd55a41a fix(cros-kernel2.eclass): Fix cpio update steps.
The kernel is much more particular about how it handles the cpio format
than GNU's cpio tool. Two things:
 - Don't use the -depth option to find, cpio documentation recommends
   using it (the directory comes after the contents so set the
   permissions on the dir last in case it is overly restrictive) but the
   kernel thinks the other direction and doesn't put things into a
   directory that does not (yet) exist.
 - Don't add anything under /lib which is a symlink in the original
   file. Adding /lib as a directory later replaces the earlier /lib
   symlink. Again the user space tool thinks in the other direction and
   will happily dereference the symlink while extracting, preserving it.

CPIO CPIO CPIO!
2013-11-19 13:36:23 -08:00
Michael Marineau
ffc7f50e94 Merge pull request #255 from marineam/modules
Modules
2013-11-18 13:17:06 -08:00
Michael Marineau
f9a0b52c92 fix(cros-kernel2.eclass): Move build deps from ebuilds to eclass. 2013-11-18 00:35:29 -08:00
Michael Marineau
22190a7bfc bump(sys-kernel/coreos-kernel): New modular kernel.
Lots of changes here, some things of note:
 - Switch from built-in to modules for much of the kernel.
 - Enable more features, mostly in power management and networking.
 - Remove no_firmware.patch, this was added back when we had two
   different kernels which would conflict if both installed firmware.
 - Stop disabling OUTOFTREE_BUILD now that we don't patch the source.

So far this is just compile tested so it is marked ~amd64 for now.
2013-11-18 00:26:57 -08:00
Michael Marineau
0e3d2d202e fix(cros-kernel2.eclass): Fix STRIP_MASK and disable binchecks
STRIP_MASK wasn't updated to the new vmlinux location earlier.
RESTRICT=binchecks disables checks that only make sense for user space
binaries. This silences a bogus scanelf error.
2013-11-17 23:11:54 -08:00
Michael Marineau
0c0df75d69 fix(cros-kernel2.eclass): Disable OUTOFTREE_BUILD when src is dirty.
If OUTOFTREE_BUILD=1 (currently disabled but that will change) the
kernel will use the existing checkout as the source tree rather than
cloning another tree. If someone built anything in that tree and .config
exists the build will fail complaining that the source isn't clean.
Instead of failing just disable OUTOFTREE and emit a warning.

OUTOFTREE combined with INCREMENTAL makes successive kernel builds
pretty much no-ops (just re-linking modules and bzImage).
2013-11-17 22:45:34 -08:00
Michael Marineau
c83821a102 fix(cros-kernel2.eclass): Explicitly build bzImage in second pass
Build only bzImage instead of the default 'all' which also will re-link
all of the modules which is pointless and just causes the initramfs and
rootfs to become out of sync.
2013-11-17 20:25:45 -08:00
Michael Marineau
45f5b2b976 fix(cros-kernel2.eclass): Install vmlinux into same path as modules
This matches the behavior of Debian/Fedora closer so might as well
change it while I'm mucking around in this eclass.
2013-11-17 20:12:52 -08:00
Michael Marineau
012a13bc28 fix(cros-kernel2.eclass): Add kernel modules to initramfs.
Since we need to both bundle modules into the initramfs as well as
bundle the initramfs into the kernel image we need to update a pre-built
image with the user space tools as part of the kernel build process.

This seemed the best scheme, the alternatives were:
 - Unpack bootengine.cpio to a temporary directory, build and install
   kernel modules into that temporary directory, pass that directory
   plus a config file listing what device nodes to the kernel build.
 - Build kernel modules and generate a fresh bootengine.cpio using the
   update-bootengine tool. This would require calling sudo (and breaking
   out of the sandbox in the process) in the middle of the ebuild.
2013-11-17 20:01:24 -08:00
Brandon Philips
34f3f6a167 Merge pull request #254 from philips/gmerge-amd64
feat(gmerge): accept amd64 stuff
2013-11-15 15:12:29 -08:00
Brandon Philips
3f653524e7 feat(gmerge): ACCEPT_KEYWORDS **
see
47a360f8cd
2013-11-15 15:11:58 -08:00
Michael Marineau
a38632b0ea fix(cros-kernel2.eclass): Don't install invalid source/build symlinks.
If the kernel sources aren't installed there is no point to installing
these symlinks.
2013-11-14 18:23:16 -08:00
Michael Marineau
13fa480c49 fix(cros-kernel2.eclass): Drop the kernel_, just source. It's cleaner.
The use flag kernel_sources conflicts with the special meaning of the
use flag prefix kernel_ which is reserved for defining the host kernel,
for example kernel_linux. Also a couple other ebuilds in Gentoo have a
source use flag so let's just follow that pattern instead.
2013-11-14 18:14:51 -08:00
Michael Marineau
c1039fbcfa fix(cros-kernel2.eclass): Remove a massive amount of dead code.
We do not currently support or care about things like arm, device trees,
smatch, and other things that massively complicate this eclass. Remove
them so making further changes is simple. Features can always be added
back later.
2013-11-14 18:08:39 -08:00
Michael Marineau
76e8f257ab fix(sys-kernel/coreos-kernel): Disable example modules and kgdb.
Just a little cleanup, no need for either of these.
2013-11-14 15:48:51 -08:00
Michael Marineau
c1f8dcbdf7 fix(cros-kernel2.eclass): Move kernel defconfig along side ebuilds
This makes it possible to have multiple kernel ebuilds in the tree at
once since the defconfig can be versioned along side the ebuilds instead
of being global.
2013-11-14 15:39:20 -08:00
Michael Marineau
060794d2ec Merge pull request #252 from marineam/toolchain-pkgs
fix(make.conf): Fetch packages built by build_toolchains
2013-11-13 17:20:17 -08:00
Brandon Philips
94010aec18 chore(eclass/cros-kernel): bump with oldconfig 2013-11-08 15:15:56 -08:00
Brandon Philips
3e5677ccf9 feat(sys-kernel/coreos-kernel): bump to 3.11.7 2013-11-08 13:59:01 -08:00
Michael Marineau
2be7a667fc fix(make.conf): Fetch packages built by build_toolchains 2013-11-07 16:43:08 -08:00
Michael Marineau
2eeb79506f fix(cros-workon.eclass): Do not add -clang to CFLAGS
Not sure how this managed to work in the past, perhaps the test for
using Google's common.mk used to always fail but now works properly?
In any case, we don't use clang any more.
2013-11-07 15:36:45 -08:00
unclejack
cd7ef0f929 feat(app-emulation/docker): bump to docker 0.6.6 2013-11-07 21:55:32 +02:00
unclejack
2d83c83876 feat(app-emulation/docker): bump to docker 0.6.5
This adds the docker 0.6.5 ebuild.
2013-11-01 21:23:33 +02:00
Michael Marineau
f0eef9db28 bump(sys-kernel/bootengine): Bump code to include namespace fix. 2013-10-30 16:25:12 -07:00
Michael Marineau
1caaca5420 Merge pull request #246 from marineam/eend
bump(sys-apps/efunctions): updates from upstream and eend fix
2013-10-24 18:26:57 -07:00
Michael Marineau
1df4cdffe1 bump(sys-apps/efunctions): updates from upstream and eend fix 2013-10-24 13:42:23 -07:00
Brandon Philips
28bf72ada0 chore(net-misc/tlsdate): sync 9999 ebuild 2013-10-23 14:37:29 -07:00
Brandon Philips
6d62f900d1 fix(net-misc/tlsdate): ensure systemd eclass is used 2013-10-23 14:34:05 -07:00
Brandon Philips
3751ea02a6 chore(net-misc/tlsdate): fixup the comments related to user 2013-10-23 14:30:30 -07:00
Brandon Philips
c97146146b fix(net-misc/tlsdate): use service file from ebuild 2013-10-23 14:26:52 -07:00
Brandon Philips
6c5ee6a89b fix(net-misc/tlsdate): use econf on 9999 too 2013-10-23 14:12:32 -07:00
Brandon Philips
2dc453d51e fix(net-misc/tlsdate): use the coreos fork
the chromium os fork works and there are some problems upstream I need
to work thorugh. Use this.
2013-10-23 14:08:35 -07:00
Michael Marineau
87a7433cc9 Merge pull request #243 from marineam/release-reorg
fix(config): Fall back to the current SDK version for target packages.
2013-10-18 17:19:51 -07:00
Michael Marineau
9d18cf2551 fix(config): Fall back to the current SDK version for target packages.
This avoids loosing access to binary packages between tagging a new
version and finishing the build. The SDK's make.conf already does this.
2013-10-18 16:52:38 -07:00
Brandon Philips
304a71bc2c feat(coreos-base/coreos-init): install tlsdate 2013-10-18 13:44:28 -07:00
Brandon Philips
03a4eb155f feat(coreos-base/coreos-base): add the tlsdate user 2013-10-18 13:43:28 -07:00
Brandon Philips
10c759cdd0 Merge pull request #239 from philips/docker-0.6.4
feat(app-emulation/docker): bump to docker 0.6.4
2013-10-18 10:40:32 -07:00
Brandon Philips
eea468f5b4 Merge pull request #240 from philips/bump-aufs-utils
feat(coreos-base/coreos): include aufs-utils
2013-10-18 10:40:15 -07:00
Brandon Philips
ef95133b0a feat(coreos-base/coreos): include aufs-utils
aufs utils are needed to do some garbage collection on aufs unmounts.
2013-10-17 16:39:08 -07:00
Brandon Philips
260bab751c chore(app-emulation/docker): add the new service file 2013-10-17 16:28:03 -07:00
Brandon Philips
b522d90d2d feat(app-emulation/docker): bump to docker 0.6.4 2013-10-17 15:57:32 -07:00
Michael Marineau
33394e780e bump(coreos-base/coreos-init): Fix resizing on disks >= 300GB 2013-10-16 17:29:06 -07:00
Alex Polvi
08c6e55231 fix ssh handling 2013-10-14 12:06:42 -07:00
Alex Polvi
522c846bcc use proper ssh key setup 2013-10-14 11:32:58 -07:00
Alex Polvi
4037db2a2a remove redundant resolv.conf setup 2013-10-14 11:22:52 -07:00
Alex Polvi
98af20601f fix resolvconf.sh 2013-10-13 19:38:54 -07:00
Alex Polvi
9be7d7c130 add(coreos-base/oem-rackspace): added initial oem for rackspace 2013-10-13 19:23:50 -07:00
Brandon Philips
a3d82af931 feat(dev-db/etcd): bump to 0.1.2 release 2013-10-11 15:30:17 -07:00
Michael Marineau
50697bd07b fix(profiles): Enable ccache by default.
This is such a huge win for repeated glibc and kernel compiles. :)
2013-10-07 12:39:10 -07:00
Michael Marineau
72eb0ed866 fix(profiles): Move FEATURES into profiles.
Move all obviously safe features into the coreos profiles to further
reduce the magic in make.conf, leave the more fast-and-loose options in
make.conf to keep them kinda "special".
2013-10-07 12:33:26 -07:00
Michael Marineau
8efddb70a4 fix(coreos-base/hard-host-depends): Remove clang/llvm from SDK.
Nothing should be using clang any more and just results in long compile
times when use flags change. Away with ye!
2013-10-04 11:32:25 -07:00
Brandon Philips
94b7b1ff06 fix(coreos-base/coreos-init): fix the blocking local.target 2013-10-03 15:18:04 -07:00
Brandon Philips
36b6776fc6 Merge pull request #230 from philips/docker-xz
fix(app-emulation/docker): docker now requires xz
2013-10-02 14:05:56 -07:00
Brandon Philips
bef65d7d85 fix(coreos-base/coreos-init): fixup to use right systemctl path 2013-10-02 12:47:12 -07:00
Brandon Philips
694c7f0991 fix(app-emulation/docker): docker now requires xz 2013-10-02 11:31:46 -07:00
Brandon Philips
c40ff09de1 feat(sys-kernel/bootengine): unlimited size 2013-10-02 10:13:25 -07:00
Brandon Philips
987087a204 feat(bootengine): add custom oem support 2013-09-30 15:54:36 -07:00
Greg Kroah-Hartman
598dbbe4c4 Merge pull request #226 from philips/bump-docker-0.6.3
Enable odcker by default
2013-09-29 18:54:18 -07:00
Greg Kroah-Hartman
ea58e34e74 Merge pull request #227 from philips/git-in-image
feat(coreos-base/coreos): add git to the base image
2013-09-29 18:53:39 -07:00
Brandon Philips
50769e018b feat(coreos-base/coreos): add git to the base image
git is too ubiquitous of a transport to ignore. People use it to pull in
scripts, containers with docker, syncronize configurations, etc. It is a
must have. Merge it.
2013-09-29 15:10:27 -07:00
Brandon Philips
4765674707 fix(coreos-base/coreos-init): aactually link in docker
linking in the docker unit didn't work because coreos-init didn't depend
on docker. Fix that!
2013-09-28 15:16:42 -07:00
Brandon Philips
d0dded5d9f feat(coreos-init): enable docker 2013-09-26 16:27:08 -07:00
Brandon Philips
4ca77f4bab feat(profiles): unmask amd64 2013-09-26 15:34:10 -07:00
Brandon Philips
59015ea34e fix(profiles): add sys-fs/aufs3-9999 2013-09-26 15:29:47 -07:00
Michael Marineau
34d9d2f1c2 remove(coreos-base/dev-install): Remove oddball portage configuration.
Now that dev images install packages into root instead of /usr/local we
can move to configuring portage in those images in a more standard way.
We also don't support turning a prod image directly into a dev image so
this sort of stuff doesn't belong in the base system anyway.
2013-09-20 21:36:09 -04:00
Michael Marineau
7943652482 fix(coreos-base/coreos-dev): Add gentoolkit (includes equery)
I keep wanting this tool, so here it is!

Add explicit dependency on portage just to be clear that it is in the
dev image, not the base image.
2013-09-20 21:28:38 -04:00
Michael Marineau
7f6aa5d50f fix(coreos-base/coreos): Switch awk implementation to gawk.
Space saving by using mawk is not significant and a number of things
depend on gawk so save us the trouble and just switch.
2013-09-20 21:24:33 -04:00
Michael Marineau
10b7b390e7 Merge pull request #221 from marineam/image-cleanup
Image cleanup
2013-09-20 14:01:36 -07:00
Michael Marineau
4230912782 Revert "fix(coreos-base/coreos): Remove tlsdate"
This reverts commit 05ad60b19146a7217e6e0140b962bf07c157a87d.

Keeping tlsdate for now, but we still need to actually configure it.
2013-09-20 16:55:47 -04:00
Michael Marineau
932614d7a5 fix(coreos-base/coreos): Add rsync to system images 2013-09-20 15:37:21 -04:00
Michael Marineau
d641cdcf90 remove(sys-apps/systemd-sysv-utils): Fix pushed upstream.
Updated ebuild is now in the portage-stable overlay.
2013-09-20 14:56:45 -04:00
Michael Marineau
6c1a81e262 bump(coreos-base/hard-host-depends): update revision 2013-09-19 23:51:31 -04:00
Michael Marineau
26b968d65d bump(coreos-base/coreos): update revision 2013-09-19 23:51:04 -04:00
Michael Marineau
4da3d2da51 remove(coreos-base/internal): Unused, for getting jiggy with ChromeOS. 2013-09-19 23:49:59 -04:00
Michael Marineau
329cfe728d fix(coreos-base/coreos): Remove pv 2013-09-19 23:40:16 -04:00
Michael Marineau
8db5f3cbd7 fix(coreos-base/coreos): Remove tlsdate 2013-09-19 23:34:29 -04:00
Michael Marineau
c5d7724c09 fix(coreos-base/coreos): Remove sharutils (provided uuencode/uudecode) 2013-09-19 23:31:53 -04:00
Michael Marineau
c99e247250 fix(coreos-base/coreos): Remove dash 2013-09-19 23:29:12 -04:00
Michael Marineau
aded477337 fix(profiles): Remove python use flag from libxml2 and protobuf
Keep python's use in targets to a minimum.
2013-09-19 23:03:21 -04:00
Michael Marineau
d7d403378d fix(profiles): Move sdk specific package.use entries to sdk profile 2013-09-19 22:53:23 -04:00
Michael Marineau
e5262c1049 fix(profiles): Add pinentry eselect module to provided list 2013-09-19 22:41:52 -04:00
Michael Marineau
9d4a0dcd6f remove(sys-boot/*): Remove unused boot/firmware packages.
Remove bootcache and assorted firmware/boot related packages left over
from ChromeOS. We don't run on funny looking firmwares etc :)
2013-09-19 22:25:25 -04:00
Michael Marineau
f7a3166d89 remove(app-benchmarks/bootchart): systemd provides its own implementation 2013-09-19 22:11:46 -04:00
Michael Marineau
d006f1e698 remove(coreos-base/coreos-test): Unused test image meta-package 2013-09-19 22:06:21 -04:00
Michael Marineau
02b3b5d9e5 bump(coreos-base/coreos-init): Update merge commit hash 2013-09-19 16:55:25 -04:00
Michael Marineau
f7ac4cf24c bump(coreos-base/coreos-init): Update to remove old getty generator. 2013-09-19 16:28:18 -04:00
Michael Marineau
e891e4e7bd add(sys-apps/systemd-sysv-util): Bump to version 207
As of 207 the systemd binary is only located at
/usr/lib/systemd/systemd, not /usr/bin/systemd. Fix the broken init link
accordingly, also add version to systemd dependency for good measure.
2013-09-19 16:21:48 -04:00
Michael Marineau
89d1377d8d fix(profiles): Add udev to the stage1 use flags.
Bootstrapping now pulls in udev which is provided by systemd, systemd
pulls in hwids which must have the udev use flag enabled. Also add
gentoo-systemd-integration which will be used with the next version of
systemd.
2013-09-16 19:05:04 -04:00
Michael Marineau
56ac86f071 churn(profiles): Move base to coreos/base.
Switch to upstream's base profile, moving coreos specific stuff into
coreos/base and elsewhere as needed. No significant changes but a lot of
use flag nose in this since things like the list of available python
targets changes.
2013-09-16 18:31:49 -04:00
Michael Marineau
5959c42ec4 churn(profiles): Move arch/amd64
The only CoreOS specific things in this profile appear to have been
a few use flags for the SDK. Switch to the upstream amd64 profile after
moving these flags around in the appropriate target profiles.

The one function change here is that the delta_generator use flag is now
properly disabled outside of the SDK as it was in chromeos.
2013-09-16 17:38:59 -04:00
Michael Marineau
0303361b28 churn(profiles): Move default/linux to coreos/base
Move all of the coreos stuff to coreos/base and a couple other places
while switching to the upstream version of default/linux. This needs
further cleanup but it sufficient for the transition.
2013-09-16 17:07:20 -04:00
Michael Marineau
37704e94b9 fix(coreos-base/gmerge): Update target profile directory.
This really shouldn't be in this ebuild but fixing it is a task for
another day...
2013-09-14 20:55:11 -04:00
Michael Marineau
09fda60f5d churn(profiles): Move default/linux/amd64/10.0
Merge the remaining bits of default/linux/amd64/10.0 into the coreos
tree. default/linux/amd64/10.0 is now an alias for coreos/amd64/sdk for
compatibility with existing configs.
2013-09-13 22:16:27 -04:00
Michael Marineau
17162aca29 churn(profiles): Remove unused profiles from default/linux/amd64/10.0 2013-09-13 21:11:31 -04:00
Michael Marineau
f9f6fd02f3 churn(profiles): Move default/linux/amd64/10.0/coreos
default/linux/amd64/10.0/coreos and coreos/amd64/generic have swapped.
The old profile remains for compatibility with existing configurations.
2013-09-13 20:03:32 -04:00
Michael Marineau
e7be73b497 churn(profiles): Move targets/coreos to coreos/targets/generic 2013-09-13 19:37:44 -04:00
Michael Marineau
4587876cfa chrun(profiles): Remove cruft from targets/coreos
This removes settings that either do not apply to packages we install or
duplicate settings that are provided elsewhere. No functional changes.
2013-09-13 19:32:19 -04:00
Michael Marineau
dc36bcf6d8 add(profiles/coreos): Add new 'coreos' profile tree.
This will replace coreos specific stuff that is scattered around
'default/linux', 'arch/amd64', 'base', and 'targets' so those can be
replaced by the upstream Gentoo versions.
2013-09-13 16:43:32 -04:00
Michael Marineau
d14733daff churn(profiles): Replace arch/base with upstream. 2013-09-13 14:45:10 -04:00
Michael Marineau
d7190b3fef churn(profiles): Replace features/multilib with upstream. 2013-09-13 14:41:31 -04:00
Michael Marineau
f4d990471a churn(profiles): Replace features/64bit-native with upstream. 2013-09-13 14:35:17 -04:00
Michael Marineau
a2fa844e72 churn(profiles): Replace releases/10.0 with upstream.
This adds gdbm to the default USE flags which is already enabled on some
packages but not others. Disable for perl and apr-util for consistency.
2013-09-13 14:33:55 -04:00
Michael Marineau
9f4e16b621 clean(profiles): Remove unused x86/arm profiles.
These profiles are not in regular use, drop them to minimize the number
of profiles to rebase onto upstream Gentoo portage profiles.
2013-09-13 14:09:14 -04:00
Michael Marineau
87ba14bca1 fix(metadata): Support 'repo:some/name' profile names.
This allows using things like 'gentoo:targets/desktop' or
':targets/desktop' in parent files which is much easier to read than the
default format which requires relative or absolute file paths.
2013-09-13 13:16:48 -04:00
Michael Marineau
49caf4f511 bump(coreos-base/coreos-init): Include updated c10n script. 2013-09-11 23:26:08 -04:00
Michael Marineau
60c8fe9eb3 fix(sys-kernel/coreos-kernel): Fix boot on new ec2 hardware.
Cherry-pick edb6f29464afc65fc73767540b854abf63ae7144 from upstream:
  crypto: xor - Check for osxsave as well as avx in crypto/xor

This fixes booting with old versions of Xen running on new CPUs.
2013-09-11 21:26:40 -04:00
Brandon Philips
83dbbb2f7a chore(sys-kernel/coreos-kernel): bump to pickup new driver 2013-09-10 21:28:33 -07:00
Brandon Philips
997136c219 Merge pull request #209 from philips/pxe-update-engine
feat(coreos-init): introduce pxe update_engine
2013-09-10 21:27:44 -07:00
Brandon Philips
8bb386cfe3 chore(coreos-base/update_engine): grab pxe commit 2013-09-10 21:26:56 -07:00
Brandon Philips
18d85a88e9 fix(update_engine): use exeinto for pxe_update_engine
use exeinto as suggsted by mike for pxe_update_engine
2013-09-10 21:20:30 -07:00
Brandon Philips
14bdcf55ac Merge pull request #212 from marineam/python
fix(dev-lang/python): Update Manifest
2013-09-10 21:05:12 -07:00
Michael Marineau
8a6cc6f02a fix(dev-lang/python): Update Manifest
Missed in previous python version bump.
2013-09-11 00:01:30 -04:00
Greg Kroah-Hartman
df479fa7b1 fix(cros-kernel/x86_64_defconfig) add CONFIG_SCSI_ISCI
This builds the driver, and the needed libraries, for this driver into
the kernel.
2013-09-10 20:50:49 -07:00
Michael Marineau
e041f799a1 fix(dev-lang/python): Update python build for cross-compiling.
Port the ChromiumOS distutils and site patches from 2.7.3 to 2.7.5 and
add some additional exports to make autoconf happy.
2013-09-10 22:10:18 -04:00
Michael Marineau
24402086f8 bump(dev-lang/python): Pull in 2.7.5 ebuild from upstream Gentoo. 2013-09-10 17:24:55 -04:00
Brandon Philips
203ee91d29 feat(update-engine): pxe update engine 2013-09-10 10:59:50 -07:00
Brandon Philips
aac2fdbd13 feat(coreos): add gpg
the installer uses GPG to verify digests. Other people can and should
use gpg to verify stuff they download to the host.
2013-09-10 08:54:04 -07:00
Michael Marineau
bbb2de3d7c Merge pull request #206 from philips/squashfs-init
Squashfs init
2013-09-09 18:27:18 -07:00
Brandon Philips
d45abdcd61 feat(coreos-init): get installer and pxe changes 2013-09-09 17:18:09 -07:00
Brandon Philips
2e74091534 fix(coreos-init): add ssh-key-proc to 9999
annoying oversight missing this, fix.
2013-09-09 17:15:55 -07:00
Brandon Philips
63784aaca4 Merge pull request #205 from philips/squashfs-init
feat(sys-kernel/bootengine): add root=squashfs: support
2013-09-09 11:22:57 -07:00
Brandon Philips
8b82d28c57 feat(sys-kernel/bootengine): add root=squashfs: support 2013-09-09 10:07:36 -07:00
Greg Kroah-Hartman
95ce89014b Merge pull request #204 from philips/add-nfs-protocol-support
fix(cros-kernel): add nfs 2/3 protocol support
2013-09-08 22:52:29 -07:00
Brandon Philips
a093f2d6de fix(cros-kernel): add nfs 2/3 protocol support
stupid oversight on my part. :(
2013-09-08 22:28:12 -07:00
Greg Kroah-Hartman
feb0172df8 Merge pull request #203 from philips/squashfs-init
Add squashfs kernel stuff
2013-09-08 19:00:43 -07:00
Brandon Philips
80bb49300c fix(bootengine): install all modules 2013-09-08 15:33:44 -07:00
Brandon Philips
4ca4c1b16c feat(coreos-base/hard-host-depends): add sys-fs/squashfs-tools 2013-09-08 15:13:39 -07:00
Brandon Philips
9f351816b2 feat(cros-kernel): enable squashfs support 2013-09-08 15:13:39 -07:00
Brandon Philips
00786de2dc fix(update-engine): respect the diskless parameters
update engine shouldn't run when we are diskless (for now)
2013-09-06 17:20:30 -07:00
Brandon Philips
90331d3f19 chore(coreos/scripts): remove cros_set_lsb_release 2013-09-05 17:26:43 -07:00
Brandon Philips
e66eaaba2f fix(dev-db/etcd): listen on 0.0.0.0 on non-ec2 types
This change makes it possible to access etcd from inside a docker
container.
2013-09-05 15:50:47 -07:00
Michael Marineau
544ed7ac50 Merge pull request #199 from marineam/gentoolkit
fix(profiles): Update to gentoolkit-0.3.0.8
2013-09-05 13:10:35 -07:00
Michael Marineau
d5a9db633b fix(profiles): Update to gentoolkit-0.3.0.8
This will be helpful when I get back to my old project of rebasing our
portage profiles on upstream Gentoo's profiles.
2013-09-05 13:00:34 -07:00
Greg Kroah-Hartman
c6949c3cfe feat(coreos-devutils/cros-devutils) add efitools to build tools so kernels can be signed 2013-09-04 22:00:34 -07:00
Greg Kroah-Hartman
f0a2786761 Merge pull request #197 from philips/add-network-diag-tools
feat(coreos/base): add ping
2013-09-04 12:43:47 -07:00
Brandon Philips
7daa5ecbc0 feat(coreos/base): add ping
sysadmins are likely going to need some basic tools to debug network
stuff in the base system.
2013-09-04 12:26:21 -07:00
Michael Marineau
4a0ce81d13 bump(coreos-base/coreos-installer): Latest setgoodroot fix 2013-09-04 14:15:20 -04:00
Michael Marineau
3f1df8b633 bump(coreos-base/coreos-init): Add ssh key fingerprints to issue. 2013-09-03 20:41:17 -07:00
Brandon Philips
44dc6d71f6 Merge pull request #194 from gregkh/kernel_update
fix(sys-kernel/coreos-kernel) build in almost all kernel modules
2013-09-03 15:48:03 -07:00
Greg Kroah-Hartman
a159726876 fix(sys-kernel/coreos-kernel) build in almost all kernel modules
This resolves the "xen fails to boot, so it falls back" problem of
getting out of sync with the kernel and the modules on the root
partitions.  Once kexec is working for xen, modules can be built again.
2013-09-03 15:45:45 -07:00
Michael Marineau
b52d25bd59 bump(coreos-base/coreos-installer): Use fixed version of setgoodroot.
Now maybe upgrades work for more than one boot!
2013-09-03 15:19:09 -07:00
Michael Marineau
4a3a8636e3 fix(coreos-base/coreos-installer): Set correct source path in repo.
Use local repo checkout instead of falling back to git-2.eclass,
otherwise local development doesn't work.
2013-09-03 15:01:14 -07:00
Brandon Philips
fcef234038 feat(coreos-base/coreos): add nfs 2013-09-01 22:56:26 -07:00
Brandon Philips
c0b199b50d fix(coreos-base/hard-host-depends): add libtirpc
libtirpc is a build dependency for nfs-utils
2013-09-01 22:56:26 -07:00
Greg Kroah-Hartman
15eec0ed39 Merge pull request #190 from gregkh/new_keywords
fix(package.accept_keywords) add ~amd64 to efitools and gnu-efi
2013-09-01 17:35:04 -07:00
Greg Kroah-Hartman
42a4afc7d6 Merge pull request #191 from marineam/scsi
fix(sys-kernel/coreos-kernel): Add assorted SCSI adapters for VMware.
2013-09-01 17:34:48 -07:00
Michael Marineau
e01beabebf fix(sys-kernel/coreos-kernel): Add assorted SCSI adapters for VMware.
VMware can emulate buslogic, lsilogic, and its own pvscsi adapters.
Build the whole lot of related devices into the kernel to ensure CoreOS
boots on any of them.
2013-09-01 16:31:40 -07:00
Greg Kroah-Hartman
81f39df32d fix(package.accept_keywords) put back ChromiumOS copyright.
I was wrong to remove it, oops.
2013-09-01 16:16:20 -07:00
Greg Kroah-Hartman
18ca5079eb fix(package.accept_keywords) add ~amd64 to efitools and gnu-efi
This is required for these packages to build as upstream has not
stabilized them yet, and it's doubtful that will happen any year soon...
2013-09-01 15:55:41 -07:00
Greg Kroah-Hartman
4c2b290532 fix(app-crypt/sbsigntool) fix cross-build for sbsigntool
As the documentation isn't being built, don't try to install it.  Fix
this by just not ever going into the doc/ subdirectory.  I'm sure
there's a "proper" fix for this with the HELP2MAN stuff, but it really
doesn't matter, so this work-around is good enough for now.
2013-09-01 15:32:40 -07:00
Michael Marineau
5c9d33bb5e fix(coreos-devel/coreos-buildbot): Simple build fixes. 2013-08-29 17:30:41 -04:00
Michael Marineau
f89aa02ffa fix(*): Update references to old git URL.
Removed a bunch of unused things that happened to refer to it, update
others that matter.
2013-08-29 13:43:31 -07:00
Greg Kroah-Hartman
d57ed20b04 bump(sys-kernel/coreos-kernel) bump to 3.10.10
Also update the documentation to include note about applying patches.
2013-08-29 11:59:50 -07:00
Brandon Philips
33fba0e4b3 Merge pull request #185 from gregkh/kernel_update
kernel config: build in command line option and usb drivers
2013-08-28 14:57:09 -07:00
Greg Kroah-Hartman
62b05becb6 feat(cros-kernel/x86_64_defconfig) build USB into the kernel
When booting from a USB device, you need the USB drivers built into the
kernel.
2013-08-28 14:45:56 -07:00
Greg Kroah-Hartman
4414a44aea feat(cros-kernel/x86_64_defconfig) add "root=gptprio:" to kernel command line
For places where you can't control the kernel boot command line (i.e.
UEFI), add a default option so that dracut knows what to do with
booting.
2013-08-28 12:58:50 -07:00
Michael Marineau
008cf0ff9c fix(sys-kernel/bootengine): Fix build on older kernels 2013-08-28 10:24:33 -07:00
Michael Marineau
2608bde5d5 bump(coreos-base/coreos-init): Bump to version with dynamic issue file. 2013-08-27 23:12:11 -07:00
Michael Marineau
3164ae5fe0 fix(sys-apps/baselayout): Don't install /etc/issue on target systems.
This is handled in /run by coreos-init scripts.
2013-08-27 22:24:29 -07:00
Michael Marineau
9af1e79d79 cleanup(sys-apps/baselayout): Remove old functions.sh from baselayout-1 2013-08-27 22:24:29 -07:00
Michael Marineau
037d2841df fix(sys-apps/baselayout): Sync baselayout with recent Gentoo updates.
baselayout no longer depends on openrc upstream so remove our
openrc/efunctions use flag and dependency. Depend on efunctions in
coreos-base instead.

Remove os-release and roll back gentoo-release since customizing them is
now handled by the set_lsb_release.
2013-08-27 22:24:29 -07:00
Brandon Philips
01c3765fa7 Merge pull request #181 from gregkh/kernel_update
feat(sys-kernel/x86_64_defconfig) enable EFI in the kernel build
2013-08-27 16:10:05 -07:00
Greg Kroah-Hartman
c98ea00e1f feat(sys-kernel/x86_64_defconfig) enable EFI in the kernel build
This builds the kernel as an EFI image, allowing it to be booted
directly by UEFI bioses.  It also enables the efivars and efivarfs
modules so that EFI variables can be accessed properly when booted in
EFI mode.
2013-08-27 16:07:18 -07:00
Brandon Philips
8143b5b5fd Merge pull request #172 from philips/pxe-initial
introduce the PXE oem
2013-08-27 15:58:18 -07:00
Brandon Philips
0df1bb92fa feat(coreos-base/coreos-init): add ssh-key-proc-cmdline
adds the sshkey= feature on the kernel commandline
2013-08-27 15:48:56 -07:00
Brandon Philips
ea08c8f2d3 feat(coreos-base/oem-pxe): introduce the PXE oem
simple OEM for PXE. Simply has an oem-release file.
2013-08-27 15:11:35 -07:00
Brandon Philips
7d6b584c1b Merge pull request #180 from philips/docker-0.6.1
fix(app-emulation/docker): bump to 0.6.1
2013-08-27 14:50:28 -07:00
Brandon Philips
11f02924d8 fix(app-emulation/docker): bump to 0.6.1
the hash is actually for 0.6.1 not 0.6.0. Fix.
2013-08-27 14:44:53 -07:00
Brandon Philips
05724060f6 Merge pull request #175 from philips/docker-0.6
bump(app-emulation/docker): use the philips fork
2013-08-27 14:43:54 -07:00
Brandon Philips
31c80e89de bump(app-emulation/docker): use the philips fork
use the philips fork of docker for now until this build situation gets
sorted out.

https://groups.google.com/forum/#!topic/docker-dev/VeB_vmIMONc
2013-08-27 14:38:30 -07:00
Greg Kroah-Hartman
2b61d5b62f feat(sys-kernel/x86_64_defconfig) enable LSI scsi controller driver 2013-08-27 14:31:58 -07:00
Greg Kroah-Hartman
5e6cface78 feat(sys-kernel/x86_64_defconfig) enable even more networking drivers
Atheros, Chelsio, Dlink, and a few more gigabit network controllers
2013-08-26 23:14:28 -07:00
Greg Kroah-Hartman
6fb76a3429 feat(sys-kernel/x86_64_defconfig) enable more networking drivers
Some Intel ones, Mellanox, Micrel, and Myri.
2013-08-26 23:06:07 -07:00
Greg Kroah-Hartman
8a69c5cf97 feat(sys-kernel/x86_64_defconfig) enable Broadcom and Brocade network drivers 2013-08-26 18:35:04 -07:00
Greg Kroah-Hartman
647e6de301 bump(sys-kernel/coreos-kernel) bump to 3.10.9 2013-08-26 16:45:58 -07:00
Michael Marineau
4acf09c5aa fix(coreos-base/coreos-dev): Remove tpm-tools and opencryptoki from dev.
opencryptoki sometimes fails to build by trying to install something to
/var/lock which is a symlink to /run but the SDK makes no promise that
/run is mounted and populated. Instead of fixing the ebuild just drop it
and tpm-tools which depends on it since we don't actually need them.
2013-08-25 16:44:34 -04:00
Michael Marineau
cb3d204464 fix(sys-apps/util-linux): Do not exclude the unshare utility.
It is required to run cros_sdk.
2013-08-25 02:12:00 -04:00
Brandon Philips
6051203893 fix(dev-db/etcd): fixup listening IP
This fixes the listening ips problem that keeps people from hitting
127.0.0.1 as reported by users.
2013-08-23 17:07:47 -07:00
Michael Marineau
a14d446222 Merge pull request #171 from marineam/base
coreos-base updates, docker socket fixed
2013-08-22 18:46:11 -07:00
Michael Marineau
073071a627 fix(app-emulation/docker): Remove old ebuilds, remove sysctl call.
ipv4 forwarding is now enabled in coreos-base via a sysctl config.
2013-08-22 21:09:18 -04:00
Michael Marineau
cd40d3e46b fix(coreos-base/coreos-base): Install sysctl, a little more cleanup.
Pair down the old unused sysctl.conf do what is useful for us and
install it into /usr/lib/sysctl.d for systemd to handle.

Installing /srv in the SDK does no harm so do so.

EAPI=5 because, better.
2013-08-22 21:09:04 -04:00
Michael Marineau
898a3a3a08 fix(coreos-base/coreos-base): Change core's shell to bash.
It is bash but might as well be explicit about that.
2013-08-22 21:07:29 -04:00
Michael Marineau
a1a5f82b28 fix(coreos-base/coreos-base): Remove directory creation.
This duplicates sys-apps/baselayout so don't bother. Probably left over
from when baselayout wasn't properly installed with the 'build' use flag
to initialize the filesystem tree.
2013-08-22 21:07:18 -04:00
Michael Marineau
a19498b725 fix(coreos-base/coreos-base): Update users and groups.
Remove the following unused users/groups:
 - core-access
 - polkituser
 - pkcs11
 - ipsec
 - tor
 - tcpdump
 - debugd
 - openvpn
 - input

Add groups:
 - docker (new group, for things like access to docker socket)
 - systemd-journal (exists in sdk, not images. for journal log access)
 - dialout (exists in sdk, required by default udev rules)

The core user has access to docker and systemd-journal.
2013-08-22 21:07:07 -04:00
Michael Marineau
37a7bb4932 fix(coreos-base/coreos-base): Remove old ChromeOS files.
The udev rules are required on our system and refer to non-existent
groups causing udev to spew a bit of useless noise on boot.

The profile.d scripts don't do anything at all.
2013-08-22 21:05:46 -04:00
Brandon Philips
97c626a8e7 fix(dev-db/etcd): listen on 0.0.0.0:4001
this fixes a regression where etcd no longer listens on 127.0.0.1 and
the public ip. Fix this up because etcd needs to listen on both for user
convienence and for other cluster members to talk to it.

TODO: Add 127.0.0.1 test to ami test.
2013-08-22 10:06:24 -07:00
Michael Marineau
ea7064cc20 fix(coreos-base/vboot_reference): Update git hash to merge commit. 2013-08-21 18:09:34 -04:00
Michael Marineau
2e1e051281 bump(coreos-base/coreos-intaller): minor code update 2013-08-21 14:09:03 -04:00
Michael Marineau
7e41042745 bump(coreos-base/vboot_reference): cgpt bugfix and features!
cgpt next is fixed and will properly failover now.
cgpt create can actually create (or extend) disk image files.
2013-08-20 21:02:57 -04:00
Michael Marineau
b5c4edc3a7 fix(app-emulation/docker): Re-add inherit systemd, dropped by mistake.
Also add || die to actually catch errors for this sort of thing.
2013-08-20 17:05:48 -04:00
Michael Marineau
5793e6c7f9 fix(dev-db/etcd): Fix command line args for >=0.1 etcd versions.
-h is gone, replaced by -n, -c, and -s
2013-08-19 19:06:27 -04:00
Michael Marineau
e251ff660d fix(dev-db/etcd): Remove -v flag, DEBUG is overly verbose prod hosts. 2013-08-19 18:46:22 -04:00
Michael Marineau
9528517210 Merge pull request #165 from marineam/docker
bump(app-emulation/docker): Update to 0.5.3, cleanup ebuild.
2013-08-19 13:09:19 -07:00
Michael Marineau
f43fef7261 bump(app-emulation/docker): Update to 0.5.3, cleanup ebuild.
Now we use a tarball instead of git and set the correct license. Wow!
2013-08-19 15:09:32 -04:00
Michael Marineau
4461185fce Merge pull request #164 from marineam/etcdctl
Etcdctl
2013-08-19 11:51:39 -07:00
Michael Marineau
79f896292c fix(dev-db/etcdctl): Declare copyright properly, this isn't Gentoo 2013-08-19 14:48:33 -04:00
Michael Marineau
9ca28684dd feat(coreos-base/coreos): Add etcdctl 2013-08-19 14:33:03 -04:00
Michael Marineau
eaf29b98ae add(dev-db/etcdctl): New ebuilds!
Add live ebuild along with 0.1.0 and 0.1.1 releases.
2013-08-19 14:30:22 -04:00
Brandon Philips
5eb5cb496a chore(dev-db/etcd): remove unused env variable in ebuild 2013-08-19 11:28:17 -07:00
Brandon Philips
ebd02c0b19 chore(dev-db/etcd): add a command about the hash source 2013-08-19 11:21:51 -07:00
Brandon Philips
0f71c19ca9 bump(dev-db/etcd): etcd-0.1.1 2013-08-19 10:56:48 -07:00
Brandon Philips
948c15c48d fix(etcd-bootstrap): add -f to delete old etcd info
We are changing stuff pretty rapidly in etcd just start blowing away any
info files we find on disk on an upgrade or start.
2013-08-19 10:56:48 -07:00
Brandon Philips
b539972254 feat(dev-db/etcd): set restart service policy 2013-08-19 10:56:48 -07:00
Brandon Philips
37e06a2c65 fix(app-emulation/docker): restart on crash
docker has been known to crash from time to time in odd situations. Auto
restart docker 1 second after an unexpected exit so that people can go
about their business.

Thanks to dsal & fkautz in #coreos
2013-08-16 15:36:04 -07:00
Michael Marineau
ba1ea07df8 bump(coreos-base/coreos-init): Update code, enables more gettys
Now a getty will be created on every terminal specified by the console=
kernel command line options.
2013-08-16 14:16:54 -04:00
Michael Marineau
17518255d8 bump(coreos-base/coreos-init): tmpfiles update 2013-08-14 12:36:52 -04:00
Brandon Philips
06f12e7668 fix(dev-db/etcd): fixup tmp file handling
instead of having scripts creating and managing directories use
tmpfiles.d do all of that. This will fix c10n not working on the AMI
too.
2013-08-13 15:58:41 -07:00
Michael Marineau
42dc93dc92 fix(coreos-base/oem-ami): Simplify ssh key install
Use the new update-ssh-keys script to make the script a lot simpler. :)
2013-08-12 19:13:40 -04:00
Michael Marineau
14454b0cec fix(coreos-base/oem-vagrant): No need for run.sh for copying ssh key.
Copying authorized_keys is now built in to coreos-init.
2013-08-12 19:05:00 -04:00
Michael Marineau
47b3dd1038 bump(net-misc/gsutil): Update to 3.34
ebuilds originally created and tested in my "misc-overlay"
https://github.com/marineam/misc-overlay
2013-08-12 19:00:18 -04:00
Michael Marineau
d6203b64c1 bump(coreos-base/coreos-init): Replaces oem-services in a generic way.
coreos-detect-virt has moved from oem-service and the oem-service unit
has been replaced by new units that work for both oem and virtfs mounts.
2013-08-11 22:30:21 -04:00
Michael Marineau
bab545f35b bump(coreos-base/coreos-init): Update to latest init code, includes c10n
Biggest diff here: coreos-init has a Makefile that supports the usual
'install' and 'test' targets so no file copying is required now.
coreos-c10n has moved to init from etcd and has its own service now.
This version of init also includes support for automounting virtfs
filesystems under qemu for use with an updated version of c10n but for
now c10n remains unchanged. Optionally unit tests are available too!
2013-08-11 14:43:51 -04:00
Michael Marineau
97c7997850 fix(dev-db/etcd): Remove coreos-c10n, it is moving to coreos-init 2013-08-11 13:55:43 -04:00
Michael Marineau
3e42b6aded fix(sys-kernel/coreos-kernel): Fix virtfs+dbus, add PCI hotplug.
This adds the following patch: (sent upstream, waiting on response)
  "9p: send uevent after adding/removing mount_tag attribute"

Also enable PCI hotplug to take advantage of more qemu fun! Now
adding/removing virtio devices (which are represented as PCI devices)
at runtime via the qemu monitor console works.
2013-08-11 13:00:02 -04:00
Michael Marineau
741c2aa70c feat(coreos-base/coreos-base): Add default vimrc so vim acts like vim.
Because, I mean, really.
2013-08-10 14:46:05 -04:00
Michael Marineau
73b14d27cf feat(sys-kernel/coreos-kernel): Add 9P virtio fs support.
This allows qemu virtual machines to access plain directories on the
host system in addition to the usual disk/filesystem images.
2013-08-08 13:15:00 -04:00
Michael Marineau
7575dfa11a fix(app-emulation/qemu): Remove unused architectures.
We don't have any arm or i386 targets right now so they can go away.
2013-08-08 13:11:14 -04:00
Michael Marineau
59407a0ebe fix(eclass): Remove old linux-info eclass, use upstream instead. 2013-08-06 21:36:01 -04:00
Michael Marineau
e7015a87a5 fix(virtual/linux-sources): Only install coreos-kernel on targets.
We don't have a valid kernel (or use-case to have one) for "cros_host"
(the SDK) so just fake it. Also remove some unused flags.

This change prevents the latest kmod ebuild from pulling in
coreos-kernel, bootengine, and friends into the SDK.
2013-08-06 19:58:18 -04:00
Michael Marineau
37b2e4a2e8 Merge branch 'master' of ssh://github.com/coreos/coreos-overlay 2013-08-06 18:43:50 -04:00
Brandon Philips
498a8af5cf chore(sys-kernel/coreos-kernel): remove EGIT_MASTER
this doesn't make a difference anymore, remove it.
2013-08-06 09:51:02 -07:00
Brandon Philips
d477975252 chore(eclass/git-2): delete
use the portage-stable version
2013-08-06 09:50:43 -07:00
Brandon Philips
1d9e3cca26 fix(eclass/cros-workon): revert EGIT_BRANCH hack
this hack didn't seem to work and with the removal of sync-c in the
manifest make it all a moot point anyways
2013-08-05 17:04:34 -07:00
Brandon Philips
035cb38bce feat(eclass/cros-kernel): add hardware support
add some more hadware support
2013-08-05 17:04:34 -07:00
Brandon Philips
ef35830b07 bump(sys-kernel/coreos-kernel): bump to 3.10.5 2013-08-05 17:04:34 -07:00
Michael Marineau
bf535dc832 fix(profiles): Enable dev-lang/yasm-1.2.0-r1
This version fixes XML errors and python eclass usage.
2013-08-05 18:41:55 -04:00
Michael Marineau
5c0ba24317 fix(coreos-base/coreos-dev): Replace dev-python/argparse with virtual.
argparse is bundled into python-2.7 so dev-python/argparse cannot be
installed. Instead the virtual package should be used to work with any
python version combination.
2013-08-05 15:21:20 -04:00
Michael Marineau
b444a5ec51 fix(profiles): Switch to python2.7 as the one and only version. 2013-08-05 14:21:03 -04:00
Michael Marineau
063d5d2972 bump(dev-lang/python): Update to python 2.7, ebuilds from chromiumos.
They have some patches to fix cross-compiling in this build environment.

Start off simply by adding 2.7 as a new parallel install target, will
switch to 2.7 as the primary version in a later step.
2013-08-04 19:53:40 -04:00
Michael Marineau
bcd2cea31b fix(profiles): Disable systemd use flag for dbus on targets.
This flag enables 'at_console' policy support using logind. I don't
think we actually have a use for that and having it disabled hasn't
caused anything weird that I know of so far so leave it disabled.

Enabling this flag causes a circular dependency between systemd and dbus
which is resolved in catalyst bootstrapped builds like the SDK but for
target builds this is a problem.
2013-08-04 14:46:14 -04:00
Michael Marineau
7878926463 drop(sys-apps/dbus): Moved to portage-stable 2013-08-03 20:25:54 -04:00
Michael Marineau
07632fc185 drop(sys-apps/sysvinit-tools): was only required by dracut < 031
031 includes a shell reimplementation of pidof which is the only tool I
could find that it used from sysvinit.
2013-08-03 20:21:14 -04:00
Michael Marineau
806979675e bump(sys-kernel/dracut): bump to 031 from gentoo
Only local modification is to remove the sysvinit dependency
2013-08-03 20:19:26 -04:00
Michael Marineau
bb47bc354a fix(profiles): Use systemd profile, clean init stuff from other places.
Now the default/linux profile pulls in the systemd-only profile, all
other things systemd/openrc/init references can go away now.
2013-08-03 19:03:31 -04:00
Michael Marineau
a6e4651e25 feat(profiles): Add systemd profile from my Gentoo systemd-only overlay.
No need for me to maintain a similar profile in two entirely different
ways. This is also one tiny step towards cleaning up our profiles in
general. Original here: https://github.com/marineam/systemd-only-overlay

As part of this change the baselayout dependency on openrc is now
handled via a use flag instead of package.provided. We didn't previously
include a virtual/init package but Gentoo has one and I needed it for my
generic systemd-only overlay so might as well include it here if it is
needed in the future.
2013-08-03 18:59:28 -04:00
Alex Polvi
76d81a0f19 feat(oem-service): make etcd bootstrapping optional, and only supported on ec2 for now. This will continue to be refactored. 2013-08-01 19:15:21 -07:00
Brandon Philips
cba48d9b3b Merge pull request #141 from philips/etcd-restrictions
feat(dev-db/etcd): run as etcd user
2013-08-01 13:38:00 -07:00
Michael Marineau
867e664a94 Merge pull request #146 from marineam/vlite
vagrant oem, misc cleanups
2013-08-01 13:34:44 -07:00
Michael Marineau
52dab6e268 fix(coreos-base/oem-ami): Cleanup ebuild, bump to EAPI=5
Generally a good idea to use newer EAPIs that default to failing on
errors. Uses the same S fix as oem-vagrant does.
2013-08-01 16:12:49 -04:00
Brandon Philips
eac9de51bf feat(sys-kernel/coreos-kernel): add netfilter redirect
add this so we can do some 169. magic with etcd
2013-08-01 13:03:55 -07:00
Brandon Philips
0fbecd3a4e bump(sys-kernel/coreos-kernel): to 3.10.4
- bump to the latest stable - 3.10.4
- add some minimal real hardware support
- modify cros-workon to allow EGIT_BRANCH to be set
2013-08-01 11:49:18 -07:00
Michael Marineau
dec3691adc fix(coreos-base/oem-vagrant): Fix compatibility with newer EAPIs
No source directory exists so change the value of S, otherwise the
implied cd $S prior to src_install fails. This isn't an issue in oem-ami
which I was using as reference because it declares EAPI=2 which doesn't
make errors fatal by default.
2013-08-01 11:36:28 -04:00
Michael Marineau
e5f16ba427 add(coreos-base/oem-vagrant): Add OEM package for the vagrant ssh key 2013-07-31 23:53:03 -04:00
Michael Marineau
7cdb04ef14 fix(make.conf): Use absolute path to make.conf.host_setup
The relative path wasn't working with euse correctly. Gotta love
re-implementations of portage config parsing, in perl, with weird bugs.
2013-07-31 15:59:18 -04:00
Michael Marineau
95b3dedcf1 remove(app-emulation/qemu-kvm): Remove ancient qemu version. 2013-07-31 15:23:07 -04:00
Michael Marineau
18e28643ac Merge pull request #143 from marineam/buildbot
Buildhost ebuilds
2013-07-31 09:36:08 -07:00
Michael Marineau
2e37393af5 fix(sys-kernel/coreos-kernel): Add evdev module.
ACPI power buttons are input devices! Without this it isn't possible to
trigger a graceful shutdown via qemu's command 'system_powerdown' or
whatever libvirt and similar APIs that are layered on top of it.

Probably applicable to other things too that we just don't know about.
2013-07-30 21:10:41 -04:00
Michael Marineau
9d975a3dd7 fix(coreos-devel/coreos-buildbot): Update git commit hash
Merged, use fresh new merge hash.
2013-07-30 16:52:26 -04:00
Michael Marineau
5f2f390b9a fix(profiles): Set use flags required by buildhost-depends 2013-07-30 13:41:23 -04:00
Michael Marineau
0c564ebf78 add(coreos-devel/*-depends): Meta ebuilds for buildhost and SDK.
Create a meta-ebuild for the SDK based on the packages currently listed
explicitly in bootstrap_sdk.sh and a buildhost ebuild that expands on
that, adding packages that are required in containers used by build
slave instances.
2013-07-30 13:19:15 -04:00
Michael Marineau
ae43aaf5df add(coreos-devel/coreos-buildbot): Add ebuild for our buildbot tools.
Creating a new category for this, coreos-base is overused and dev-python
didn't seem right for custom infrastructure tools. Going forward I'd
like to put SDK and build host specific stuff in this category when
previously coreos-base would be used. Things that actually land in
images would stick with coreos-base.
2013-07-30 13:02:17 -04:00
Brandon Philips
64350b1aed Merge pull request #140 from philips/drop-unused-package
chore(coreos): remove app-crypt/trousers
2013-07-30 09:24:57 -07:00
Brandon Philips
bf35170ead fix(dev-db/etcd): use mkdir -p in pre-exec
Ensure that we don't fail on the /var/run/etcd directory creation.
2013-07-30 09:04:47 -07:00
Brandon Philips
db2708f2e8 fix(dev-db/etcd): use new state location
have etcd use /var/lib like other daemons do.
2013-07-30 09:03:45 -07:00
Michael Marineau
9d25f8c06c fix(dev-db/etcd): Handle missing ec2 user-data correctly.
Important notice to all using curl: by default a 404 is not an error!

I noticed that instances created without any user data were attempting
to connect to a *lot* of random IP addresses and failing. After
attempting the curl command c10n uses to fetch user data it would seem
we have lots of virtual machines using the following as a secret key:

    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
             "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     <head>
      <title>404 - Not Found</title>
     </head>
     <body>
      <h1>404 - Not Found</h1>
     </body>
    </html>

ᕙ(⇀‸↼‶)ᕗ

The --fail option is required for curl to behave responsibly.
2013-07-30 11:44:46 -04:00
Brandon Philips
5bd666247c feat(dev-db/etcd): run as etcd user
thie patch does a few things

1) Add the etcd user and run etcd as that user

2) Add the /var/lib/etcd directory and have it owned by the etcd user

3) Move /media/state/etcd/* files into /var/lib/etcd/ and chown them to
   etcd

Test-plan: Build an AMI and ensure this all works with the
bootstrapping.
2013-07-29 23:09:14 -07:00
Brandon Philips
ea25c209af chore(coreos): remove app-crypt/trousers
It will be awhile before CoreOS runs on something with a working TPM.
Remove this.
2013-07-29 21:39:53 -07:00
Brandon Philips
033a385685 chore(coreos-base/coreos-base): remove unused groups/users
we have a few unused groups and users. Reserve the UIDs but just don't
have them in the DB until we need them.
2013-07-29 21:33:04 -07:00
Brandon Philips
c3444a8ad5 Merge pull request #138 from doodles526/certs
added commit for our certs
2013-07-29 14:05:46 -07:00
Josh Deare
9df7791b42 added commit for our certs 2013-07-29 11:47:18 -07:00
Michael Marineau
3d7b6336fb fix(coreos-base/coreos-init): Fix invalid git hash.
Merge gone wrong with a rebase maybe? Dunno but should build now. :)
2013-07-29 14:36:26 -04:00
Brandon Philips
b48f95c3db Merge pull request #135 from philips/add-local.target
fix(init): move a few things around
2013-07-29 10:15:36 -07:00
Brandon Philips
da254bcd45 fix(init): move a few things around
1) Make default.target be multi-user.target instead of the default,
   graphical.target

2) Move daemons out of coreos-startup and just have them wantedby
   default.target

3) Have update-engine not rely on coreos-startup and add itself to
   default.target.wants

4) Grab the new init code that does the above

5) Add the local-enable.service which will add /media/state/units to
   /run/systemd/system and start local.target
2013-07-28 22:59:08 -07:00
Michael Marineau
c8b83b06c8 bump(dev-db/etcd): Fix revision number, we wend backwards by mistake. 2013-07-28 17:41:29 -04:00
Michael Marineau
6f7ec78b85 fix(coreos-base/coreos-base): Include default nsswitch.conf
Until we start installing glibc like sane people we need to include this
via other means. Without it name resolution behavior is somewhat surprising.
2013-07-27 13:20:13 -04:00
Michael Marineau
9effa608cd bump(coreos-base/cros-devutils+gmerge): Update to latest code 2013-07-26 22:49:05 -04:00
Michael Marineau
7ed8357499 bump(dev-db/etcd): Grab latest build fixes 2013-07-26 21:14:55 -04:00
Michael Marineau
7696459498 fix(profiles): Enable lbzip2 for both SDK and targets, move to profiles
It has been long enough since adding lbzip2 to the system set, time to
put it to work for all our binary package needs!
2013-07-26 19:12:31 -04:00
Brandon Philips
2e0a3d9a2e bump(coreos-init): create /srv and /opt 2013-07-26 11:28:43 -07:00
Brandon Philips
aa944b9be2 fix(coreos-installer): get dev image location fix 2013-07-26 11:09:51 -07:00
Brandon Philips
8bb371377f fix(coreos-base): move images/dev to overlays/usr/local 2013-07-26 10:49:19 -07:00
Brandon Philips
3970d28b5a fix(*): move /home/core/user to /home/core 2013-07-26 10:38:33 -07:00
Brandon Philips
589a10d8d5 fix(coreos-base/*): move /mnt/stateful_partition around
This bumps all of the ebuilds to use the new /media/state code.
2013-07-26 08:56:08 -07:00
Brandon Philips
cb3e04d55b fix(*): use new stateful_partition location
moving /mnt/stateful_partition to /media/state
2013-07-26 08:30:22 -07:00
Brandon Philips
b585ebc2d6 chore(net-misc/strongswan): remove, we don't use it right now
remove strongswan, we aren't using it right now.
2013-07-26 06:42:56 -07:00
polvi
e3b4bbb8c7 Merge pull request #125 from polvi/docker-start
re-add docker starting by default
2013-07-25 15:28:54 -07:00
Alex Polvi
20dc12868f add symlink 2013-07-25 15:24:05 -07:00
Michael Marineau
7006b267c2 fix(coreos-base/coreos-base): Disable sudo password for core user.
Considering access to production systems will be by ssh keys, not some
developer password, the user doesn't have a password to give sudo.
2013-07-25 15:45:48 -04:00
Michael Marineau
8f733efe2f fix(profiles): Disable zeroconf use flag globally. 2013-07-25 15:30:44 -04:00
Alex Polvi
8affc38775 re-add docker starting by default 2013-07-25 12:28:53 -07:00
Michael Marineau
211c947145 fix(sys-kernel/coreos-kernel): Enable virtio block device support.
Enable virtual block devices to support qemu drives configured with
if=virtio instead of the default emulated hardware interface. While I'm
at it throw in the virtio scsi module just in case a need for fancier
devices comes along at some point.
2013-07-25 14:08:12 -04:00
polvi
6847a2e1bf Merge pull request #122 from philips/oem-ami-round2
Oem ami round2
2013-07-25 10:34:45 -07:00
Brandon Philips
6deddda025 Merge pull request #117 from philips/use-lsb-coreos
chore(*): use COREOS lsb-release variables
2013-07-25 10:23:21 -07:00
Alex Polvi
e073045707 Merge branch 'master' of https://github.com/coreos/coreos-overlay into oem-ami
Conflicts:
	coreos-base/coreos/coreos-0.0.1-r196.ebuild
	coreos-base/coreos/coreos-0.0.1-r199.ebuild
	coreos-base/coreos/coreos-0.0.1-r200.ebuild
	coreos-base/coreos/coreos-0.0.1.ebuild
	coreos-base/oem-ami/files/install-ec2-key.sh
2013-07-25 10:11:34 -07:00
Alex Polvi
3d4a8899e5 feat(coreos-base/oem-ami): add packages to make amis work 2013-07-25 10:11:16 -07:00
Brandon Philips
fa976e84fd chore(*): use COREOS lsb-release variables
update these ebuilds to use the COREOS lsb-release variables

coreos-installer/coreos-installer
cros-devutils/cros-devutils
gmerge/gmerge
update_engine/update_engine
vboot_reference/vboot_reference
2013-07-24 19:14:25 -07:00
Brandon Philips
58bef67e6e Merge pull request #118 from marineam/fixinst
fix(sys-kernel/bootengne): Include missing dependency, code update.
2013-07-24 18:57:04 -07:00
Michael Marineau
22ebaa50f8 fix(sys-kernel/bootengne): Include missing dependency, code update.
The module install wasn't noticing the missing dep, should be good now.
2013-07-24 19:23:40 -04:00
Brandon Philips
9421147994 chore(*): use COREOS lsb-release variables
use the COREOS_ variables in /etc/lsb-release
2013-07-24 15:44:24 -07:00
Brandon Philips
2c6d7df403 feat(sys-libs/ncurses): initial import
import and add -256color variants of terminals.
2013-07-23 23:58:54 -07:00
Brandon Philips
a148ec392d Revert "feat(profiles): unmask udev/systemd/etc"
This reverts commit bc7026fd10d82b8184b6b7d35759bcfecbc5c666.
2013-07-23 10:18:27 -07:00
Greg Kroah-Hartman
e1484f3ad0 Merge pull request #114 from marineam/update-bootengine
Update bootengine
2013-07-23 10:15:06 -07:00
Brandon Philips
9b2cdc7675 feat(profiles): unmask udev/systemd/etc 2013-07-23 10:03:35 -07:00
Michael Marineau
4e6d93cff3 fix(sys-kernel/bootengine): Use new update-bootengine script in postinst
All the nasties have been polished and hidden away in a new script.
2013-07-23 03:01:44 -04:00
Michael Marineau
30e47c03fd fix(sys-kernel/bootengine): Add all dependencies required by postinst
When building on a fresh board root it is easy for bootengine to die a
silent but horrible death because it was installed before one of the
tools it uses to create or includes in the initird. To avoid this use a
very complete dependency list for both DEPEND and RDEPEND.
2013-07-23 02:41:49 -04:00
Michael Marineau
9e31324af1 fix(profiles): Everyting assumes lib symlinks to lib64, make it so. 2013-07-22 21:42:57 -04:00
Brandon Philips
d933790b6f bump(coreos-base/coreos-init): get the removal of noexec
remove noexec on oem. via 1f2cd73df612360c8c1910f6e9ca7bd3732c2dec
2013-07-22 17:52:28 -07:00
Brandon Philips
c46fd7ab05 fix(sys-kernel/bootengine): remove recursive from all the things
we don't need recursive mounts on any of this. remove it.
2013-07-22 16:16:34 -07:00
Brandon Philips
59394db940 fix(sys-kernel/bootengine): don't mount dev recursive
fixes problems with /dev/pts being busy
2013-07-22 16:06:55 -07:00
Michael Marineau
3d81c85899 fix(sys-kernel/coreos-kernel): Disable outoftree for patched versions.
Missed this in 59d86fde1c2fa477b91f76d29ea1da145ca6f618, we don't want
to patch shared source trees and doing so causes a sandbox violation. So
disable CROS_WORKON_OUTOFTREE_BUILD for versions with the no-firmware
patch.
2013-07-22 13:37:01 -04:00
Michael Marineau
48a4fc0076 fix(sys-kernel/coreos-kernel): Rename origin to github in the README.
When cloned by repo sync the origin remote is named github.
2013-07-22 13:00:07 -04:00
Michael Marineau
f97c31eee9 fix(sys-kernel/coreos-kernel): Set correct local workon directory.
The kernel source is now in the manifest and checked out to
src/third_party/linux
2013-07-22 12:57:26 -04:00
Michael Marineau
53c5b70b5a fix(sys-kernel/bootengine): All commands in postinst should be fatal.
If /dev fails to mount we better not continue, that's a sure fire way to
wind up with a directory named dev/null.
2013-07-22 12:17:22 -04:00
Brandon Philips
377b18bc86 bump(cros-devutils): bump to the latest 2013-07-21 22:47:08 -07:00
Brandon Philips
4b17e7939e bump(coreos-base/update_engine): get compile fix 2013-07-21 21:21:49 -07:00
Brandon Philips
6ef3166d86 bump(sys-kernel/bootengine): bump to latest
add fixes around PARTUUID
2013-07-21 21:17:41 -07:00
Brandon Philips
148b7d6ca1 fix(sys-kernel/bootengine): no fscks!
we don't want to have fscks in dracut for two reasons:

1) Root is readonly on coreos
2) it bloats and slows down the boot
2013-07-21 21:14:47 -07:00
Brandon Philips
ef51bb7872 fix(eclass/cros-kernel2): remove size restriction
we don't care about the size of the kernel. Just remove this check.
2013-07-21 18:00:14 -07:00
Brandon Philips
da4ad5388c feat(sys-kernel/coreos-kernel): use bootengine
move the bootengine to coreos-kernel and delete the boot kernel config.
2013-07-21 15:50:55 -07:00
Brandon Philips
d9d2341cff fix(bootengine): don't use host-only on dracut
host-only means that we don't include all of the modules that the kernel
provides. Only the ones that are needed for this machine. This won't
work since we rely on all of the modules since we don't have the
bootkernel anymore.
2013-07-21 15:46:09 -07:00
Brandon Philips
d97258917e feat(bootkernel): merge into regular kernel
This merges the bootkernel into the coreos-kernel. The reason we are
doing this is because on Xen, today, we don't have kexec so we need to
have a full kernel in this case.

This also updates bootengine so that it has the new logic to handle a
non-working kexec.
2013-07-20 16:56:21 -07:00
Greg Kroah-Hartman
d4c3563e2b fix(coreos-base/bootengine) bump to latest git and fix umount to be recursive
Also make mkdir be "nice" if the directory is already there and not spit
out a warning message.
2013-07-18 23:13:40 -07:00
Greg Kroah-Hartman
8ee7ad6562 fix(package.mask) properly mask the kexec-tools-2.0.99 ebuild 2013-07-18 17:11:28 -07:00
Greg Kroah-Hartman
edc0af9e91 fix(sys-apps/kexec-tools) remove 2.0.99 ebuild
The "normal" kexec ebuild works properly, so the 2.0.99 ebuild can be
removed, and masked away.
2013-07-18 16:45:05 -07:00
Greg Kroah-Hartman
1fbd6764c5 fix(sys-kernel/coreos-bootkernel) bump the ebuild due to the .config change 2013-07-18 14:45:15 -07:00
Greg Kroah-Hartman
ae68006795 fix(sys-kernel/cros-bootkernel) make bootkernel support being a virtualized guest image 2013-07-18 14:32:37 -07:00
Brandon Philips
6be50af767 fix(bootengine): die if we have problems with the cpio 2013-07-18 13:56:27 -07:00
Greg Kroah-Hartman
13b462927b fix(sys-kernel/dracut) add Manifest file 2013-07-18 11:08:37 -07:00
Brandon Philips
b8c19881ae Merge pull request #83 from polvi/add-oem
feat(coreos-base/oem): add the initial oem partition support
2013-07-18 10:48:14 -07:00
polvi
65d3557671 Delete oem.service 2013-07-18 10:46:49 -07:00
Brandon Philips
c83a2477b5 Merge pull request #94 from gregkh/kexec
fix(sys-apps/kexec-tools) provide ebuild for binary version of kexec
2013-07-18 10:44:29 -07:00
Greg Kroah-Hartman
b50f0116a7 fix(sys-apps/kexec-tools) fix Manifest to handle kexec binary properly 2013-07-18 10:01:18 -07:00
Michael Marineau
9950ad707d fix(coreos-base/coreos): Drop criu from images for now.
Hitting a weird compile error, will sort out another time.
2013-07-18 09:01:15 -07:00
Greg Kroah-Hartman
d8d155bc1a fix(sys-apps/kexec-tools) provide ebuild for binary version of kexec 2013-07-17 23:15:16 -07:00
Greg Kroah-Hartman
04552ce872 feat(coreos-base/bootengine) pick up new bootengine changes 2013-07-17 18:59:25 -07:00
Greg Kroah-Hartman
634b611bb2 feat(eclass/cros-kernel2.eclass) provide stable symlink for cros-bootkernel 2013-07-17 18:22:06 -07:00
Greg Kroah-Hartman
02554d0e5b Merge pull request #91 from philips/cleanup-boards
fix(eclass/cros-board): remove all the boards
2013-07-17 18:09:19 -07:00
Brandon Philips
c27c77afeb fix(eclass/cros-board): remove all the boards
remove all of the unused boards.

bye mario, itsa not you.
2013-07-17 17:31:23 -07:00
Michael Marineau
991f2cd585 Merge pull request #90 from marineam/sysroot
fix(profiles): Add sysroot-wrappers to PATH
2013-07-17 17:12:40 -07:00
Greg Kroah-Hartman
c3d7ab1d4a Merge pull request #89 from gregkh/boot_kernel_update
fix(coreos-base/bootengine) update 9999 ebuild so that cros_workon works
2013-07-17 16:53:25 -07:00
Michael Marineau
df066d6ee0 fix(profiles): Add sysroot-wrappers to PATH
We need to add sysroot-wrappers to PATH in portage itself because
commands like "sudo emerge ..." reset PATH to a fairly bland default.
emerge has similar logic for ccache and distcc internally.
2013-07-17 19:44:08 -04:00
Greg Kroah-Hartman
166c60e49f fix(coreos-base/bootengine) update 9999 ebuild so that cros_workon works
This was broken due to the changes in the "stable" bootengine package
and I forgot to update this version as well, sorry.
2013-07-17 16:27:36 -07:00
Michael Marineau
591750a1b6 fix(coreos-base/hard-host-depends): Include sysroot-wrappers in SDK 2013-07-17 19:19:02 -04:00
Michael Marineau
4b12aba4bd fix(sys-apps/bootcache): Fix building with GCC 4.6
Swap -fstack-protector-strong for -fstack-protector-all
2013-07-17 19:19:02 -04:00
Michael Marineau
3b4e8c55c5 fix(coreos-base/update_engine): Fix building with sysroot-wrappers
Tell the scons build to pass the PATH environment variable through.
2013-07-17 19:19:02 -04:00
Michael Marineau
e8b1ef8bc2 fix(coreos-base/libchromeos): Fix building with sysroot-wrappers
Tell the scons build to pass the PATH environment variable through.
2013-07-17 19:19:02 -04:00
Michael Marineau
0ff9fe09d6 fix(coreos-base/libchrome): Fix building with sysroot-wrappers
Tell the scons build to pass the PATH environment variable through.
2013-07-17 19:19:02 -04:00
Michael Marineau
d9cdb511a3 fix(coreos-base/cros_boot_mode): Fix building with GCC 4.6
Swap -fstack-protector-strong for -fstack-protector-all
2013-07-17 19:18:49 -04:00
Brandon Philips
0d4311f53c Merge pull request #87 from gregkh/boot_kernel_update
fix(coreos-base) properly bump the ebuild numbers for bootengine and cor...
2013-07-17 15:32:34 -07:00
Greg Kroah-Hartman
85a4cdca25 fix(coreos-base) properly bump the ebuild numbers for bootengine and coreos 2013-07-17 15:29:18 -07:00
Brandon Philips
4e3bfba646 Merge pull request #86 from gregkh/boot_kernel_update
feat(coreos) add bootkernel to build
2013-07-17 15:27:06 -07:00
Brandon Philips
549d174c86 fix(virtual/linux-sources): fixup metadata 2013-07-17 15:25:22 -07:00
Greg Kroah-Hartman
c5972b264a feat(coreos) add bootkernel to build
This adds the bootkernel to the full system build and moves the
kexec-tools dependancy to the bootengine ebuild, where it belongs.
2013-07-17 15:24:59 -07:00
Brandon Philips
06d86fc220 Merge pull request #75 from philips/fixup-installer
Fixup installer
2013-07-17 15:11:50 -07:00
Brandon Philips
d028bc8177 Merge pull request #85 from philips/remove-key-from-default-build
fix(coreos-base/update_engine): remove the au-key
2013-07-17 15:10:48 -07:00
Brandon Philips
6ebf8e9d34 fix(coreos-base/update_engine): remove the au-key
Update engine, rightfully, expects that if there is an au-key then it
should use it. This is a sound theory and we insert the key when we sign
anyways so remove this key for now.
2013-07-17 15:04:25 -07:00
Greg Kroah-Hartman
596a5da223 feat(coreos-base/bootengine) properly build the cpio image with out breaking /dev
This fixes the "create /dev/null" bug and builds the cpio image
successfully that the boot kernel needs to install.
2013-07-17 14:42:31 -07:00
Greg Kroah-Hartman
5c9f444955 feat(sys-kernel/dracut) update to 029 version
The --host-only option is needed, as well as the other fixes in this
release.
2013-07-17 14:37:49 -07:00
Greg Kroah-Hartman
c95781c71b Merge pull request #80 from gregkh/boot_kernel_update
feat(sys-kernel/coreos-bootkernel) bump version and add initrd to built ...
2013-07-17 14:30:45 -07:00
Alex Polvi
3cd7f13223 feat(coreos-base/oem): add the initial oem partition support
this (great looking) code adds the oem partition and supporting scripts
and services. AMI is the first target use case.
2013-07-17 13:46:40 -07:00
Brandon Philips
8225c3673e bump(update_engine): use coreos-setnextroot 2013-07-17 13:05:07 -07:00
Brandon Philips
e0ca2d2e6c bump(coreos-installer): get the lastest version
this introduces the new coreos-setgoodroot code
2013-07-17 13:05:07 -07:00
Brandon Philips
8c45cb7fee chore(coreos-installer): use the symlink style versioning 2013-07-17 13:05:07 -07:00
Brandon Philips
587d4c1a99 fix(coreos-installer): fixup deps in -9999 ebuild
the verity package moved to coreos. Fix.
2013-07-17 13:05:07 -07:00
Brandon Philips
24e767d538 feat(coreos-installer): install coreos- prefixed commands 2013-07-17 13:05:07 -07:00
Brandon Philips
146f6f917a chore(coreos-installer): fixup the header details 2013-07-17 13:05:07 -07:00
Michael Marineau
34a5dbaba3 add(sys-devel/sysroot-wrappers): Add new sysroot-wrappers tool.
This replaces the previous sysroot wrapper scripts that was bundled with
the Google toolchain. This one is implemented in a more generic manner
and based on ccache. Perhaps other custom wrapper scripts will
eventually move into this package as well.
2013-07-17 12:04:24 -07:00
Brandon Philips
6168ebb2e5 fix(vboot_reference): mask vboot-9999
bad mistake unmasking this. Reset the mask.
2013-07-17 11:35:35 -07:00
Brandon Philips
fc19d7bd39 feat(coreos-base/vboot_reference): bump to get cgpt next
bump to get the cgpt next utility
2013-07-17 10:58:03 -07:00
Brandon Philips
2bc148c26e chore(vboot_reference): strip out a lot of unneeded logic
we essentially only use vboot_reference for cgpt right now. Strip
everything else out.
2013-07-17 10:57:26 -07:00
Greg Kroah-Hartman
6f26999e06 feat(sys-kernel/coreos-bootkernel) fix up the cpio file location
This lets us rely on the kernel configuration, and not have to edit it
"by hand" with the location of the cpio file, as the cpio initrd is now
placed within the kernel output directory, where the build system picks
it up automatically.
2013-07-16 22:19:34 -07:00
Greg Kroah-Hartman
5b7a8be5e4 feat(sys-kernel/coreos-bootkernel) bump version and add initrd to built kernel image 2013-07-16 21:06:20 -07:00
Brandon Philips
3659846705 fix(coreos-base/bootengine): don't hardcode ${ROOT}
use the ${ROOT} variable instead of hard coding our own right here.
2013-07-16 13:36:02 -07:00
Brandon Philips
5365827939 fix(coreos-base/bootengine): change to build single image
don't build an image for every boot kernel, just build a single
uncompressed image and put it in /usr/share/bootengine/bootengine.cpio.
2013-07-16 12:28:44 -07:00
Brandon Philips
b634753f4c hack(coreos-base/bootengine): use chroot
dracut doesn't seem to have the ability to use a different root. Force
for now.
2013-07-16 11:15:51 -07:00
Brandon Philips
c33c7a422d feat(coreos-base/bootengine): build the initrds 2013-07-16 10:47:00 -07:00
Brandon Philips
915515ff14 feat(coreos-base/bootengine): initial commit 2013-07-16 10:28:16 -07:00
Greg Kroah-Hartman
2bab514df8 feat(sys-kernel/coreos-kernel) delete 3.10.0 ebuild 2013-07-15 17:17:32 -07:00
Greg Kroah-Hartman
f105575ec3 feat(sys-kernel/coreos-kernel) bump to 3.10.1 2013-07-15 16:30:45 -07:00
Michael Marineau
2060c2e161 fix(profiles): Add xz-utils to the system package set.
It is included in system in upstream Gentoo so we should too, otherwise
there is a chance builds will fail if xz isn't installed early enough.
2013-07-14 13:13:06 -04:00
Michael Marineau
f731726aff clean(binhost): All references to these files have been removed. 2013-07-13 21:12:47 -04:00
Michael Marineau
481f9f7901 fix(config): Include binary packages from current SDK version.
Currently building new releases can fail during the 'update_chroot' step
because the release it is building doesn't have any binary packages yet.
To avoid this add the current built SDK version as a second source for
chroot binary packages.
2013-07-13 20:55:28 -04:00
Greg Kroah-Hartman
f639711cdd feat(net-misc/curl) remove as portage-stable has newer version 2013-07-11 22:27:24 -07:00
Greg Kroah-Hartman
b04112adcd feat(net-libs/neon) remove as portage-stable has newer versions 2013-07-11 22:27:05 -07:00
Greg Kroah-Hartman
519a0e0512 feat(net-firewall/iptables) remove as portage-stable has newer version 2013-07-11 22:26:41 -07:00
Greg Kroah-Hartman
8087daaa3e feat(sys-apps/pv) remove as portage-stable has newer version 2013-07-11 22:26:21 -07:00
Greg Kroah-Hartman
e130f9eea7 feat(media-libs/libpng) remove as portage-stable has new version 2013-07-11 22:25:54 -07:00
Greg Kroah-Hartman
881cc03569 feat(sys-fs/udev) remove package as portage-stable has newer version 2013-07-11 22:25:17 -07:00
Greg Kroah-Hartman
07066716ba feat(dev-libs/protobuf) remove as newer versions are in portage-stable 2013-07-11 21:42:43 -07:00
Greg Kroah-Hartman
b0e075a09a feat(dev-libs/libffi) remove as newer versions are in portage-stable 2013-07-11 21:42:18 -07:00
Greg Kroah-Hartman
a89d45253d feat(dev-libs/libusb) remove as portage-stable has newer versions 2013-07-11 21:41:14 -07:00
Greg Kroah-Hartman
52b4d3e02c feat(dev-python/pygobject) remove as portage-stable has newer versions 2013-07-11 21:40:23 -07:00
Greg Kroah-Hartman
5d960bbbc4 feat(app-editors/vim) remove package as portage-stable has newer versions 2013-07-11 21:38:26 -07:00
Greg Kroah-Hartman
7af9d70a2c feat(dev-vcs/subversion) remove packages as portage-stable has newer versions 2013-07-11 21:37:20 -07:00
Greg Kroah-Hartman
8a6295db5e feat(dev-vcs/git) remove, as portage-stable has a newer version 2013-07-11 21:36:35 -07:00
Michael Marineau
54dd7da6fe fix(coreos-base/verity): Fix use of gcc flag not available in 4.6
Verity uses -fstack-protector-strong which was added in 4.7, use -all
instead which is available in 4.6. Dunno what impact this has but we
don't actually use it yet so *shrug*. Only a temporary fix since we
would probably want to fork verity if we use it or drop support entirely
if we decide we never will.
2013-07-11 10:55:35 -07:00
Greg Kroah-Hartman
5e3df11447 Merge pull request #69 from marineam/eclass-fixes
fix(app-editors/qemacs): Fix malformed patch.
2013-07-11 09:42:47 -07:00
Greg Kroah-Hartman
3bce59c522 Merge pull request #68 from gregkh/remove_deps
Remove some sys-apps/ ebuilds that are not needed.
2013-07-11 09:41:23 -07:00
Michael Marineau
326e9bb802 fix(app-editors/qemacs): Fix malformed patch.
This patch uses relative paths that are rejected by newer and stricter
eclass versions. Pulled from current portage but I'm purposefully *not*
updating the ebuild as the latest texi2html which in turn pulls in a lot
of new perl dependencies and we don't even care about texi2html or the
html docs it is used to produce in the first place so bleh.
2013-07-11 08:51:36 -07:00
Greg Kroah-Hartman
9edddf13ed feat(sys-apps/debianutils) delete
The ebuilds in portage-stable are newer, if we are even still using this
package (I wasn't able to tell for some odd reason...)
2013-07-10 23:14:29 -07:00
Greg Kroah-Hartman
b6cf6aa395 feat(sys-apps/module-init-tools) delete
We are using kmod instead, so just delete module-init-tools entirely,
it's not needed.
2013-07-10 23:13:29 -07:00
Greg Kroah-Hartman
d60806c465 feat(sys-apps/shadow) delete ebuilds
We are using the newer one in portage-overlay, these are here for no
reason, so delete them.
2013-07-10 23:12:54 -07:00
Greg Kroah-Hartman
35a6c85f5b feat(sys-apps/baselayout) remove old baselayout ebuild
It wasn't being used, portage-stable was more up to date anyway.
2013-07-10 22:47:36 -07:00
Greg Kroah-Hartman
dbca7fb617 feat(sys-apps/baselayout) CoreOS deserves it's own etc/os-release
Also modifies /etc/gentoo-release because python hasn't been updated to
use os-release, it still wants the old distro-specific files.
2013-07-10 22:45:43 -07:00
Brandon Philips
b293cd63d6 feat(dev-db): coordinate with the c10n service
this is an experiment to coordinate etcd with c10n.
2013-07-10 17:39:22 -07:00
Michael Marineau
3b2c247612 Merge pull request #64 from marineam/toolchain
clean(toolchain): Remove overlay toolchain, moved to portage-stable
2013-07-10 17:21:14 -07:00
Michael Marineau
0ec409f7ec Merge pull request #63 from marineam/ourpkgs
fix(config): Remove URL for old Google toolchain packages.
2013-07-10 16:50:22 -07:00
Michael Marineau
e3ff01d7a3 fix(config): Remove URL for old Google toolchain packages.
As of v9.1.0 we have our own binary toolchain packages so this is no
longer needed.
2013-07-10 16:23:27 -07:00
Brandon Philips
f2640f0d8f feat(dev-db/etcd): add new raft based etcd 2013-07-10 16:07:08 -07:00
Michael Marineau
32b17f5039 clean(toolchain): Remove overlay toolchain, moved to portage-stable
We have to actually remove these as opposed to ~keywording them because
crossdev will always use packages from overlays if they exist.

This won't actually impact anyone's SDK just yet as update_chroot will
only use binary packages for the toolchains. It will keep checking for
updates but not do anything until those updates are available from the
binhost. So the next release will switch to the new toolchain.
2013-07-10 15:13:01 -04:00
Brandon Philips
08bb509fe5 fix(coreos-base/core-admin): bump to latest
fixes the URL path for /admin
2013-07-09 15:13:32 -07:00
Brandon Philips
35e037708c Merge pull request #61 from philips/bump-update-engine
bump(coreos-base/update_engine): grab the bootid
2013-07-09 13:47:27 -07:00
Brandon Philips
b8781eebaf bump(coreos-base/update_engine): grab the bootid 2013-07-09 13:46:46 -07:00
Michael Marineau
39843ab8be fix(profiles): Move the mirror list from make.conf to profiles.
Another piece of migrating as much as possible into our profiles, this
should fix a current error blocking bootstrap_sdk builds.
2013-07-09 10:38:30 -07:00
Michael Marineau
77fb08aa5e bump(coreos-base/update_engine): Update stable release to latest code
The stable ebuild hasn't been bumped to include quote a lot of recent
work yet so lets do that. :)
2013-07-09 01:49:00 -04:00
Michael Marineau
8d95c0cd31 bump(coreos-base/cros-devutils): update to latest code
This pulls in recent changes to cros_generate_update_payload
2013-07-08 22:16:03 -07:00
Michael Marineau
e155f11fb2 fix(cros-workon.eclass): Add support for projects in src/platform
We no longer have any correlation between ebuild category and whether
the local checkout can be found in src/platform or src/third_party.
Instead provide a new variable to manually specify which it should be.
As-is it isn't possible to build local changes in src/platform trees.
2013-07-08 22:04:14 -07:00
Brandon Philips
12acedc881 Merge pull request #58 from philips/remove-all-x11
chore(x11-*): remove all x11 packages
2013-07-08 12:07:23 -07:00
Brandon Philips
51042194d2 Merge pull request #55 from philips/pair-down-ebuilds
Pair down ebuilds
2013-07-08 12:07:07 -07:00
Brandon Philips
bd9e8ec324 fix(coreos-base/vboot_reference): use github.com/coreos
Make this ebuild use the coreos github projects not Google's
2013-07-07 22:48:38 -07:00
Brandon Philips
83d598dc8f chorse(coreos-base/hard-host-depends): remove m17n
remove m17n means that we no longer depend on x11 in the sdk.
2013-07-07 22:41:35 -07:00
Brandon Philips
6a8f10845d chore(x11-*): remove all x11 packages
we don't need x11 anymore after remove crosh. Dump all of these ebuilds.
2013-07-07 22:12:57 -07:00
Brandon Philips
507915a9f5 bump(coreos-base/vboot_reference): bump to get coreos guids
CoreOS has its own GPT guids now. Use them.
2013-07-07 21:28:48 -07:00
Brandon Philips
04c28bb122 fix(coreos-base/vboot_reference): put into bumpable format
use the symlink trick to make this ebuild bumpable
2013-07-07 21:26:24 -07:00
Brandon Philips
37c5dea19f fix(coreos-base/coreos): remove crosh
crosh isn't really needed for coreos and particularly we don't need the
dependency on x11. Kill it!
2013-07-07 21:13:49 -07:00
Brandon Philips
126b50b99e chore(x11-drivers): remove unneeded ebuilds 2013-07-07 18:55:58 -07:00
Brandon Philips
e43a016307 chore(dev-embedded): remove uneeded ebuilds 2013-07-07 18:55:58 -07:00
Brandon Philips
a26b37e306 chore(dev-java/icedtea6-bin): remove 2013-07-07 18:55:58 -07:00
Brandon Philips
745715959d chore(net-wireless/*): remove everything
Lets not worry about having coreos support wireless for now :)
2013-07-07 18:55:58 -07:00
Brandon Philips
bfdc8d5058 chore(coreos-base): remove unused ebuilds
Remove leftover things from chromeos
2013-07-07 18:49:51 -07:00
Michael Marineau
4bf1f47d2b feat(profiles): Add lbzip2 to base system package set
lbzip2 is surprisingly fast and is particularly useful for dealing with
large archives and filesystem images. In a similar vein pbzip2 has been
used for handling binary packages for a while but lbzip2 seems a bit
better. Since I plan on using the heck out of lbzip2 add it to the build
and system package sets. While mucking around might as well start
swapping pbzip2 for lbzip2 for consistency's sake although it doesn't
seem to matter much for binary packages. For now we can only switch
make.conf for targets, the host make.conf can't change till everyone's
SDK has lbzip2 installed.
2013-07-06 00:04:24 -04:00
Brandon Philips
4301a804c7 feat(update_engine): add reboot manager experiment
Eventually this will talk to the API and coordinate with the rest of the
host group but for now lets right a bash script and reboot in 60
seconds.
2013-07-05 16:08:54 -07:00
Brandon Philips
bf144a7eed fix(coreos-au-key): copy the public key explicitly
The public key wasn't getting put in the right spot. Copy it explicitly
to fix.
2013-07-05 14:11:49 -07:00
Michael Marineau
1193f7d12e Merge pull request #52 from marineam/packages
fix(config): Use official release packages for targets.
2013-07-05 12:43:24 -07:00
Michael Marineau
0557445d0c Merge pull request #51 from marineam/bindist
fix(profiles): Apply the bindist flag to both the SDK and targets
2013-07-05 12:43:00 -07:00
Michael Marineau
c64903dda1 fix(config): Use official release packages for targets.
We now build target packages!
2013-07-05 15:32:11 -04:00
Michael Marineau
7af661170d fix(profiles): Apply the bindist flag to both the SDK and targets
Previously only targets were being built with bindist but we should
build the SDK with it as well. This avoids the re-compile of openssl,
openssh, and freetype when creating a new chroot since the SDK tarballs
are already built with the bindist flag. Also turn the bindist flag back
on for freetype in the target profile, we don't need ClearType sub-pixel
rendering on our systems. :)
2013-07-05 15:17:32 -04:00
Brandon Philips
bf8ce573cd feat(coreos-au-key): add an ebuild to put dev keys on image
This places a dev signing key on disk for testing purposes. As noted in
the ebuild a production key will replace this key when building official
images.
2013-07-05 11:52:38 -07:00
Brandon Philips
ce476ecc6c feat(update_engine): restart a second after death
It is possible that update_engine will crash. Try to recover by
restarting the update_engine but wait some seconds first.
2013-07-03 15:12:30 -07:00
Brandon Philips
3efa5def15 chore(coreos-init): mv update-engine.service into update_engine ebuild
move the service file to the ebuild where it belongs.
2013-07-03 15:12:30 -07:00
Michael Marineau
d344cf783d fix(cros_sdk): Update default SDK tarball version.
Update to latest release. cros_sdk is still using this file instead of
version.txt in the manifest because it needs a tarball that already
exists when building a new version for the first time. At some point
that will work differently but for now we'll have to keep this file.
2013-07-03 16:11:01 -04:00
Michael Marineau
2c46f36489 fix(config): Update the SDK make.conf to refer to the current version.
This means that we will always get the correct set of binary packages
for our current manifest version.
2013-07-03 15:52:55 -04:00
Michael Marineau
a09f4ee92f fix(config): Move USE_PYTHON into profiles.
Unlikely this is actually needed right now but it isn't hurting either.
Will remove it once we move to Python 2.7.
2013-07-03 15:37:15 -04:00
Michael Marineau
7018c2d527 fix(config): Remove make.conf options that duplicate profile defaults.
We were already using the default for CFLAGS, etc. LDFLAGS had
--as-needed but that has gone into the default Gentoo profile so we
ought to move it there as well. Also, ld's -O1 and -O2 are equivalent so
use the profile default -O1.
2013-07-03 15:20:16 -04:00
Michael Marineau
4147cfa1ba fix(coreos): Get version from manifest, export COREOS_ names
The version will now be tracked in the manifest so the old
coreos_version.sh needs to source it from there. Also export variables
with a COREOS_ prefix in addition to CHROMEOS_ since the latter name
isn't really correct. This is particularly true for the data published
via lsb_release.
2013-07-02 15:05:10 -04:00
Brandon Philips
915483da08 fix(profiles): unmask go-1.1*
unmask the 1.1 series so we don't have to keep editing this file.
2013-07-01 14:22:52 -07:00
polvi
b6fda4784c Merge pull request #45 from philips/bump-criu
bump(sys-process/criu): bump to 0.6
2013-07-01 13:04:28 -07:00
Brandon Philips
fb3c813e38 bump(sys-process/criu): bump to 0.6
- bump to criu 0.6
- remove the ~amd64 KEYWORDS since it is in our overlay
2013-07-01 13:00:04 -07:00
Greg Kroah-Hartman
4397bbb97e fix(sys-kernel/coreos-kernel) bump kernel version to 3.10.0
This allows the checkpoint/restore dump and check commands to work
properly, due to the new netlink dump code in this release.
2013-07-01 10:18:18 -07:00
Michael Marineau
c134fa7a1f Merge pull request #43 from philips/fixup-lsb-release
fix(coreos): use production CoreOS values
2013-06-30 19:49:42 -07:00
Michael Marineau
598ae99fdf Merge pull request #42 from philips/remove-chromeos
chore(*): remove chromeos ebuilds and files
2013-06-30 19:47:24 -07:00
Brandon Philips
62260a1fa6 fix(coreos-base/crash-reporter): don't use chromeos*
fixup crash-reporter ebuild to not use chromeos* ebuilds.
2013-06-30 19:45:11 -07:00
Michael Marineau
ad24124af4 Merge pull request #41 from philips/bump-core-admin
feat(coreos-base/core-admin): bump to the latest version
2013-06-30 19:44:31 -07:00
Brandon Philips
c4f562c62c fix(coreos-base/update_engine): use coreos-ca-certificates
missed fixing this up. Use the coreos-ca-certificates.
2013-06-30 19:42:56 -07:00
Brandon Philips
18e3d5ca50 fix(coreos): use production CoreOS values
use production values for CoreOS in /etc/lsb-release
2013-06-30 19:17:43 -07:00
Brandon Philips
6066b8c19d chore(*): remove chromeos ebuilds and files
lots of stuff isn't needed from chromeos anymore, remove it.
2013-06-30 19:05:59 -07:00
Brandon Philips
f161183b12 feat(coreos-base/core-admin): bump to the latest version
new version has metadata features
https://github.com/coreos/core-admin/pull/1
2013-06-30 18:48:25 -07:00
Brandon Philips
a899bae69e Merge pull request #40 from marineam/gsutil
bump(net-misc/gsutil): Bump gsutil to version 3.31, add dependencies
2013-06-28 15:51:07 -07:00
Michael Marineau
22dad59d87 Merge pull request #39 from gregkh/kernel_update
fix(sys-kernel/coreos-kernel) bump kernel version to 3.9.8
2013-06-28 11:17:12 -07:00
Michael Marineau
f30674864e bump(net-misc/gsutil): Bump gsutil to version 3.31, add dependencies
This includes a new gsutil verison which is not yet in upstream portage
along with new ebuilds for a couple of its dependencies that are also
not in portage:
    dev-python/google-api-python-client
    dev-python/socksipy-branch

Also, dev-python/python-gflags is included here to apply two extra
patches that fix some unit tests and add mark that it conflicts with the
old version of dev-cpp/gflags that we had been using up until now.

Hopefully all this will be merged upstream soon:
    https://bugs.gentoo.org/show_bug.cgi?id=468080
2013-06-28 14:09:12 -04:00
Greg Kroah-Hartman
55fd5a865f fix(sys-kernel/coreos-kernel) bump kernel version to 3.9.8
Pull in all of the good fixes, especially in the networking area, that
the 3.9.8 kernel provides.
2013-06-27 19:36:20 -07:00
unclejack
cc0bc03984 make docker run directly under systemd without forking
Docker seems to be working fine now under systemd. Some recent code
changes have fixed the problems we were running into before.

What has been tested while running docker directly under systemd:
1. docker run
2. docker pull
3. docker images
4. docker rm
2013-06-27 17:07:18 +03:00
Michael Marineau
8d82de1789 Merge pull request #36 from philips/update-engine-ca-certs2
feat(coreos-base/update_engine): use coreos-ca-certificates
2013-06-25 13:35:13 -07:00
Brandon Philips
602b91cb25 feat(coreos-base/update_engine): use coreos-ca-certificates
stop using the chromeos ca certificates and use coreos's instead.
2013-06-25 13:26:20 -07:00
Brandon Philips
a659278dc5 Merge pull request #35 from philips/update-engine-ca-certs
add(coreos-base/coreos-ca-certificates): initial commit
2013-06-25 13:21:56 -07:00
Brandon Philips
0d012e162b fix(coreos-base/coreos-ca-certificates): fix copyright 2013-06-25 13:20:31 -07:00
Brandon Philips
8377cc66eb add(coreos-base/coreos-ca-certificates): initial commit 2013-06-25 11:22:53 -07:00
Brandon Philips
1c9e245fe3 fix(coreos-base): move resolv.conf to /var/run
tested on a vm. This makes it possible to do read-only root and have the
glibc resolver work.
2013-06-24 16:57:16 -07:00
Michael Marineau
ab9c27fbda fix(config): Switch distfiles mirror list to our own
These two mirrors are generated specifically from our own overlays so
they should always include everything we need. The default Gentoo mirror
is provided simply as a sane backup.
2013-06-24 11:57:37 -04:00
Michael Marineau
9a421d52cf fix(mobile-broadband): Remove workaround for bug that doesn't exist
Fix the last of the bogus errors in the coreos overlay, removing this
hack makes the SRC_URI lines valid again and all tools are happy now.
2013-06-23 23:49:58 -04:00
Michael Marineau
2b095a82a5 fix(coreos-overlay): Add missing or fix incomplete Manifests
emirrordist will refuse to handle files that are not included in the
Manifest file. To keep things happy just sweep across the tree adding
them. (A lot of these packages could actually go away, but that is a
different project for another day).
2013-06-23 23:41:28 -04:00
Michael Marineau
8f85d10990 fix(coreos-overlay): Fix improper EAPI declarations
EAPI needs to be the first thing in an ebuild. This clears up useless
errors from tools scanning the tree like emirrordist.
2013-06-23 23:33:26 -04:00
Michael Marineau
202ef5dff1 fix(profiles): Go back to the stable portage version
sys-apps/portage-2.1.12.2 is now stable which is new enough for us.
2013-06-23 20:53:45 -04:00
Michael Marineau
e886ae277a Merge pull request #31 from marineam/efunc
fix(sys-apps/efunctions): Fix INSTALL_MASK to remove init.d
2013-06-23 11:37:54 -07:00
Michael Marineau
ebab2fa013 fix(sys-apps/efunctions): Fix INSTALL_MASK to remove init.d
When installing with the default make.conf in full effect
/etc/init.d/functions.sh will be excluded which is the whole point of
the efunctions package in the first place. This should fix that.
2013-06-23 14:31:40 -04:00
Brandon Philips
f4436a6b47 fix(app-emulation/docker): add sys-fs/aufs-util
Fixes #29 by making auplink available
2013-06-23 10:29:46 -07:00
Brandon Philips
a9e80eab93 fix(coreos-base/coreos-experimental): fix LICENSE
version 2 not @
2013-06-23 09:49:49 -07:00
Brandon Philips
a51df506da fix(coreos-base/coreos): fixup the description
correct url and description fields.
2013-06-23 08:34:36 -07:00
Brandon Philips
9317fcbdad fix(coreos-base/coreos): move experimental packages to new ebuild
These projects are still maturing. Move them into an ebuild people can
build manually for now.
2013-06-23 08:31:56 -07:00
Michael Marineau
3bb649138d fix(coreos/config): Remove CPU options copied from overlay-amd64-generic
-march=x86-64 is meaningless and -msse3 by definition makes the build
not quite generic even if it is probably safe.
2013-06-22 20:22:58 -04:00
Michael Marineau
3f7bcba442 fix(coreos/config): Cleanup make.conf spaghetti, change target binhosts.
Replace ChromiumOS target binhosts with our own. The auto-generated
files have been stubbed out and configs for targets we don't currently
support have been removed. MARCH_TUNE is now defined here.

After this change target binhosts will defined here and
/etc/make.conf.board and overlay-amd64-generic/make.conf are no longer
used. The new setup_board only creates /etc/make.conf.board_setup.
2013-06-22 17:51:58 -04:00
Brandon Philips
55ec02e342 Merge pull request #25 from marineam/bootstrap
Bootstrap
2013-06-22 11:51:00 -07:00
Michael Marineau
e18841a44a fix(coreos-base/hard-host-depends): Add cvs to SDK chroot
This is required for the update_ebuilds command.
2013-06-22 10:58:29 -04:00
Michael Marineau
84572f0e9e fix(coreos/config): Switch download host to our own CNAME
We now have http://storage.core-os.net/ working so use that instead of
the generic Google host name.
2013-06-22 10:48:22 -04:00
Michael Marineau
ab0efd5d28 fix(coreos/config): Replace old ChromiumOS SDK binhosts and tarball.
Building our own packages so we don't want the old ones! This is just a
first stage, automated builds aren't going yet and I'm not covering
amd64-generic and its cross toolchain, just the sdk.

The old binhost/host/*.conf files are just stubbed out until I'm
positive nothing else is referring to them.
2013-06-22 00:30:10 -04:00
Michael Marineau
518bc10ded fix(coreos-base/update_engine): Add missing dependency to stable ebuild.
This fix previously made it into the live ebuild but not the stable one.
2013-06-22 00:30:10 -04:00
Michael Marineau
b7bde0b21c fix(profiles): Don't use live ebuilds by default.
As-is catalyst and cros-workon's live ebuilds don't mix since the
catalyst chroot does not provide /mnt/host like the sdk chroot does.
Besides, only people actively working on a project should use the live
versions since anyone else will install it one time and then never
upgrade after that, even when the version marked stable is actually
newer than their old live build.

For SDK builds this means not accepting ~amd64 for core-admin and
update_engine and adding a stable ebuild for core-admin. (update_engine
already has a stable ebuild which is even up-to-date)
2013-06-22 00:30:10 -04:00
Michael Marineau
19ceed57ab fix(profiles): Add shadow to the bootstrap package list
Despite the big scary warning saying otherwise upstream Gentoo has
actually included shadow in this list since 2011 (while also forgetting
to delete the warning, cute!). Not having it here runs the risk of
causing a failure during catalyst builds if something tries to add a
system user or group before shadow gets installed.

Upstream commit:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/profiles/default/linux/packages.build?r1=1.5&r2=1.6
2013-06-22 00:30:10 -04:00
Michael Marineau
2dde5c7215 fix(profiles): Move USE from make.conf to make.defaults in profiles.
Moving more things into the profiles means we eventually reduce the
magic around generating make.conf and aids bootstrapping.
2013-06-22 00:30:10 -04:00
Michael Marineau
18db4d8f86 add(sys-apps/efunctions): Replace coreos-base version with generic one.
This version of efunctions does not depend on cros workon and git to
install and thus is suitable for bootstrapping. It also uses the
original author as the upstream rather than a coreos mirror. Since it is
not coreos specific any more I've moved it to sys-apps.

Added to both system and bootstrap package sets.

For extra fun it is also in my new systemd-only Gentoo overlay:
https://github.com/marineam/systemd-only-overlay
2013-06-22 00:30:10 -04:00
Michael Marineau
3f94c8ab1e fix(profiles): Add 'curl' to bootstrap use flags.
We are still using the Google toolchain which is in git, so add curl
support the bootstrapped git package so it can fetch the toolchain.
2013-06-22 00:30:10 -04:00
Michael Marineau
2e4405c3ec fix(profiles): Add 'threads' to the bootstrap use flags
This works around a dependency issue caused by our newer portage ebuilds
depending on +threads in our older python ebuilds. Will go away later.
2013-06-22 00:30:10 -04:00
Michael Marineau
9b53896653 fix(profiles): Drop references to virtual/portage
The old-style virtual/portage is gone and replaced by a new-style
virtual/package-manager in Gentoo. For now just use sys-apps/portage
since that's all we want anyway.
2013-06-22 00:30:09 -04:00
Michael Marineau
7c9a447541 add(profiles): Add profiles.desc to identify valid profiles 2013-06-22 00:30:09 -04:00
unclejack
9bf1948e3f enable IPv4 forwarding 2013-06-20 20:30:28 +03:00
unclejack
5eb00202e0 let docker set up its own bridge 2013-06-20 20:29:20 +03:00
Greg Kroah-Hartman
9750d3979c fix(cros-kernel/x86_64_defconfig) enable some more vlan modules
Enable:
	CONFIG_MACVLAN=m
	CONFIG_MACVTAP=m
	CONFIG_VETH=m

Docker needs VETH, and might use MACVLAN in the future, it can't hurt to
enable them, they take up no running space if not used.
2013-06-18 12:37:01 -07:00
Greg Kroah-Hartman
337010c50d fix(cros-kernel/x86_64_defconfig) enable CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
Docker uses this to manage the network containers properly.
2013-06-18 12:35:27 -07:00
Brandon Philips
0bc914a973 Merge pull request #21 from gregkh/kernel_slimdown
fix(cros-kernel/x86_64_defconfig) disable ext3 and ext2
2013-06-18 12:29:01 -07:00
Greg Kroah-Hartman
0d779e0a36 fix(cros-kernel/x86_64_defconfig) enable CONFIG_MEMCG_SWAP_ENABLED
This is requested so that cgroups can swap properly.
2013-06-18 11:45:39 -07:00
Michael Marineau
d86b12d982 fix(make.conf): Disable force-mirror
This feature forces emerge to only fetch sources from mirrors, never the
SRC_URI provided in actual ebuilds. Disabling this should fix our issues
with portage tarballs vanishing. :-D
2013-06-18 13:38:22 -04:00
Greg Kroah-Hartman
b8332bffac fix(cros-kernel/x86_64_defconfig) disable ext3 and ext2
ext4 can, and should, handle both of these filesystems now, so have it
do so.
2013-06-16 20:57:19 -07:00
Michael Marineau
0213194ec7 Merge pull request #20 from gregkh/kernel_slimdown
Kernel slimdown
2013-06-14 17:55:58 -07:00
Greg Kroah-Hartman
352e260000 fix(cros-kernel/x86_64_defconfig) disable HOTPLUG_PCI
The kernel does not need HOTPLUG_PCI enabled, so turn it off, which
disables a number of other unneeded drivers as well.
2013-06-14 14:36:10 -07:00
Greg Kroah-Hartman
45da329724 fix(cros-kernel/x86_64_defconfig) turn off SELINUX
SELinux does not need to be enabled in the kernel, so turn it off and
fall back to the "default" Linux security model
2013-06-14 14:12:26 -07:00
Greg Kroah-Hartman
095359b384 fix(cros-kernel/x86_64_defconfig) enable vmware drivers
Build the vmware drivers so that machines can be properly managed on
those systems.
2013-06-14 14:10:44 -07:00
Greg Kroah-Hartman
2a7d97cae3 fix(cros-bootkernel/x86_64_defconfig_boot) enable vmware drivers
Enable the vmware drivers which were somehow not being built.
2013-06-14 13:59:06 -07:00
Greg Kroah-Hartman
e66fffd4e5 fix(cros-bootkernel/x86_64_defconfig_boot) disable unneeded crypto modules
Now that the ethernet drivers are gone, we can disable a number of the
crypto modules that are no longer needed.
2013-06-14 13:41:16 -07:00
Greg Kroah-Hartman
d8175c1d5f fix(cros-bootkernel/x86_64_defconfig_boot) disable CONFIG_PPS
This is no longer needed for the boot kernels, as we disabled ethernet
devices.
2013-06-14 13:32:10 -07:00
Greg Kroah-Hartman
7ce163dd33 fix(cros-bootkernel/x86_64_defconfig_boot) disable ACPI_HED and NETPRIO_CGROUP
Neither of these options are needed for the boot kernel, so disable
them.
2013-06-14 13:27:42 -07:00
Greg Kroah-Hartman
bd6c4a5373 fix(cros-bootkernel/x86_64_defconfig_boot) disable CONFIG_I2C
I2C is not needed for the boot kernel, so disable it, removing a bunch of
build options and modules.
2013-06-14 12:58:31 -07:00
Greg Kroah-Hartman
c98d19b9a5 fix(cros-bootkernel/x86_64_defconfig_boot) disable HOTPLUG_PCI
The boot kernel does not need HOTPLUG_PCI, so disable it, and the video
output control option.
2013-06-14 12:51:09 -07:00
Greg Kroah-Hartman
ba7d7d37cb fix(cros-bootkernel/x86_64_defconfig_boot) build in VIRTIO drivers
The VIRTIO drivers should be built into the boot kernel.

Also disable OPENVSWITCH, as that is not needed in the boot kernel.
2013-06-14 12:38:09 -07:00
Greg Kroah-Hartman
b89f6118ed fix(cros-bootkernel/x86_64_defconfig_boot) disable CONFIG_ETHERNET
No ethernet drivers are needed for the boot kernel, so disable them all.
2013-06-14 12:27:26 -07:00
Greg Kroah-Hartman
13cf49daa4 fix(cros-bootkernel/x86_64_defconfig_boot) more config cleanups
Build in a few ACPI drivers, and remove some hardware-specific drivers
that the boot kernel will never see.

Also disable CONFIG_WATCHDOG, as the boot kernel should never be alive
long enough for a watchdog to need to kick in.
2013-06-14 12:20:58 -07:00
Greg Kroah-Hartman
e24e8c95aa fix(cros-bootkernel/x86_64_defconfig_boot) disable ISCSI
The boot kernel does not need ISCSI, so disable it.
2013-06-14 12:10:17 -07:00
Greg Kroah-Hartman
a98531f4c0 fix(cros-bootkernel/x86_64_defconfig_boot) disable DRM
The boot kernel does not need DRM, so disable it.
2013-06-14 12:05:42 -07:00
Greg Kroah-Hartman
03b11a07de fix(cros-bootkernel/x86_64_defconfig_boot) disable some more network modules
The boot kernel does not care about bonding, tun/tap, or some other
minor network modules, so disable them.
2013-06-14 12:01:17 -07:00
Greg Kroah-Hartman
f1b77b9b5e fix(cros-bootkernel/x86_64_defconfig_boot) enable HYPERV
Always build in the HYPERV modules and core to the bootkernel, as they
will be needed when booting on a Hyper-V system.
2013-06-14 11:56:51 -07:00
Greg Kroah-Hartman
6569caa690 fix(cros-bootkernel/x86_64_defconfig_boot) disable FUSE and PSTORE
These two options are not needed in a boot kernel.
2013-06-14 11:51:57 -07:00
Greg Kroah-Hartman
050d586ac1 fix(cros-bootkernel/x86_64_defconfig_boot) disable ext2 and ext3
The ext4 filesystem can handle both of these types of images, so only
build it, and not the others.
2013-06-14 11:45:39 -07:00
Greg Kroah-Hartman
6108e1c22a fix(cros-bootkernel/x86_64_defconfig_boot) disable some filesystems
The boot kernel does not need aufs, xfs, btrfs, or vfat, so disable them
all.
2013-06-14 11:42:58 -07:00
Greg Kroah-Hartman
f8462139d6 fix(cros-bootkernel/x86_64_defconfig_boot) disable network filesystems
The boot kernel is not going to have to find a network filesystem, so
just disable those entirely.
2013-06-14 11:37:33 -07:00
Greg Kroah-Hartman
20c5ae7d64 fix(cros-bootkernel/x86_64_defconfig_boot) disable SELINUX
The boot kernel only needs the default Linux security model, so disable
SELinux and the other kernel security models.
2013-06-14 11:34:01 -07:00
Greg Kroah-Hartman
41d51ec880 fix(cros-bootkernel/x86_64_defconfig_boot) remove some network modules
There are a number of network protocols not needed for the boot kernel.
As these were being built as modules, just remove them, they are not
needed.
2013-06-14 11:23:23 -07:00
Greg Kroah-Hartman
d8103c93c2 fix(cros-bootkernel/x86_64_defconfig_boot) disable netfilter the like
The bootkernel doesn't need netfilter, and some other networking kernel
modules to be enabled, as all this kernel needs to do is to find the
root partitions and then boot them.  So disable those kernel options
entirely.
2013-06-14 11:23:23 -07:00
Greg Kroah-Hartman
b8bec84f14 fix(cros-bootkernel/x86_64_defconfig_boot) build in the Xen modules
The boot kernel shouldn't have kernel modules, otherwise it will be a
two-step build process for the whole kernel/initrd package, so just
build in the Xen modules to the kernel image itself.
2013-06-14 11:23:23 -07:00
Greg Kroah-Hartman
d3284c9668 feat(cros-kernel/x86_64_defconfig) enable kvm
This lets the guest os host another guest os in a kvm machine.

It's turtles all the way down...
2013-06-13 12:50:28 -07:00
Greg Kroah-Hartman
6ad8262d5b Merge pull request #17 from gregkh/bootkernel
feat(coreos-bootkernel) add coreos-bootkernel ebuild
2013-06-12 18:34:53 -07:00
Greg Kroah-Hartman
798c5718ff fix(coreos-bootkernel) remove commented out line in ebuild
Found during code review, good eye.
2013-06-12 18:34:09 -07:00
Greg Kroah-Hartman
9bd4fb24b0 feat(coreos-bootkernel) add coreos-bootkernel ebuild
This is a separate kernel package, and configuration, for the "boot"
kernel.  It reuses the same eclass for kernel builds, but does two
things differently for boot kernels:
  - no boot/vmlinuz symlink
  - picks the boot version of the kernel configuration.
2013-06-12 17:27:46 -07:00
Brandon Philips
020e18a61a feat(profile): accept all portage-2.1.12*
2.1.12 has the CoreOS bugfix patch accept all of them
2013-06-12 17:10:06 -07:00
Greg Kroah-Hartman
4091bc7913 fix(eclass/cros-kernel/x86_64_defconfig) add ACPI support
This adds ACPI support to the kernel, which Azure needs in order to
properly boot.  Also added is the needed disk drivers, and other hyper-v
drivers.

Bonus is that the shutdown problem is fixed for kvm images, they no
longer hang forever.
2013-06-12 14:54:01 -07:00
Brandon Philips
ff0d10e07c Merge pull request #14 from gregkh/kernel-cleanup
Kernel versioning fixes
2013-06-12 10:27:47 -07:00
Greg Kroah-Hartman
ebf6e21b71 fix(eclass/cros-kernel/x86_64_defconfig) add pcnet32 support
This adds the two pcnet drivers to the kernel build, so that the image
will have working networking in a VirtualBox instance.
2013-06-12 10:21:18 -07:00
Greg Kroah-Hartman
0d2159f560 fix(sys-kernel/coreos-kernel) no more firmware files
The kernel package should not be building any firmware files, as they
are not needed in virtual machines, _and_ the firmware file locations
are not versioned, preventing multiple kernels to be installed at the
same time.

This change adds a patch to the kernel to not traverse into the firmware
directory at all, and patches the eclass to not do the firmare_install
build process.
2013-06-12 10:13:47 -07:00
Greg Kroah-Hartman
b4bd3d2e00 fix(eclass/cros-kernel2.eclass) version the debug kernel
The debug kernel image needs to be versioned, like the rest of the
kernel files, so that multiple kernels can be installed at the same
time.  So put it into a unique directory.
2013-06-12 09:45:08 -07:00
Michael Marineau
393d00a697 Merge pull request #12 from philips/add-dracut
feat(dracut): add the packages necessary for dracut
2013-06-11 18:03:05 -07:00
Brandon Philips
16e4a79e2b feat(dracut): add the packages necessary for dracut
We are going to need dracut since our initramfs will need udev, etc for
disk discovery. This pulls in the necessary packages.
2013-06-11 17:21:50 -07:00
Greg Kroah-Hartman
31e9b2c0bc fix(eclass/cros-kernel/x86_64_defconfig) shrink the kernel configuration
This removes a bunch of hardware-specific kernel configuration options
that are not needed in a virtual machine.  It also removes reiserfs
support as well.

Compressed kernel image has shrunk by 290Kb, and we have way fewer
kernel modules being built, and loaded, as well (what in the world was
loading the agp drivers at boot?!)
2013-06-11 16:35:34 -07:00
Greg Kroah-Hartman
b4761cc6b4 fix(eclass/cros-kernel2.eclass) remove fragment logic as we don't need it
We are using a default configuration file, so don't embed configuration
logic into the eclass.
2013-06-11 12:07:16 -07:00
Greg Kroah-Hartman
330b006114 fix(sys-kernel/coreos-kernel): enable CONFIG_IKCONFIG_PROC
CONFIG_IKCONFIG was already being built as a module, might as well
make it easy to get the configuration from the kernel when it is loaded.
The space savings is almost nothing to not enable this.
2013-06-09 20:50:13 -07:00
Brandon Philips
9eec050a4a fix(sys-kernel/coreos-kernel): enable CHECKPOINT_RESTORE
run the defconfig through oldconfig and enable checkpoint_restore
properly. Also disable kprobes as we don't need these.
2013-06-08 21:19:06 -07:00
Brandon Philips
ac20d6fcf5 Merge pull request #8 from marineam/nspawn
fix(coreos-base/coreos-init): Version bump to fix systemd-nspawn booting
2013-06-08 19:39:27 -07:00
Michael Marineau
4766b3a2df fix(coreos-base/coreos-init): Version bump to fix systemd-nspawn booting 2013-06-08 22:18:40 -04:00
Brandon Philips
1dad3615d5 feat(sys-process/criu): add features for criu
- add the necessary Kernel configurations
- add the sys-process/criu package (removing linux-info eclass to
  workaround not having a /usr/src/linux directory)
- add build dependencies to the hard-host-depends package
- accept the unstable nature of criu in accept_keywords
2013-06-08 19:06:33 -07:00
Michael Marineau
d628e55c82 bump(coreos-base/coreos-init): config update 2013-06-06 17:56:10 -04:00
Michael Marineau
9a44eef0a7 fix(coreos-base/coreos-base): Remove dummy rootfs entry from fstab.
Remounting / read-write has been moved to the dev_mode helper script in
coreos-init instead of letting systemd do it based on fstab. Now if a
system boots without /root/.dev_mode the filesystem remains read-only.
2013-06-06 17:26:23 -04:00
Michael Marineau
feb372fdb4 bump(coreos-base/coreos-init): New code
Adds tmpfiles config, more units, and top level coreos-startup.target
which eliminates the need for maintaining that list in the ebuild.
2013-06-06 17:26:14 -04:00
Michael Marineau
be4215fec0 fix(systemd-rest+docker): Use keepdir to install empty /var directories.
Not only is this the safer way of installing empty directories but we
can now leverage keepdir to repopulate missing items in var.
2013-06-06 14:52:09 -04:00
Michael Marineau
42f161d1ba bump(coreos-base/coreos-init): Update to latest code version.
This adds the new sshd-keygen unit.
2013-06-05 20:18:34 -04:00
Michael Marineau
504217295c fix(coreos-base/coreos-init): Move daemon setup to init package.
Previously coreos-base handled some sshd and dhcpcd and lacked the
dependencies required to make enabling systemd units work. coreos-init
is a better place for that and has a proper source package so fewer
files are needed in the portage overlay.
2013-06-05 19:35:39 -04:00
Michael Marineau
66092129ba bump(sys-apps/systemd): unmask systemd-204
Booted! Ship it!
2013-06-05 19:05:57 -04:00
Michael Marineau
bb918f040f hack(sys-apps/openrc): Mark as provided in the SDK
We don't need openrc in the SDK either so move the package.provided
entry to the default profile instead of just the coreos target.
2013-06-05 15:37:00 -04:00
Michael Marineau
a6bf9c6968 fix(coreos-base/coreos-base): Install systemd in SDK
Adding systemd to base means it will be installed in the SDK in addition
to built images. This should avoid potential confusion that may be
caused by leaving sys-fs/udev in the SDK while it is removed from built
images in favor of systemd 204.
2013-06-05 15:12:21 -04:00
Michael Marineau
8c7d512130 fix(coreos-base/*): Replace sys-fs/udev with virtual/udev
In preparation for systemd 204 which provides udev itself we need to
stop depending directly on the stand-alone udev package.
2013-06-05 14:59:29 -04:00
Brandon Philips
f2f71734c8 bump(etcd-lib): get latest code 2013-06-04 15:25:22 -07:00
Michael Marineau
c30049ef68 fix(coreos-init): code fix for new path to coreos_startup 2013-06-03 16:58:27 -04:00
Michael Marineau
7754ca2131 fix(coreos-base/coreos-base): remove /var/run from fstab
No longer needed as systemd is installed with a unit to bind /var/run to
/run which is always a tmpfs mount. Binding the two seems cleaner.
2013-06-03 16:33:25 -04:00
Michael Marineau
16ce227d79 fix(coreos-init): start splitting startup into multiple units
This is the first round of splitting up the coreos_startup script into
multiple units, starting with using systemd to mount the state and oem
partitions. This lets us use systemd to get device dependencies right.

Also cleanup whitespace, I forgot ebuild style requires tab characters.
Sync up -9999 version which I missed in previous commits.
2013-06-03 15:23:21 -04:00
Brandon Philips
5889dcf1f6 Merge pull request #3 from marineam/resize-state
bump(coreos-base/coreos-init): new auto-grow version
2013-05-31 08:33:35 -07:00
Michael Marineau
269b39d4fe fix(coreos-base/coreos): Add gzip and less to base image.
Basic tools others expect! Other tools missed them dearly.
2013-05-31 11:10:14 -04:00
Michael Marineau
f1a91f343e fix(coreos-base/coreos-base): mawk provides awk on target images
Link awk to mawk and block gawk for target builds to avoid conflicts.
2013-05-31 11:08:24 -04:00
Michael Marineau
f7c3c0cdc7 bump(coreos-base/coreos-init): new auto-grow version 2013-05-30 23:27:40 -04:00
Brandon Philips
988458fb3b fix(app-admin/etcd): oops! can't have to execstart's 2013-05-30 03:07:49 -07:00
Brandon Philips
7cf225bd36 hack(app-admin/etcd): run all of the scripts in bootstrap
systemd doesn't let you run a script _before_ the env variables get set.
This makes sense so run the scripts first.
2013-05-30 02:57:27 -07:00
Brandon Philips
c48baae65f fix(app-admin/etcd): figure out bootstraping 2013-05-30 02:27:22 -07:00
Brandon Philips
6db7db01f4 hack(app-admin/etcd): bootstrapping problems
put this hack in place until we figure out how to bootstrap doozer
2013-05-30 01:59:43 -07:00
Brandon Philips
86c2980c00 bump: base layout packages 2013-05-30 01:16:32 -07:00
Brandon Philips
189e211cfe fix(cros-devutils): use github.com and coreos 2013-05-29 22:33:37 -07:00
Brandon Philips
3844002346 bump(coreos-base/cros-devutils): fixes to the image dev server 2013-05-29 21:35:06 -07:00
Brandon Philips
ba7ccb8cf6 fix(app-admin/etcd*): change version to force rebuild
without this everyone who got -9999 will never upgrade to the actual
build.
2013-05-29 15:23:00 -07:00
Brandon Philips
306f88f4a3 fix(app-admin/etcd*): Use correct version layout
etcd client and etcd were not rebuilding because 9999 was not masked.
Fix this.
2013-05-29 15:12:16 -07:00
Brandon Philips
81db9a59bf bump(app-admin/systemd-rest): bump to latest version 2013-05-28 19:29:52 -07:00
Brandon Philips
b6abd640fa feat(coreos-base/coreos): remove motd-http
motd-http served us well but is no longer needed. Delete it from the
default image.
2013-05-28 19:26:54 -07:00
Brandon Philips
8f0bb39486 add(coreos-base/coreos): add etcd-lib
add etcd-lib to the image build
2013-05-28 17:37:49 -07:00
Brandon Philips
28196a9a3a fix(app-admin/systemd-rest): make version iterable
now that we have a team we need to be able to bump each other to new
versions. Stop accepting the keyword for ~amd64 and move into a version.
2013-05-28 17:06:17 -07:00
Brandon Philips
5e3c938fde fix(coreos-base/etcd-lib): add in symlinks
use symlinks and make the version number bumpable
2013-05-28 17:05:43 -07:00
Brandon Philips
385848d4fa fix(etcd-lib/etcd-lib): ensure it makes it to disk
not all of the /usr/lib files were making it to disk, fix this.
2013-05-28 16:46:05 -07:00
Brandon Philips
d1dd5f9264 fix(coreos-base/coreos-init): versioning was all messed up
the versioning on this package was all messed up. -9999 was a link to
the current version and neither of them were masked so new code never
got built. For now lets make coreos-init-0.0.1-r3 the latest release so
everyone rebuilds.
2013-05-28 16:34:00 -07:00
Brandon Philips
2526ff05e2 bump(coreos-init-9999): refix this symlink 2013-05-28 16:29:08 -07:00
Brandon Philips
a4faf1532c bump(coreos-init): get latest changes 2013-05-28 16:26:11 -07:00
Brandon Philips
37ad8941f4 bump(coreos-base/coreos): bump to get changes 2013-05-28 16:25:02 -07:00
Brandon Philips
83b8a7e7be add(coreos-base/etcd-lib): initial commit
some experiments, lets see how this goes
2013-05-28 16:20:22 -07:00
Brandon Philips
82f41a0f4e fix(app-admin/systemd-rest): add a go get
need to fetch those deps!
2013-05-27 21:02:30 -07:00
Brandon Philips
b498764357 fix(coreos-base/core-admin): adapt to go get in go1.1
this was failing the build before. Fix this until we find a better way.
2013-05-27 15:34:56 -07:00
Brandon Philips
04eef31b35 fix(app-admin/etcd*): fixups to get these building
Minor fixups to the packaging to get everything working on these.
2013-05-27 13:47:59 -07:00
Brandon Philips
0fac1a19c3 fix(hard-host-depends): add mercurial
some go tools want mercurial for fetching dependencies. We need this.
2013-05-27 13:40:30 -07:00
Brandon Philips
7cf9a3c3c5 fix(package.accept_keywords): new portage OK 2013-05-27 13:19:42 -07:00
Xiang Li
84e079a722 add copyright 2013-05-27 13:11:00 -07:00
Xiang Li
37f3b35b32 add copyright and remove service file 2013-05-27 13:08:50 -07:00
Xiang Li
5bdfe8d169 add copyright and remove service file 2013-05-27 13:08:05 -07:00
Xiang Li
7d1988d415 add etcd and etcd-client to coreos.ebuild 2013-05-27 12:49:31 -07:00
Xiang Li
778da2e56a add etcd and etcd-client 2013-05-27 12:45:06 -07:00
Brandon Philips
50077b3003 bump(package.accept_keywords): upgrade to go1.1 2013-05-23 20:47:46 -07:00
Brandon Philips
7d892944ff fix(coreos-base/hard-host-depends): add bc
bc is required for kernel builds now, just add it
2013-05-23 15:21:02 -07:00
Brandon Philips
dbc09efeb0 sys-devel/bc: bc is required for kernel builds
bc isn't provided and required for kernel builds. Fix this.
2013-05-23 15:11:40 -07:00
Brandon Philips
4aa028491a bump(sys-kernel/coreos-kernel): bump to the latest version 2013-05-23 14:54:19 -07:00
Brandon Philips
6c29faedbb fix(package.accept_keywords): ~amd64 is OK for util-linux
we want nsenter! Lets get it.
2013-05-22 15:09:14 -07:00
Brandon Philips
d9499ede00 bump(app-admin): build with new layout
fixed up the systemd-rest directory layout, fix ebuild
2013-05-21 12:13:40 -07:00
Brandon Philips
c3ffbce8fa feat(coreos-base/dev-install): add strace
strace is super helpful for debugging, add it.
2013-05-21 10:42:00 -07:00
Brandon Philips
5eca721d99 bump(coreos-base/coreos-installer): use master to fix kernel usage
grab all of the fixes to not depend on the kernel partition
2013-05-21 10:41:15 -07:00
Brandon Philips
fd0eacc913 bump(coreos-base/update_engine): use the latest master
the latest master works on a CoreOS image with the dev server. Bump!
2013-05-21 10:40:01 -07:00
Brandon Philips
430b23125b fix(coreos-base/coreos-installer): add a workon repo
set it to github.com
2013-05-20 16:54:30 -07:00
Brandon Philips
2ed0d876c9 fix(coreos-base/coreos-installer): use the right workon project
use the coreos project not chromium os
2013-05-20 16:42:51 -07:00
Brandon Philips
8d694fbc42 fix(coreos-base/coreos-installer): actually bump
bump the commit not the tree, whoops
2013-05-20 16:39:16 -07:00
Brandon Philips
78cc8e3eda bump(coreos-base/coreos-installer): bump to latest version
get the fixes for the parition layout
2013-05-20 16:37:16 -07:00
Brandon Philips
51bd3ced26 fix(coreos-base/core-admin): fix build system
go get is required now since we don't have external packages checked
into the tree.
2013-05-20 12:27:46 -07:00
Brandon Philips
acb8564f39 add(app-emulation/nova-agent): initial commit
This adds the nova agent for Rackspace Cloud and its dependencies. Quite
a bit of work went into getting xen-tools to build properly as it has a
quirky ld version script which needed patching and also the tests are
not working and had to be disabled.

The two patches I wrote are:
	app-emulation/xen-tools/files/disable-tests.patch
	app-emulation/xen-tools/files/fix-map-file-ld-errors.patch

Luckily xen-tools is only needed to build pyxenstore, otherwise it is a
huge mess of stuff to keep on disk.
2013-05-10 23:06:14 -07:00
Brandon Philips
8ded021896 bump(coreos-base/coreos): bump rev so everyone gets kexec 2013-05-08 21:49:40 -07:00
Greg Kroah-Hartman
0d5da8ac30 add(sys-apps/kexec-tools) 2013-05-08 21:27:19 -07:00
Brandon Philips
e99e53e44a bump(sys-apps/bootcache): fix build errors
latest version fixes errors with format strings not being consts
2013-05-07 12:28:38 -07:00
Brandon Philips
61ea6f3969 bump(sys-apps/portage): bump to a version on the mirrors 2013-05-07 11:48:42 -07:00
Brandon Philips
7bd6a483ad feat(core-admin): initial commit
add the core-admin utility and make it part of hard-host-depends
2013-04-30 21:34:45 -07:00
Brandon Philips
9458bfaabb feat(coreos-base/coreos-base): new motd font
the old font was annoying, use this simpler font instead
2013-04-30 19:19:07 -07:00
Brandon Philips
3164c077f3 fix(eclass/cros_kernel): new x86_64_defconfig
complete redo of the x86_64 defconfig. This boots under kvm and xen now.
2013-04-25 10:05:52 -07:00
Brandon Philips
3d3d4774d0 chore(eclass/cros_kernel): delete 32 bit intel
We aren't building these right now and if we do we will need to start
from scratch. Delete to avoid future confusion.
2013-04-25 10:05:12 -07:00
Brandon Philips
2f74ee40df chore(chromeos-kernel): delete chromeos kernel builds 2013-04-24 13:57:32 -07:00
Brandon Philips
f84d0ebfee feat(eclass/cros-kernel2): enable serial console output
enable features necessary to get basic serial console support for
debugging
2013-04-23 20:48:43 -07:00
Brandon Philips
7d39776608 feat(cros-kernel/defconfig): slim down x86_64 defconfig
remove a bunch of features and ensure that EARLY_PRINTK works.
2013-04-23 20:47:42 -07:00
Brandon Philips
e466636348 chore(sys-kernel/coreos-kernel): bump to v3.8.8
bump to 3.8.8 and document the process
2013-04-23 17:45:22 -07:00
Brandon Philips
a0d7872352 fix(coreos-base/coreos-installer): Bump to get file shuffles
a bunch of files shuffled around between vboot/verity/coreos-installer.
Fix it all up by bumping.
2013-04-23 10:22:27 -07:00
Brandon Philips
a062b8db65 fix(eclass): grab upstream fixes for cros-workon 2013-04-23 09:03:47 -07:00
Brandon Philips
facff622b7 chore(coreos-base/coreos-base): bump to r54 2013-04-12 17:05:53 -07:00
Brandon Philips
ce6bb3cbe8 chore(sys-apps/portage): bump to latest 2.1.11.60 2013-04-12 16:24:30 -05:00
Brandon Philips
3805852179 feat(cros-kernel/x86_64): add XEN domu support
delete the CONFIG_XEN options from the kernel and add the domu features
that are listed on the wiki:

http://wiki.xen.org/wiki/Mainline_Linux_Kernel_Configs
2013-04-09 12:40:50 -07:00
Brandon Philips
d6d7bfa2a6 feat(eclass/cros-kernel): add XEN features
Add the CONFIG_XEN features and modules to the kernel to run on
openstack.
2013-04-08 23:11:39 -07:00
Brandon Philips
1bd0409992 fix(app-emulation): fixup dirs and deps
- add dep on iproute2 utility
- create the /var/lib/ dirs for the var_overlayc
2013-04-07 17:46:32 -07:00
Brandon Philips
d9d39ff9ba feat(cros-kernel): add MASQ config
add masq feature to the kernel for networking
2013-04-07 17:46:05 -07:00
Brandon Philips
0c0ef9a550 fix(app-emuilation/docker): Type=forking on service
In the previous commit we are forking out the docker process. We need to
set the type to forking.
2013-04-07 17:45:21 -07:00
Brandon Philips
163576a5ef hack(app-emulation/docker): fix exit under systemd
for some reason docker is crashing when exiting a container when being
supervised by systemd. Fork out for now. Real solution should be:
ExecStart=/usr/bin/docker -d -D -b lxcbr0
2013-04-07 16:03:06 -07:00
Brandon Philips
fc27727fa7 fix(eclass/cros-kernel): enable network features
we need a few more network features in our kernel
2013-04-07 15:02:06 -07:00
Brandon Philips
992d0dff12 fix(app-emulation/docker): fix for latest docker
- enable debug
- use -b flag so the latest docker networking works
2013-04-07 15:01:07 -07:00
Brandon Philips
9e7ca4531d fix(docker.service): remount everything as private
lxc uses pivot_root. pivot_root doesn't like shared mounts[1]. Disable
shared mounts before starting docker.

[1] https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/sect-Using_the_mount_Command-Mounting-Bind.html
2013-04-07 10:07:10 -07:00
Brandon Philips
4134ebd687 feat(cros-kernel/x86_64): add MULTI_DEVPTS
this is required for lxc containers to work
2013-04-05 18:36:12 -07:00
Brandon Philips
dac71e92b8 feat(cros-kernel/x86_64_defconfig): all CGROUP features
Add all of the CGROUP features to our kernel.
2013-04-05 18:34:22 -07:00
Brandon Philips
fb57cd4d36 chore(eclass/cros-kernel): remove exynos5_defconfig 2013-04-04 23:53:07 -07:00
Brandon Philips
920b2adfc3 fix(app-emulation/docker): more requires
needs libarchive and curl
2013-04-04 23:03:48 -07:00
Brandon Philips
462bd7ac3a chore(coreos-base/coreos): never fixing root-certificates
remove from the todo list, never fixing that package
2013-04-04 23:02:53 -07:00
Brandon Philips
b4237ee357 fix(coreos-base/coreos): import app-misc/ca-certificates
app-misc/ca-certificates is in portage-stable now.

This commit also drops coreos-base/root-certificates as we will just use
the app-misc/ca-certificates package until we need to do something
fancy.
2013-04-04 22:50:22 -07:00
Brandon Philips
a9e0dd4924 feat(profiles/linux/packages.use): enable aufs and bridge
turn on these features for the kernel for docker
2013-04-04 13:19:51 -07:00
Brandon Philips
edcb8a79bc feat(eclass/cros-kernel2.eclass): add the bridge feature
with the bridge use flag we will compile in network bridging support.
2013-04-04 13:18:44 -07:00
Brandon Philips
622d9c77b5 fix(app-emulation/docker): add lxcbr0 on startup
lxcbr0 is required for docker networking to work. Ensure that we get
that setup on startup and tear it down on stop.

https://github.com/dotcloud/docker/issues/219
http://stackoverflow.com/questions/15768121/docker-net-no-such-interface
2013-04-04 12:12:46 -07:00
Brandon Philips
fd9b373e12 feat(coreos-base/coreos): install docker by default 2013-04-03 22:38:08 -07:00
Brandon Philips
79824c0c3a fix(app-emulation/docker): requires brctl
http://stackoverflow.com/questions/15768121/docker-net-no-such-interface
2013-04-03 20:32:57 -07:00
Brandon Philips
23ca98dd2e fix(sys-kernel/coreos-kernel): use kernelrelease
kernelversion is not used for the binary file name. Use kernelrelease.
This fixes an issue where the /boot/vmlinuz symlink wasn't pointing at
the right file causing builds to fail.
2013-04-03 20:32:00 -07:00
Brandon Philips
1624a9d127 feat(app-emulation/docker): add docker
add docker and lxc
2013-04-03 17:47:57 -07:00
Brandon Philips
ee42fef192 feat(sys-kernel/coreos-kernel): add aufs
add aufs3 to the coreos kernel so we have an overlay filesystem.
2013-04-03 17:28:30 -07:00
Brandon Philips
c00c847956 fix(profiles/package.use): mask out cairo
pygobject is used by systemd-analyze and will want to bring in cairo, x,
etc. add -cairo to stop this.
2013-03-27 08:49:58 -07:00
Brandon Philips
c7d70116da bump(coreos-base/coreos-kernel): 3.8.4 bump
This version uses Greg KH's stable tree. All of the 3.x.0 releases will
come from Linus and all of the 3.x.1+ releases will come from Greg.
2013-03-27 08:48:05 -07:00
Brandon Philips
20f0602ea7 fix(coreos-base/hard-host-depends): re-enable update_engine
delta_generator is needed by the devserver. Since the update_engine
builds again enable this.
2013-03-25 13:09:35 -07:00
Brandon Philips
c65d1efef2 feat(coreos-base/coreos-init): enable ssh socket
enable sshd with socket activiation on boot.
2013-03-22 17:47:59 -07:00
Brandon Philips
bd6d88c877 fix(coreos/config): remove unneeded configs
the sudo config was filtering out pam.d configs necessary for sudo to
work. And these others aren't needed. Remove.
2013-03-22 17:46:43 -07:00
Brandon Philips
3b66beeee0 fix(sys-apps/portage): bump to the 2.1.11.58
the coreos patch is upstream in 2.1.11.58, use it:
bugs.gentoo.org/show_bug.cgi?id=462528
2013-03-22 14:34:01 -07:00
Brandon Philips
741ead2b7d fix(coreos-base/coreos-base): re-enable sshd_config
re-enable installation of our custom ssh config that puts the keys on
/mnt/stateful_partition.
2013-03-21 20:38:45 -07:00
Brandon Philips
8d8f32a484 fix(profiles): use the right directory
this was still pointing at the chromiumos directory which meant that
/etc/ssh/sshd_config from net-misc/openssh wasn't getting filtered
causing coreos-base/coreos-base not to lay down our fixed config.
2013-03-21 20:37:02 -07:00
Brandon Philips
402be3267e feat(coreos-base/coreos-init): start ssh at boot
startup ssh on bootup
2013-03-21 20:14:35 -07:00
Brandon Philips
512e611766 fix(coreos-base/coreos): add wget, remove flashrom tools
add wget for binpkg fetching and remove flashrom tools
2013-03-20 14:38:58 -07:00
Brandon Philips
02fa5176f2 fix(sys-apps/portage): move portage into our tree
I had to patch portage to fix a bug with gmerge. This patch is in
files/resolver-output-check-for-None-mainRepo.patch and has been
accepted upstream:

https://bugs.gentoo.org/show_bug.cgi?id=462528
2013-03-20 14:36:14 -07:00
Brandon Philips
06edb2afd7 fix(coreos-base/dev-install): bump to latest version
this fixes a problem where
/build/amd-64-generic/etc/portage/make.profile was getting created which
introduced a package.provided file causing build_image to fail.
2013-03-19 19:04:02 -07:00
Brandon Philips
3738617d13 fix(coreos-base/coreos): add coreos-init to the root images 2013-03-19 16:24:52 -07:00
Brandon Philips
940b96f2e2 fix(sys-kernel/coreos-kernel): linux-2.6 is now linux.git
the repo locations for the linux kernel moved. move our URL
2013-03-19 13:49:40 -07:00
Brandon Philips
b95cf50544 fix(coreos-base/update_engine): get it all building
get update_engine building with all of its dependencies
2013-03-19 13:45:21 -07:00
Brandon Philips
61dff332cc fix(coreos-base): add workarounds packages
needed for crosh, add it
2013-03-18 18:51:34 -05:00
Brandon Philips
f0f7634f9a fix(coreos/binhost): use the new coreos sdk
use the version built on 20130307
2013-03-18 18:35:33 -05:00
Brandon Philips
7b79b2dd71 fix(coreos-base/coreos): add crosh 2013-03-07 14:53:55 -08:00
Brandon Philips
b706053d6d fix(coreos-base/hard-host-depends): add less
life is annoying without less, add it
2013-03-07 11:12:20 -08:00
Brandon Philips
acf1ae83d2 fix(coreos-base/update_engine): use git
use git for update_engine while we are hacking on it
2013-03-06 19:43:42 -08:00
Brandon Philips
74be5320ea bump(coreos-base/update_engine): get new libchrome 2013-03-06 18:31:06 -08:00
Brandon Philips
3b88b3b573 bump(coreos-base/metrics): bump to use latest libchrome
get this building against the new libchrome
2013-03-06 18:17:18 -08:00
Brandon Philips
3fde52aff9 fix(coreos/config): use both osuosl and chromeos mirrors
we need chromeos mirrors for stable packages and osuosl for new ones. In
the future we will mirror our own stable packages.
2013-03-06 17:55:10 -08:00
Brandon Philips
3bad80c322 fix(dev-libs/dbus-c++): patch to fix pthread
In the future we should provide our own tarball based on the git source
code but this is fine for now.
2013-03-06 17:53:57 -08:00
Brandon Philips
660198d949 chore(sys-devel/binutils): re-import from chromeos
we need/want -gold. re-import from chromeos and remove from
portage-stable
2013-03-06 11:30:52 -08:00
Brandon Philips
d67ee93760 chore(eclass): bump to latest code from chromeos 2013-03-06 11:30:52 -08:00
Brandon Philips
7b68e4b6fe chore(eclass): remove unneeded stuff
I imported a bunch of stuff needlessly when I first started working,
remove it.
2013-03-06 11:30:52 -08:00
Brandon Philips
9ae5ae4e29 feat(coreos-base/coreos): re-add update_engine
It is compiling now re-enable update_engine for the VM builds.
2013-03-05 15:57:21 -08:00
Brandon Philips
b4cbe3b30d fix(coreos-base/update_engine): fix -9999 version
- fixup the dependencies to point at coreos-base
- point at 180609 version of libchrome
2013-03-04 18:20:33 -08:00
Brandon Philips
958fbef795 bump(coreos-base/libchrome): bump to 180609
also remove the wno-c++11 flag which is breaking with our compiler
2013-03-04 18:19:31 -08:00
Brandon Philips
0f9b8373c7 fix(coreos-base/libchromeos): bump to 180609 2013-03-04 18:16:02 -08:00
Brandon Philips
5f367b0869 fix(dev-libs/libdivsufsort): RESTRICT="mirror"
the gentoo mirrors don't have this package, download from Google code
for now.
2013-03-04 16:00:12 -08:00
Brandon Philips
7b34d5c9bb fix(coreos-base/update_engine): get it building
update all of the dependencies for the update engine to get it buliding
2013-02-28 15:08:59 -08:00
Brandon Philips
239b9fdc61 chore(dev-libs/gobject-instrospection): add
needed to modify upstream to depend on python 2.6 instead of python 2.7
2013-02-27 17:05:11 -08:00
Brandon Philips
afa57ae713 fix(coreos-base/coreos-base): mount /var/run tmpfs
with root readonly we need /var/run as a tmpfs for dbus, etc to come up
2013-02-27 16:58:09 -08:00
Brandon Philips
a91cf9f493 fix(eclass/toolchain-funcs): restore gcc-pie/gcc-ssp
these are used by the ebuilds inherited from chromeos to figure out if
we are doing PIE or SSP. Don't delete them yet.
2013-02-26 13:40:56 -08:00
Brandon Philips
0d840cb5f6 fix(systemd-rest/motd-http): die on build failure 2013-02-26 08:44:44 -08:00
Brandon Philips
6a020a87f1 fix(coreos-base): add empty fstab file
this file should have gone into 4f1807d25f2a33738bb5df74bbeeefe626478229
2013-02-26 08:42:34 -08:00
Brandon Philips
54743927bb feat(coreos-base/hard-host-depends): add golang 2013-02-26 08:41:55 -08:00
Brandon Philips
b574fd002d fix(coreos-base): add pygobect and clear fstab
pygobject is needed for systemd-analyze. And /etc/fstab was causing the
slow boot because of an invalid SWAP entry.
2013-02-26 08:40:37 -08:00
Brandon Philips
52898f4088 feat(sys-kernel): use upstream kernel
move our kernel to Linus's 3.8
2013-02-25 07:50:48 -08:00
Brandon Philips
5e3690c3ce fix(coreos-base/coreos-dev): remove powertop
Powertop is having trouble building and we don't have a strong use case
right now, remove it.
2013-02-25 06:53:36 -08:00
Brandon Philips
837e234c43 chore(dev-cpp/gmock): move to portage-stable 2013-02-24 19:58:18 -08:00
Brandon Philips
a397d76bba fix(versions): netperf and sqlite bump 2013-02-24 15:50:30 -08:00
Brandon Philips
0356a1783f fix(moves): dev-db/sqlite and dev-libs/m17n-libs
move these packages to portage-stable
2013-02-24 15:48:52 -08:00
Brandon Philips
28c0ab43c8 fix(coreos-base/efunctions): fixup efuncitons ebuild
this fix makes the efunctions build properly link into
/etc/init.d/functions.sh
2013-02-24 15:05:09 -08:00
Brandon Philips
598829d8b7 fix(profiles): remove invalid atoms 2013-02-24 15:03:50 -08:00
Brandon Philips
01f9793c01 fix(coreos-base/hard-host-depends): bootstub is required
bootstub is required to build images
2013-02-22 09:26:53 -08:00
Brandon Philips
8a993cab04 feat(efunctions): add initial version 2013-02-22 09:25:53 -08:00
Brandon Philips
ceab69fd2c fix(profiles/default): unmask efunctions and add comments
unmask efunctions and add comments on other masks added
2013-02-22 07:28:38 -08:00
Brandon Philips
95f7410ed9 fix(coreos-base/coreos-installer): cleanup dependencies
these must depend on vboot_reference, make it so
2013-02-21 17:56:07 -08:00
Brandon Philips
f9dcefb00c fix(coreos/hard-host-depends): add the installer
this is required for build image
2013-02-21 17:14:47 -08:00
Brandon Philips
0bb9c4b961 chore(profiles/chromeos): delete unneeded chromeos profiles 2013-02-21 17:14:47 -08:00
Brandon Philips
05c50bbaaa fix(targets/coreos): remove thin provisioning from lvm
This drops boost from the dependency list for a feature that we don't
need. Win win.
2013-02-21 09:53:56 -08:00
Brandon Philips
8667a764be fix(profiles/coreos): accept keywords for motd-http 2013-02-21 09:53:56 -08:00
Brandon Philips
f36783f36e fix(profiles/coreos): accept keywords for motd-http 2013-02-20 17:33:15 -08:00
Brandon Philips
e00d7d83ee fix(profiles/coreos): add systemd-rest to accept_keywords 2013-02-20 14:04:10 -08:00
Brandon Philips
9dabcaac88 feat(coreos-base/motd-http): add coreos-base/motd
add the initial version of the coreos-base/motd-http ebuild.
2013-02-20 14:03:54 -08:00
Brandon Philips
d1fd5812e5 feat(coreos-base/coreos): install systemd-rest
install systemd-rest by default
2013-02-18 00:27:02 -08:00
Brandon Philips
ce29b581f8 feat(coreos-base/coreos): install dhcpcd by default
get networkign working
2013-02-18 00:26:34 -08:00
Brandon Philips
bf0a6b7aca fix(coreos-base/coreos-base): systemd macro not working
workaround!
2013-02-18 00:26:01 -08:00
Brandon Philips
04b4a268af feat(app-admin/systemd-rest): initial commit 2013-02-18 00:23:38 -08:00
Brandon Philips
6470124500 feat(coreos-base/coreos-base): enable dhcp by default
replace shill with dhcpcd for now.
2013-02-17 20:19:09 -08:00
Brandon Philips
9288b2cdb8 chore(net-misc/dhcpcd): move to portage-stable
moving to grab the systemd unit file
2013-02-17 19:39:34 -08:00
Brandon Philips
2e5cc6d68f feat(eclass/cros-kernel): remove SECURITY_CHROMIUMOS
we don't want to lock down while things are moving (see breaking) fast
2013-02-17 18:51:20 -08:00
Brandon Philips
1bbbb0b73a fix(coreos-base/coreos-dev): add python argparse for systemd-analyze
dev-python/argparse is needed for systemd-analyze, install it.
2013-02-17 18:38:11 -08:00
Brandon Philips
d5f1419e30 feat(coreos-base/coreos-base): add motd
add a motd
2013-02-17 18:35:45 -08:00
Brandon Philips
dfe4fc10c8 fix(coreos-base/coreos-base): correct dosym order
dosym argument order is: src target
2013-02-17 17:52:05 -08:00
Brandon Philips
2d16ca4934 fix(profiles/coreos): use ~amd64 for go
we need go, unmask it
2013-02-17 17:48:36 -08:00
Brandon Philips
91252e1ee3 fix(coreos/config): use core user
use core, not chronos
2013-02-17 17:46:52 -08:00
Brandon Philips
3e6cd53bc3 feat(profiles): add golang ~amd64 keyword
we need golang and accept that it is "unstable"
2013-02-17 17:28:15 -08:00
Brandon Philips
d924c83f9c fix(coreos-base/coreos-base): add /etc/mtab symlink
this is the right way of doing this, do it.
2013-02-17 17:23:53 -08:00
Brandon Philips
0e3f1d4dba chore(coreos-base/coreos): remove chromeos-base from TODO 2013-02-17 14:29:36 -08:00
Brandon Philips
16936d05cb fix(coreos-base/coreos): add sudo and find
sudo and find had been pulled in by update_engine and crosh. Make it
explicit.
2013-02-17 12:08:28 -08:00
Brandon Philips
be9f5685e4 fix(coreos-base/vboot_reference): fixup libchrome dep
make sure that libchrome gets installed with vboot_reference
2013-02-17 11:29:13 -08:00
Brandon Philips
e13f0fbb1e chore(coreos-base/coreos): remove systemd-sysv from TODO
this is done, remove from TODO
2013-02-17 11:28:11 -08:00
Brandon Philips
a4f5d5fd47 feat(coreos-base/coreos-base): let core sudo
let the core user sudo!
2013-02-16 23:04:14 -08:00
Brandon Philips
7097be26b9 feat(coreos-base/coreos-base): rename chronos to core
use the way cooler sounding name of core :)
2013-02-16 23:02:38 -08:00
Brandon Philips
15958c1767 fix(coreos-base/coreos-base): do not link /sbin/init
depend on the systemd sysv package now
2013-02-16 23:02:38 -08:00
Brandon Philips
24598ef577 fix(targets/coreos): misc package tweaks
add a couple of use flags and ~amd64 unmasks to get things building
2013-02-16 13:44:12 -08:00
Brandon Philips
2302cbdf1b fix(coreos-base): re-add the vboot_reference dependency
vboot_reference is required to get syslinux installing properly
2013-02-16 10:54:23 -08:00
Brandon Philips
32dbd1fc42 fix(coreos-base/coreos): pull out DEPENDS
pull out a number of depends that don't work right now.
2013-02-16 10:47:34 -08:00
Brandon Philips
a162b17905 hack(coreos-base/chromeos-base): comment out file changes that conflict
these file changes conflict with other packages. Fix them up later.
2013-02-16 10:46:45 -08:00
Brandon Philips
d9972cd9a7 feat(coreos-base/gmerge): add gmerge ebuild 2013-02-16 10:46:16 -08:00
Brandon Philips
7ccb7368e7 hack(coreos-base/coreos-base): use systemd as init
symlink in systemd to /sbin/init. This will need to be fixed by using
sys-apps/systemd-sysv-utils but it is conflicting at the moment.
2013-02-16 10:43:53 -08:00
Brandon Philips
866d40f809 fix(dev-util/lcov): move EAPI
fix a warning from portage about EAPI being too low in the file
2013-02-16 10:25:36 -08:00
Brandon Philips
0878506225 chore(dev-libs/glib): bump from portage 2013-02-16 10:16:25 -08:00
Brandon Philips
a6eac37e5e chore(dev-db/m17n-db): move to portage-stable 2013-02-16 10:08:34 -08:00
Brandon Philips
8b9415b63b chore(sys-apps/portage): move to portage-stable 2013-02-16 10:08:16 -08:00
Brandon Philips
1b174f51da chore(net-misc/openssh): move to portage-stable 2013-02-16 10:07:11 -08:00
Brandon Philips
3e772fb37e chore(net-misc/iputils): move to portage-stable 2013-02-16 10:06:59 -08:00
Brandon Philips
1813578e88 chore(sys-boot/syslinux): move into portage-stable 2013-02-15 16:53:14 -08:00
Brandon Philips
252e1d5418 chore(dev-libs/libxml2): move into portage-stable 2013-02-15 16:52:34 -08:00
Brandon Philips
e9e3a8b157 fix(profile): mask out newer versions of syslinux
syslinux 3.0 series works for now and the google guys use it, just
stick with the program.
2013-02-15 16:15:10 -08:00
Brandon Philips
bce961ffad fix(coreos-base/chromeos-installshim): remove shill
we don't need or want shill at this time, remove it.
2013-02-15 14:20:14 -08:00
Brandon Philips
cf75dac80f fix(profiles): add two categories
missed two categories, add them to stop portage from complaining
2013-02-15 14:19:27 -08:00
Brandon Philips
7aa086dde1 fix(make.defaults): use SYMLINK_LIB=no
this makes the variable match the comment _and_ it makes the baselayout
bump work.
2013-02-15 13:28:46 -08:00
Brandon Philips
55c0ce007e fix(package.use): remove python use flag from libxml
don't pull python into the base image.
2013-02-15 13:28:14 -08:00
Brandon Philips
e60e4edbcf fix(package.mask): remove mask on syslinux
lets use the upstream syslinux as it should work.
2013-02-15 13:27:39 -08:00
Brandon Philips
2f35cda962 fix(profiles): add ~amd64 to core packages
this was all needed to get the new baselayout
2013-02-15 13:26:49 -08:00
Brandon Philips
b8777f450f Revert "fix(coreos-base): use grub-static not grub"
This was a mistake, dont't do this. Use grub2 imported into
portage-stable.
2013-02-12 11:45:49 -08:00
Brandon Philips
1107ab36d3 fix(profiles/default): add -static to libjpeg 2013-02-12 11:45:26 -08:00
Brandon Philips
6db1144e1d Revert "chore(sys-kernel): Delete and use upstream"
This reverts commit 544437e892f6a2d004c67fbe0c4a632ea5a55827.
2013-02-12 08:41:53 -08:00
Brandon Philips
1c01de58a1 chore(sys-kernel): Delete and use upstream 2013-02-12 06:59:02 -08:00
Brandon Philips
0f64b833eb chore(package moves): move packages to portage-stable 2013-02-12 06:50:46 -08:00
Brandon Philips
25a96d53e6 chore(app-i18n/ibus-m17n): Delete
we don't need ibus in coreos, delete it
2013-02-11 17:43:26 -08:00
Brandon Philips
029267b874 chore(eclass): bump
add all of the new eclasses to make importing upstream portage possible.
2013-02-11 13:16:47 -08:00
Brandon Philips
a4b066c9ed chore(sys-apps/dtc): move to portage-stable
coreos will never need to fiddle with this package. Just move to portage-overlay.
2013-02-11 13:15:22 -08:00
Brandon Philips
a06ad7e417 fix(coreos-base/hard-host-depends): remove closure compiler
we don't need closure, remove it.
2013-02-11 12:24:54 -08:00
Brandon Philips
3647fa4544 import chromeos stuff 2013-02-08 11:12:07 -08:00
Brandon Philips
1db2fb44e8 wip 2013-02-08 11:11:55 -08:00
Brandon Philips
372e4a1fcf working, sort of 2013-02-08 11:09:11 -08:00
Brandon Philips
29275e6de2 fix(profiles): add the berkdb use flag on gdbm 2013-02-07 11:31:52 -08:00
Brandon Philips
8787d218bf feat(coreos): add required packages for board setup 2013-02-06 16:47:19 -08:00
Brandon Philips
f5f9ed6fcc feat(autotest): add all of the autotest stuff from chromeos 2013-02-06 16:46:25 -08:00
Brandon Philips
4c07794257 chore(parent): rename to coreos 2013-02-06 16:09:42 -08:00
Brandon Philips
7d1e0f3c41 fix(baselayout): HACK use doinitd
without doinitd functions.sh will be deleted.
2013-02-06 15:30:27 -08:00
Brandon Philips
f2600f70d5 feat(baselayout): add baselayout from chromeos
gives us function.sh in /etc/init.d
2013-02-06 14:24:46 -08:00
Brandon Philips
425fb83fe0 fix(coreos): USE_PYTHON="2.6"
Don't use python3, it is a disaster
2013-02-06 11:45:15 -08:00
Brandon Philips
301d230a5c fix(profiles): don't statically compile qemu
don't use static, it doesn't work.
2013-02-06 11:44:02 -08:00
Brandon Philips
249cc37d90 fix(coreos-base): use grub-static not grub
grub-0.97-r12:  * Call stack:
grub-0.97-r12:  *     ebuild.sh, line  93:  Called src_compile
grub-0.97-r12:  *   environment, line 4283:  Called die
grub-0.97-r12:  * The specific snippet of code:
grub-0.97-r12:  *               die "You must use the grub-static package if you want a static Grub on amd64!";
2013-02-05 17:18:39 -08:00
Brandon Philips
6510d003ab fix(coreos-base): install setup tools
1.6.4 ...
beaker-1.6.4:  * Building of dev-python/beaker-1.6.4 with CPython 2.7...
beaker-1.6.4: python2.7 setup.py build -b build-2.7
beaker-1.6.4: Traceback (most recent call last):
beaker-1.6.4:   File "setup.py", line 5, in <module>
beaker-1.6.4:     from setuptools import setup, find_packages
beaker-1.6.4: ImportError: No module named setuptools
beaker-1.6.4:  * ERROR: dev-python/beaker-1.6.4 failed (compile phase):
beaker-1.6.4:  *   Building failed with CPython 2.7 in distutils_building() function
2013-02-05 17:16:06 -08:00
Brandon Philips
f9e96ee158 fix(coreos-base): remove conflicts with base layout
Detected file collision(s):

	/etc/sysctl.conf
	/etc/ssh/sshd_config
	/etc/ssh/ssh_config
	/bin/sh
	/usr/libexec/pager
	/usr/libexec/editor
	/usr/bin/awk
2013-02-05 17:15:19 -08:00
Brandon Philips
ad1e0a5425 fix(packages): Remove lots of unneeded packages 2013-02-05 16:09:56 -08:00
Brandon Philips
0d056e1bdc chore(profiles): rename to coreos 2013-02-05 16:09:41 -08:00
Brandon Philips
0cac8e0f0c fix(coreos-base): remove vboot_reference stuff
we don't need the chromeos bootloader, delete it
2013-02-05 16:07:27 -08:00
Brandon Philips
bf68ef96aa fix(virtual): add hard-host-depends-bsp
add this virtual for hard-host-depends
2013-02-05 16:05:25 -08:00
Brandon Philips
b0260921bc fix(profile): move package.keywords to accept_keywords
this is the new location in gentoo, do it!
2013-02-05 16:02:47 -08:00
Brandon Philips
96aa6ae7c8 remove chromeos stuff 2013-02-05 15:53:07 -08:00
Brandon Philips
adbebe18df wip 2013-02-05 14:50:09 -08:00
Brandon Philips
55a2b35b24 WIP 2013-02-05 11:59:29 -08:00
Brandon Philips
0f9184b51b coreos-base: initial commit 2013-02-05 11:47:38 -08:00
Brandon Philips
81921ecf6c initial commit 2013-02-04 18:24:12 -08:00