Commit Graph

920 Commits

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