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