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
Brandon Philips
35e037708c
Merge pull request #61 from philips/bump-update-engine
...
bump(coreos-base/update_engine): grab the bootid
2013-07-09 13:47:27 -07:00
Brandon Philips
b8781eebaf
bump(coreos-base/update_engine): grab the bootid
2013-07-09 13:46:46 -07:00
Michael Marineau
39843ab8be
fix(profiles): Move the mirror list from make.conf to profiles.
...
Another piece of migrating as much as possible into our profiles, this
should fix a current error blocking bootstrap_sdk builds.
2013-07-09 10:38:30 -07:00
Michael Marineau
77fb08aa5e
bump(coreos-base/update_engine): Update stable release to latest code
...
The stable ebuild hasn't been bumped to include quote a lot of recent
work yet so lets do that. :)
2013-07-09 01:49:00 -04:00
Michael Marineau
8d95c0cd31
bump(coreos-base/cros-devutils): update to latest code
...
This pulls in recent changes to cros_generate_update_payload
2013-07-08 22:16:03 -07:00
Michael Marineau
e155f11fb2
fix(cros-workon.eclass): Add support for projects in src/platform
...
We no longer have any correlation between ebuild category and whether
the local checkout can be found in src/platform or src/third_party.
Instead provide a new variable to manually specify which it should be.
As-is it isn't possible to build local changes in src/platform trees.
2013-07-08 22:04:14 -07:00
Brandon Philips
12acedc881
Merge pull request #58 from philips/remove-all-x11
...
chore(x11-*): remove all x11 packages
2013-07-08 12:07:23 -07:00
Brandon Philips
51042194d2
Merge pull request #55 from philips/pair-down-ebuilds
...
Pair down ebuilds
2013-07-08 12:07:07 -07:00
Brandon Philips
bd9e8ec324
fix(coreos-base/vboot_reference): use github.com/coreos
...
Make this ebuild use the coreos github projects not Google's
2013-07-07 22:48:38 -07:00
Brandon Philips
83d598dc8f
chorse(coreos-base/hard-host-depends): remove m17n
...
remove m17n means that we no longer depend on x11 in the sdk.
2013-07-07 22:41:35 -07:00
Brandon Philips
6a8f10845d
chore(x11-*): remove all x11 packages
...
we don't need x11 anymore after remove crosh. Dump all of these ebuilds.
2013-07-07 22:12:57 -07:00
Brandon Philips
507915a9f5
bump(coreos-base/vboot_reference): bump to get coreos guids
...
CoreOS has its own GPT guids now. Use them.
2013-07-07 21:28:48 -07:00
Brandon Philips
04c28bb122
fix(coreos-base/vboot_reference): put into bumpable format
...
use the symlink trick to make this ebuild bumpable
2013-07-07 21:26:24 -07:00
Brandon Philips
37c5dea19f
fix(coreos-base/coreos): remove crosh
...
crosh isn't really needed for coreos and particularly we don't need the
dependency on x11. Kill it!
2013-07-07 21:13:49 -07:00
Brandon Philips
126b50b99e
chore(x11-drivers): remove unneeded ebuilds
2013-07-07 18:55:58 -07:00
Brandon Philips
e43a016307
chore(dev-embedded): remove uneeded ebuilds
2013-07-07 18:55:58 -07:00
Brandon Philips
a26b37e306
chore(dev-java/icedtea6-bin): remove
2013-07-07 18:55:58 -07:00
Brandon Philips
745715959d
chore(net-wireless/*): remove everything
...
Lets not worry about having coreos support wireless for now :)
2013-07-07 18:55:58 -07:00
Brandon Philips
bfdc8d5058
chore(coreos-base): remove unused ebuilds
...
Remove leftover things from chromeos
2013-07-07 18:49:51 -07:00
Michael Marineau
4bf1f47d2b
feat(profiles): Add lbzip2 to base system package set
...
lbzip2 is surprisingly fast and is particularly useful for dealing with
large archives and filesystem images. In a similar vein pbzip2 has been
used for handling binary packages for a while but lbzip2 seems a bit
better. Since I plan on using the heck out of lbzip2 add it to the build
and system package sets. While mucking around might as well start
swapping pbzip2 for lbzip2 for consistency's sake although it doesn't
seem to matter much for binary packages. For now we can only switch
make.conf for targets, the host make.conf can't change till everyone's
SDK has lbzip2 installed.
2013-07-06 00:04:24 -04:00
Brandon Philips
4301a804c7
feat(update_engine): add reboot manager experiment
...
Eventually this will talk to the API and coordinate with the rest of the
host group but for now lets right a bash script and reboot in 60
seconds.
2013-07-05 16:08:54 -07:00
Brandon Philips
bf144a7eed
fix(coreos-au-key): copy the public key explicitly
...
The public key wasn't getting put in the right spot. Copy it explicitly
to fix.
2013-07-05 14:11:49 -07:00
Michael Marineau
1193f7d12e
Merge pull request #52 from marineam/packages
...
fix(config): Use official release packages for targets.
2013-07-05 12:43:24 -07:00
Michael Marineau
0557445d0c
Merge pull request #51 from marineam/bindist
...
fix(profiles): Apply the bindist flag to both the SDK and targets
2013-07-05 12:43:00 -07:00
Michael Marineau
c64903dda1
fix(config): Use official release packages for targets.
...
We now build target packages!
2013-07-05 15:32:11 -04:00
Michael Marineau
7af661170d
fix(profiles): Apply the bindist flag to both the SDK and targets
...
Previously only targets were being built with bindist but we should
build the SDK with it as well. This avoids the re-compile of openssl,
openssh, and freetype when creating a new chroot since the SDK tarballs
are already built with the bindist flag. Also turn the bindist flag back
on for freetype in the target profile, we don't need ClearType sub-pixel
rendering on our systems. :)
2013-07-05 15:17:32 -04:00
Brandon Philips
bf8ce573cd
feat(coreos-au-key): add an ebuild to put dev keys on image
...
This places a dev signing key on disk for testing purposes. As noted in
the ebuild a production key will replace this key when building official
images.
2013-07-05 11:52:38 -07:00
Brandon Philips
ce476ecc6c
feat(update_engine): restart a second after death
...
It is possible that update_engine will crash. Try to recover by
restarting the update_engine but wait some seconds first.
2013-07-03 15:12:30 -07:00
Brandon Philips
3efa5def15
chore(coreos-init): mv update-engine.service into update_engine ebuild
...
move the service file to the ebuild where it belongs.
2013-07-03 15:12:30 -07:00
Michael Marineau
d344cf783d
fix(cros_sdk): Update default SDK tarball version.
...
Update to latest release. cros_sdk is still using this file instead of
version.txt in the manifest because it needs a tarball that already
exists when building a new version for the first time. At some point
that will work differently but for now we'll have to keep this file.
2013-07-03 16:11:01 -04:00
Michael Marineau
2c46f36489
fix(config): Update the SDK make.conf to refer to the current version.
...
This means that we will always get the correct set of binary packages
for our current manifest version.
2013-07-03 15:52:55 -04:00
Michael Marineau
a09f4ee92f
fix(config): Move USE_PYTHON into profiles.
...
Unlikely this is actually needed right now but it isn't hurting either.
Will remove it once we move to Python 2.7.
2013-07-03 15:37:15 -04:00
Michael Marineau
7018c2d527
fix(config): Remove make.conf options that duplicate profile defaults.
...
We were already using the default for CFLAGS, etc. LDFLAGS had
--as-needed but that has gone into the default Gentoo profile so we
ought to move it there as well. Also, ld's -O1 and -O2 are equivalent so
use the profile default -O1.
2013-07-03 15:20:16 -04:00
Michael Marineau
4147cfa1ba
fix(coreos): Get version from manifest, export COREOS_ names
...
The version will now be tracked in the manifest so the old
coreos_version.sh needs to source it from there. Also export variables
with a COREOS_ prefix in addition to CHROMEOS_ since the latter name
isn't really correct. This is particularly true for the data published
via lsb_release.
2013-07-02 15:05:10 -04:00
Brandon Philips
915483da08
fix(profiles): unmask go-1.1*
...
unmask the 1.1 series so we don't have to keep editing this file.
2013-07-01 14:22:52 -07:00
polvi
b6fda4784c
Merge pull request #45 from philips/bump-criu
...
bump(sys-process/criu): bump to 0.6
2013-07-01 13:04:28 -07:00
Brandon Philips
fb3c813e38
bump(sys-process/criu): bump to 0.6
...
- bump to criu 0.6
- remove the ~amd64 KEYWORDS since it is in our overlay
2013-07-01 13:00:04 -07:00
Greg Kroah-Hartman
4397bbb97e
fix(sys-kernel/coreos-kernel) bump kernel version to 3.10.0
...
This allows the checkpoint/restore dump and check commands to work
properly, due to the new netlink dump code in this release.
2013-07-01 10:18:18 -07:00
Michael Marineau
c134fa7a1f
Merge pull request #43 from philips/fixup-lsb-release
...
fix(coreos): use production CoreOS values
2013-06-30 19:49:42 -07:00
Michael Marineau
598ae99fdf
Merge pull request #42 from philips/remove-chromeos
...
chore(*): remove chromeos ebuilds and files
2013-06-30 19:47:24 -07:00
Brandon Philips
62260a1fa6
fix(coreos-base/crash-reporter): don't use chromeos*
...
fixup crash-reporter ebuild to not use chromeos* ebuilds.
2013-06-30 19:45:11 -07:00
Michael Marineau
ad24124af4
Merge pull request #41 from philips/bump-core-admin
...
feat(coreos-base/core-admin): bump to the latest version
2013-06-30 19:44:31 -07:00
Brandon Philips
c4f562c62c
fix(coreos-base/update_engine): use coreos-ca-certificates
...
missed fixing this up. Use the coreos-ca-certificates.
2013-06-30 19:42:56 -07:00
Brandon Philips
18e3d5ca50
fix(coreos): use production CoreOS values
...
use production values for CoreOS in /etc/lsb-release
2013-06-30 19:17:43 -07:00
Brandon Philips
6066b8c19d
chore(*): remove chromeos ebuilds and files
...
lots of stuff isn't needed from chromeos anymore, remove it.
2013-06-30 19:05:59 -07:00
Brandon Philips
f161183b12
feat(coreos-base/core-admin): bump to the latest version
...
new version has metadata features
https://github.com/coreos/core-admin/pull/1
2013-06-30 18:48:25 -07:00
Brandon Philips
a899bae69e
Merge pull request #40 from marineam/gsutil
...
bump(net-misc/gsutil): Bump gsutil to version 3.31, add dependencies
2013-06-28 15:51:07 -07:00
Michael Marineau
22dad59d87
Merge pull request #39 from gregkh/kernel_update
...
fix(sys-kernel/coreos-kernel) bump kernel version to 3.9.8
2013-06-28 11:17:12 -07:00
Michael Marineau
f30674864e
bump(net-misc/gsutil): Bump gsutil to version 3.31, add dependencies
...
This includes a new gsutil verison which is not yet in upstream portage
along with new ebuilds for a couple of its dependencies that are also
not in portage:
dev-python/google-api-python-client
dev-python/socksipy-branch
Also, dev-python/python-gflags is included here to apply two extra
patches that fix some unit tests and add mark that it conflicts with the
old version of dev-cpp/gflags that we had been using up until now.
Hopefully all this will be merged upstream soon:
https://bugs.gentoo.org/show_bug.cgi?id=468080
2013-06-28 14:09:12 -04:00
Greg Kroah-Hartman
55fd5a865f
fix(sys-kernel/coreos-kernel) bump kernel version to 3.9.8
...
Pull in all of the good fixes, especially in the networking area, that
the 3.9.8 kernel provides.
2013-06-27 19:36:20 -07:00
unclejack
cc0bc03984
make docker run directly under systemd without forking
...
Docker seems to be working fine now under systemd. Some recent code
changes have fixed the problems we were running into before.
What has been tested while running docker directly under systemd:
1. docker run
2. docker pull
3. docker images
4. docker rm
2013-06-27 17:07:18 +03:00
Michael Marineau
8d82de1789
Merge pull request #36 from philips/update-engine-ca-certs2
...
feat(coreos-base/update_engine): use coreos-ca-certificates
2013-06-25 13:35:13 -07:00
Brandon Philips
602b91cb25
feat(coreos-base/update_engine): use coreos-ca-certificates
...
stop using the chromeos ca certificates and use coreos's instead.
2013-06-25 13:26:20 -07:00
Brandon Philips
a659278dc5
Merge pull request #35 from philips/update-engine-ca-certs
...
add(coreos-base/coreos-ca-certificates): initial commit
2013-06-25 13:21:56 -07:00
Brandon Philips
0d012e162b
fix(coreos-base/coreos-ca-certificates): fix copyright
2013-06-25 13:20:31 -07:00
Brandon Philips
8377cc66eb
add(coreos-base/coreos-ca-certificates): initial commit
2013-06-25 11:22:53 -07:00
Brandon Philips
1c9e245fe3
fix(coreos-base): move resolv.conf to /var/run
...
tested on a vm. This makes it possible to do read-only root and have the
glibc resolver work.
2013-06-24 16:57:16 -07:00
Michael Marineau
ab9c27fbda
fix(config): Switch distfiles mirror list to our own
...
These two mirrors are generated specifically from our own overlays so
they should always include everything we need. The default Gentoo mirror
is provided simply as a sane backup.
2013-06-24 11:57:37 -04:00
Michael Marineau
9a421d52cf
fix(mobile-broadband): Remove workaround for bug that doesn't exist
...
Fix the last of the bogus errors in the coreos overlay, removing this
hack makes the SRC_URI lines valid again and all tools are happy now.
2013-06-23 23:49:58 -04:00
Michael Marineau
2b095a82a5
fix(coreos-overlay): Add missing or fix incomplete Manifests
...
emirrordist will refuse to handle files that are not included in the
Manifest file. To keep things happy just sweep across the tree adding
them. (A lot of these packages could actually go away, but that is a
different project for another day).
2013-06-23 23:41:28 -04:00
Michael Marineau
8f85d10990
fix(coreos-overlay): Fix improper EAPI declarations
...
EAPI needs to be the first thing in an ebuild. This clears up useless
errors from tools scanning the tree like emirrordist.
2013-06-23 23:33:26 -04:00
Michael Marineau
202ef5dff1
fix(profiles): Go back to the stable portage version
...
sys-apps/portage-2.1.12.2 is now stable which is new enough for us.
2013-06-23 20:53:45 -04:00
Michael Marineau
e886ae277a
Merge pull request #31 from marineam/efunc
...
fix(sys-apps/efunctions): Fix INSTALL_MASK to remove init.d
2013-06-23 11:37:54 -07:00
Michael Marineau
ebab2fa013
fix(sys-apps/efunctions): Fix INSTALL_MASK to remove init.d
...
When installing with the default make.conf in full effect
/etc/init.d/functions.sh will be excluded which is the whole point of
the efunctions package in the first place. This should fix that.
2013-06-23 14:31:40 -04:00
Brandon Philips
f4436a6b47
fix(app-emulation/docker): add sys-fs/aufs-util
...
Fixes #29 by making auplink available
2013-06-23 10:29:46 -07:00
Brandon Philips
a9e80eab93
fix(coreos-base/coreos-experimental): fix LICENSE
...
version 2 not @
2013-06-23 09:49:49 -07:00
Brandon Philips
a51df506da
fix(coreos-base/coreos): fixup the description
...
correct url and description fields.
2013-06-23 08:34:36 -07:00
Brandon Philips
9317fcbdad
fix(coreos-base/coreos): move experimental packages to new ebuild
...
These projects are still maturing. Move them into an ebuild people can
build manually for now.
2013-06-23 08:31:56 -07:00
Michael Marineau
3bb649138d
fix(coreos/config): Remove CPU options copied from overlay-amd64-generic
...
-march=x86-64 is meaningless and -msse3 by definition makes the build
not quite generic even if it is probably safe.
2013-06-22 20:22:58 -04:00
Michael Marineau
3f7bcba442
fix(coreos/config): Cleanup make.conf spaghetti, change target binhosts.
...
Replace ChromiumOS target binhosts with our own. The auto-generated
files have been stubbed out and configs for targets we don't currently
support have been removed. MARCH_TUNE is now defined here.
After this change target binhosts will defined here and
/etc/make.conf.board and overlay-amd64-generic/make.conf are no longer
used. The new setup_board only creates /etc/make.conf.board_setup.
2013-06-22 17:51:58 -04:00
Brandon Philips
55ec02e342
Merge pull request #25 from marineam/bootstrap
...
Bootstrap
2013-06-22 11:51:00 -07:00
Michael Marineau
e18841a44a
fix(coreos-base/hard-host-depends): Add cvs to SDK chroot
...
This is required for the update_ebuilds command.
2013-06-22 10:58:29 -04:00
Michael Marineau
84572f0e9e
fix(coreos/config): Switch download host to our own CNAME
...
We now have http://storage.core-os.net/ working so use that instead of
the generic Google host name.
2013-06-22 10:48:22 -04:00
Michael Marineau
ab0efd5d28
fix(coreos/config): Replace old ChromiumOS SDK binhosts and tarball.
...
Building our own packages so we don't want the old ones! This is just a
first stage, automated builds aren't going yet and I'm not covering
amd64-generic and its cross toolchain, just the sdk.
The old binhost/host/*.conf files are just stubbed out until I'm
positive nothing else is referring to them.
2013-06-22 00:30:10 -04:00
Michael Marineau
518bc10ded
fix(coreos-base/update_engine): Add missing dependency to stable ebuild.
...
This fix previously made it into the live ebuild but not the stable one.
2013-06-22 00:30:10 -04:00
Michael Marineau
b7bde0b21c
fix(profiles): Don't use live ebuilds by default.
...
As-is catalyst and cros-workon's live ebuilds don't mix since the
catalyst chroot does not provide /mnt/host like the sdk chroot does.
Besides, only people actively working on a project should use the live
versions since anyone else will install it one time and then never
upgrade after that, even when the version marked stable is actually
newer than their old live build.
For SDK builds this means not accepting ~amd64 for core-admin and
update_engine and adding a stable ebuild for core-admin. (update_engine
already has a stable ebuild which is even up-to-date)
2013-06-22 00:30:10 -04:00
Michael Marineau
19ceed57ab
fix(profiles): Add shadow to the bootstrap package list
...
Despite the big scary warning saying otherwise upstream Gentoo has
actually included shadow in this list since 2011 (while also forgetting
to delete the warning, cute!). Not having it here runs the risk of
causing a failure during catalyst builds if something tries to add a
system user or group before shadow gets installed.
Upstream commit:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/profiles/default/linux/packages.build?r1=1.5&r2=1.6
2013-06-22 00:30:10 -04:00
Michael Marineau
2dde5c7215
fix(profiles): Move USE from make.conf to make.defaults in profiles.
...
Moving more things into the profiles means we eventually reduce the
magic around generating make.conf and aids bootstrapping.
2013-06-22 00:30:10 -04:00
Michael Marineau
18db4d8f86
add(sys-apps/efunctions): Replace coreos-base version with generic one.
...
This version of efunctions does not depend on cros workon and git to
install and thus is suitable for bootstrapping. It also uses the
original author as the upstream rather than a coreos mirror. Since it is
not coreos specific any more I've moved it to sys-apps.
Added to both system and bootstrap package sets.
For extra fun it is also in my new systemd-only Gentoo overlay:
https://github.com/marineam/systemd-only-overlay
2013-06-22 00:30:10 -04:00
Michael Marineau
3f94c8ab1e
fix(profiles): Add 'curl' to bootstrap use flags.
...
We are still using the Google toolchain which is in git, so add curl
support the bootstrapped git package so it can fetch the toolchain.
2013-06-22 00:30:10 -04:00
Michael Marineau
2e4405c3ec
fix(profiles): Add 'threads' to the bootstrap use flags
...
This works around a dependency issue caused by our newer portage ebuilds
depending on +threads in our older python ebuilds. Will go away later.
2013-06-22 00:30:10 -04:00
Michael Marineau
9b53896653
fix(profiles): Drop references to virtual/portage
...
The old-style virtual/portage is gone and replaced by a new-style
virtual/package-manager in Gentoo. For now just use sys-apps/portage
since that's all we want anyway.
2013-06-22 00:30:09 -04:00
Michael Marineau
7c9a447541
add(profiles): Add profiles.desc to identify valid profiles
2013-06-22 00:30:09 -04:00
unclejack
9bf1948e3f
enable IPv4 forwarding
2013-06-20 20:30:28 +03:00
unclejack
5eb00202e0
let docker set up its own bridge
2013-06-20 20:29:20 +03:00
Greg Kroah-Hartman
9750d3979c
fix(cros-kernel/x86_64_defconfig) enable some more vlan modules
...
Enable:
CONFIG_MACVLAN=m
CONFIG_MACVTAP=m
CONFIG_VETH=m
Docker needs VETH, and might use MACVLAN in the future, it can't hurt to
enable them, they take up no running space if not used.
2013-06-18 12:37:01 -07:00
Greg Kroah-Hartman
337010c50d
fix(cros-kernel/x86_64_defconfig) enable CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
...
Docker uses this to manage the network containers properly.
2013-06-18 12:35:27 -07:00
Brandon Philips
0bc914a973
Merge pull request #21 from gregkh/kernel_slimdown
...
fix(cros-kernel/x86_64_defconfig) disable ext3 and ext2
2013-06-18 12:29:01 -07:00
Greg Kroah-Hartman
0d779e0a36
fix(cros-kernel/x86_64_defconfig) enable CONFIG_MEMCG_SWAP_ENABLED
...
This is requested so that cgroups can swap properly.
2013-06-18 11:45:39 -07:00
Michael Marineau
d86b12d982
fix(make.conf): Disable force-mirror
...
This feature forces emerge to only fetch sources from mirrors, never the
SRC_URI provided in actual ebuilds. Disabling this should fix our issues
with portage tarballs vanishing. :-D
2013-06-18 13:38:22 -04:00
Greg Kroah-Hartman
b8332bffac
fix(cros-kernel/x86_64_defconfig) disable ext3 and ext2
...
ext4 can, and should, handle both of these filesystems now, so have it
do so.
2013-06-16 20:57:19 -07:00
Michael Marineau
0213194ec7
Merge pull request #20 from gregkh/kernel_slimdown
...
Kernel slimdown
2013-06-14 17:55:58 -07:00
Greg Kroah-Hartman
352e260000
fix(cros-kernel/x86_64_defconfig) disable HOTPLUG_PCI
...
The kernel does not need HOTPLUG_PCI enabled, so turn it off, which
disables a number of other unneeded drivers as well.
2013-06-14 14:36:10 -07:00
Greg Kroah-Hartman
45da329724
fix(cros-kernel/x86_64_defconfig) turn off SELINUX
...
SELinux does not need to be enabled in the kernel, so turn it off and
fall back to the "default" Linux security model
2013-06-14 14:12:26 -07:00
Greg Kroah-Hartman
095359b384
fix(cros-kernel/x86_64_defconfig) enable vmware drivers
...
Build the vmware drivers so that machines can be properly managed on
those systems.
2013-06-14 14:10:44 -07:00
Greg Kroah-Hartman
2a7d97cae3
fix(cros-bootkernel/x86_64_defconfig_boot) enable vmware drivers
...
Enable the vmware drivers which were somehow not being built.
2013-06-14 13:59:06 -07:00
Greg Kroah-Hartman
e66fffd4e5
fix(cros-bootkernel/x86_64_defconfig_boot) disable unneeded crypto modules
...
Now that the ethernet drivers are gone, we can disable a number of the
crypto modules that are no longer needed.
2013-06-14 13:41:16 -07:00
Greg Kroah-Hartman
d8175c1d5f
fix(cros-bootkernel/x86_64_defconfig_boot) disable CONFIG_PPS
...
This is no longer needed for the boot kernels, as we disabled ethernet
devices.
2013-06-14 13:32:10 -07:00
Greg Kroah-Hartman
7ce163dd33
fix(cros-bootkernel/x86_64_defconfig_boot) disable ACPI_HED and NETPRIO_CGROUP
...
Neither of these options are needed for the boot kernel, so disable
them.
2013-06-14 13:27:42 -07:00
Greg Kroah-Hartman
bd6c4a5373
fix(cros-bootkernel/x86_64_defconfig_boot) disable CONFIG_I2C
...
I2C is not needed for the boot kernel, so disable it, removing a bunch of
build options and modules.
2013-06-14 12:58:31 -07:00
Greg Kroah-Hartman
c98d19b9a5
fix(cros-bootkernel/x86_64_defconfig_boot) disable HOTPLUG_PCI
...
The boot kernel does not need HOTPLUG_PCI, so disable it, and the video
output control option.
2013-06-14 12:51:09 -07:00
Greg Kroah-Hartman
ba7d7d37cb
fix(cros-bootkernel/x86_64_defconfig_boot) build in VIRTIO drivers
...
The VIRTIO drivers should be built into the boot kernel.
Also disable OPENVSWITCH, as that is not needed in the boot kernel.
2013-06-14 12:38:09 -07:00
Greg Kroah-Hartman
b89f6118ed
fix(cros-bootkernel/x86_64_defconfig_boot) disable CONFIG_ETHERNET
...
No ethernet drivers are needed for the boot kernel, so disable them all.
2013-06-14 12:27:26 -07:00
Greg Kroah-Hartman
13cf49daa4
fix(cros-bootkernel/x86_64_defconfig_boot) more config cleanups
...
Build in a few ACPI drivers, and remove some hardware-specific drivers
that the boot kernel will never see.
Also disable CONFIG_WATCHDOG, as the boot kernel should never be alive
long enough for a watchdog to need to kick in.
2013-06-14 12:20:58 -07:00
Greg Kroah-Hartman
e24e8c95aa
fix(cros-bootkernel/x86_64_defconfig_boot) disable ISCSI
...
The boot kernel does not need ISCSI, so disable it.
2013-06-14 12:10:17 -07:00
Greg Kroah-Hartman
a98531f4c0
fix(cros-bootkernel/x86_64_defconfig_boot) disable DRM
...
The boot kernel does not need DRM, so disable it.
2013-06-14 12:05:42 -07:00
Greg Kroah-Hartman
03b11a07de
fix(cros-bootkernel/x86_64_defconfig_boot) disable some more network modules
...
The boot kernel does not care about bonding, tun/tap, or some other
minor network modules, so disable them.
2013-06-14 12:01:17 -07:00
Greg Kroah-Hartman
f1b77b9b5e
fix(cros-bootkernel/x86_64_defconfig_boot) enable HYPERV
...
Always build in the HYPERV modules and core to the bootkernel, as they
will be needed when booting on a Hyper-V system.
2013-06-14 11:56:51 -07:00
Greg Kroah-Hartman
6569caa690
fix(cros-bootkernel/x86_64_defconfig_boot) disable FUSE and PSTORE
...
These two options are not needed in a boot kernel.
2013-06-14 11:51:57 -07:00
Greg Kroah-Hartman
050d586ac1
fix(cros-bootkernel/x86_64_defconfig_boot) disable ext2 and ext3
...
The ext4 filesystem can handle both of these types of images, so only
build it, and not the others.
2013-06-14 11:45:39 -07:00
Greg Kroah-Hartman
6108e1c22a
fix(cros-bootkernel/x86_64_defconfig_boot) disable some filesystems
...
The boot kernel does not need aufs, xfs, btrfs, or vfat, so disable them
all.
2013-06-14 11:42:58 -07:00
Greg Kroah-Hartman
f8462139d6
fix(cros-bootkernel/x86_64_defconfig_boot) disable network filesystems
...
The boot kernel is not going to have to find a network filesystem, so
just disable those entirely.
2013-06-14 11:37:33 -07:00
Greg Kroah-Hartman
20c5ae7d64
fix(cros-bootkernel/x86_64_defconfig_boot) disable SELINUX
...
The boot kernel only needs the default Linux security model, so disable
SELinux and the other kernel security models.
2013-06-14 11:34:01 -07:00
Greg Kroah-Hartman
41d51ec880
fix(cros-bootkernel/x86_64_defconfig_boot) remove some network modules
...
There are a number of network protocols not needed for the boot kernel.
As these were being built as modules, just remove them, they are not
needed.
2013-06-14 11:23:23 -07:00
Greg Kroah-Hartman
d8103c93c2
fix(cros-bootkernel/x86_64_defconfig_boot) disable netfilter the like
...
The bootkernel doesn't need netfilter, and some other networking kernel
modules to be enabled, as all this kernel needs to do is to find the
root partitions and then boot them. So disable those kernel options
entirely.
2013-06-14 11:23:23 -07:00
Greg Kroah-Hartman
b8bec84f14
fix(cros-bootkernel/x86_64_defconfig_boot) build in the Xen modules
...
The boot kernel shouldn't have kernel modules, otherwise it will be a
two-step build process for the whole kernel/initrd package, so just
build in the Xen modules to the kernel image itself.
2013-06-14 11:23:23 -07:00
Greg Kroah-Hartman
d3284c9668
feat(cros-kernel/x86_64_defconfig) enable kvm
...
This lets the guest os host another guest os in a kvm machine.
It's turtles all the way down...
2013-06-13 12:50:28 -07:00
Greg Kroah-Hartman
6ad8262d5b
Merge pull request #17 from gregkh/bootkernel
...
feat(coreos-bootkernel) add coreos-bootkernel ebuild
2013-06-12 18:34:53 -07:00
Greg Kroah-Hartman
798c5718ff
fix(coreos-bootkernel) remove commented out line in ebuild
...
Found during code review, good eye.
2013-06-12 18:34:09 -07:00
Greg Kroah-Hartman
9bd4fb24b0
feat(coreos-bootkernel) add coreos-bootkernel ebuild
...
This is a separate kernel package, and configuration, for the "boot"
kernel. It reuses the same eclass for kernel builds, but does two
things differently for boot kernels:
- no boot/vmlinuz symlink
- picks the boot version of the kernel configuration.
2013-06-12 17:27:46 -07:00
Brandon Philips
020e18a61a
feat(profile): accept all portage-2.1.12*
...
2.1.12 has the CoreOS bugfix patch accept all of them
2013-06-12 17:10:06 -07:00
Greg Kroah-Hartman
4091bc7913
fix(eclass/cros-kernel/x86_64_defconfig) add ACPI support
...
This adds ACPI support to the kernel, which Azure needs in order to
properly boot. Also added is the needed disk drivers, and other hyper-v
drivers.
Bonus is that the shutdown problem is fixed for kvm images, they no
longer hang forever.
2013-06-12 14:54:01 -07:00
Brandon Philips
ff0d10e07c
Merge pull request #14 from gregkh/kernel-cleanup
...
Kernel versioning fixes
2013-06-12 10:27:47 -07:00
Greg Kroah-Hartman
ebf6e21b71
fix(eclass/cros-kernel/x86_64_defconfig) add pcnet32 support
...
This adds the two pcnet drivers to the kernel build, so that the image
will have working networking in a VirtualBox instance.
2013-06-12 10:21:18 -07:00
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