Commit Graph

158 Commits

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