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