28179 Commits

Author SHA1 Message Date
Brandon Philips
75fff35514 fix(mount_gpt_image): fixup mount options
mount was getting upset about the additional -o flag. Fix it up so that
ro gets appended to the other mount options.
2013-05-19 17:25:49 -07:00
Brandon Philips
a6df1edaea fix(cros_image_to_target): don't patch_kernel
CoreOS doesn't have a Kernel partition, don't try to run with
patch_kernel
2013-05-19 17:23:40 -07:00
Brandon Philips
4057d5590d feat(disk_layout): follow new CoreOS partition layout
As outlined here we need a new partition layout, this patch makes the
necessary changes:
https://groups.google.com/forum/#!topic/coreos-dev/bA7gwGGoTng

The first big change is making all of the scripts obey partition numbers
based on labels in the disk_layout.json. This makes it much easier to
change later on.

The second big change is in the layout itself. The json file was updated
to reflect the document above.

And finally the grub boot configuration needed for pv-grub and pygrub
were added to the create_legacy_bootloader_templates.sh library utlity.

Everything seems to work and boot now.
2013-05-12 12:31:03 -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
6ddbd07952 feat(dev-vcs/bzr): import dependencies of pyxenstore
Import dependencies for pyxenstore, needed by nova agent. Both of these
are in the coreos-overlay.
2013-05-10 22:09:09 -07:00
Brandon Philips
8ded021896 bump(coreos-base/coreos): bump rev so everyone gets kexec 2013-05-08 21:49:40 -07:00
Brandon Philips
dcb12f250a Merge pull request #1 from gregkh/master
add sys-apps/kexec
2013-05-08 21:44:56 -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
be7a09d64d feat(image_to_vm): setup grub/menu.lst for xen
xen requires a /boot/grub/menu.lst for pygrub and pvgrub on partition 1.
Put it on the stateful partition for now and come back around and fix
this up when we redo the partition layout.
2013-05-03 18:34:45 -07:00
Brandon Philips
edf40e1863 fix(build_library/legacy_bootloader): add menu.lst entries
these entries are needed for pvgrub, pygrub. Add them!
2013-05-03 18:17:21 -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
386ac79bd6 feat(build_library/container): more fixes
this sets up the container to a reasonable level. I stopped using this
container tool after I the dev server got up and running so YMMV.
2013-04-30 18:39:09 -07:00
Brandon Philips
1af100bc04 feat(core_update_developer_track): upload developer track build
a utility to make uploading the developer-track from an SDK easier.
Usage can be found by simply running the command with no arguments.
2013-04-30 18:30:32 -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
b274a41f11 fix(image_to_vm): cleanup qemu-kvm output
- have the command use -curses to save people hassle on ssh sessions
- forward ssh too
- clean formatting up a bit
2013-04-25 08:47:59 -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
a066174340 chore(dev-cpp/gtest): bump to latest version 2013-04-23 09:58:50 -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
de935ef74b chore(app-misc/ca-certificates): import from portage 2013-04-04 22:25:53 -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
bebb18a6c8 chore(net-misc/bridge-utils): import bridge-utils 2013-04-03 20:36:15 -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