Commit Graph

8296 Commits

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