Commit Graph

326 Commits

Author SHA1 Message Date
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
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
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