Commit Graph

1107 Commits

Author SHA1 Message Date
Greg Kroah-Hartman
99ab86de80 fix(sys-apps/systemd) move the patch to the proper filename
The ebuild was expecting a different name for this patch, so fix it.
2014-03-13 23:11:41 +00:00
Greg Kroah-Hartman
06b3b6fee8 bump(sys-apps/systemd) Manifest update 2014-03-13 23:11:02 +00:00
polvi
65c9b6ca00 Merge pull request #413 from polvi/rackspace
feat(rackspace): update rackspace to use cloudinit
2014-03-13 15:12:20 -07:00
Alex Polvi
f3c5730ee9 remove uneeded link 2014-03-13 15:11:32 -07:00
Michael Marineau
ef88f21b44 Merge pull request #416 from marineam/deps
Dep fixes
2014-03-13 14:48:49 -07:00
Michael Marineau
d90d28d828 fix(coreos-devel/sdk-depends): Install debinutils in SDK
The kernel's "make install" step requires /sbin/installkernel provided
by this package to work properly.
2014-03-13 14:45:02 -07:00
Michael Marineau
2ded1a4b4c add(sys-boot/syslinux): Custom ebuild with better dependencies.
- Depend on util-linux
- Optionally depend on perl, don't install perl scripts when disabled.
2014-03-13 14:44:48 -07:00
Alex Polvi
a256c77723 bump ebuild 2014-03-13 13:07:57 -07:00
Alex Polvi
d1bb412f10 feat(cloudinit): add oem cloudinit unit 2014-03-13 12:31:40 -07:00
Alex Polvi
31596f8d84 Merge branch 'rackspace' of https://github.com/polvi/coreos-overlay into rackspace
Conflicts:
	coreos-base/coreos-cloudinit/coreos-cloudinit-9999.ebuild
	coreos-base/nova-agent-watcher/nova-agent-watcher-9999.ebuild
	coreos-base/oem-rackspace/files/run
2014-03-13 10:04:22 -07:00
Alex Polvi
8a9ba9dab5 bump(): coreos-cloudinit and nova-agent-watcher 2014-03-13 10:01:06 -07:00
Alex Polvi
fea10c7ad1 wip, add nova-agent-watcher powered by cloudinit 2014-03-13 09:55:41 -07:00
Alex Polvi
d2b07a1981 feat(rackspace): update rackspace to use cloudinit 2014-03-13 06:40:58 +00:00
Greg Kroah-Hartman
1f00f07259 fix(sys-apps/systemd) allow booting without /etc/os-release
systemd will not boot if /etc/os-release is not present.

We "know" better, and can recover from a lost /etc/ directory, so patch
out the test.  This is only for "real" booting, not for nspawn
containers at this point in time as we aren't booting full system images
that way.  Yet.
2014-03-13 01:50:24 +00:00
Michael Marineau
268e6ad51e Merge pull request #412 from marineam/quickfix
Fix cros-installer removal
2014-03-12 18:45:30 -07:00
Alex Polvi
e920f6c9f9 wip, add nova-agent-watcher powered by cloudinit 2014-03-13 01:45:29 +00:00
Michael Marineau
d908869b86 fix(coreos-base/*): Clean up cros-installer and cros-factoryutils
cros-installer has already been removed, clean up lingering references.
cros-factoryutils installed nothing, just remove the ebuild.
2014-03-12 18:40:27 -07:00
Michael Marineau
ee6a563e5d bump(coreos-base/cros-devutils): Now includes chromeos-common.sh
This file was previously installed by the coreos-installer package.
2014-03-12 18:31:45 -07:00
Michael Marineau
f05b5bba5e bump(sys-firmware/edk2-ovmf): Update to new snapshot 2014-03-12 18:01:08 -07:00
Michael Marineau
5f39539fe6 fix(profiles): Unmask newer versions of SYSLINUX 2014-03-12 18:01:08 -07:00
Michael Marineau
486057cfb0 add(sys-firmware/edk2-ovmf): Add UEFI firmware for QEMU
To use either run qemu with:
  -bios efi-bios.bin
Or:
  -L path/to/usr/share/edk2-ovmf

The latter is useful if you want to use the OVMF built by the SDK
outside of the SDK. Using UEFI with the QEMU instance inside the CoreOS
SDK is kinda awkward because serial doesn't work and UEFI uses a VGA
graphics framebuffer mode, not VGA text mode so -curses doesn't work
either. In any case, it is a start.
2014-03-12 18:01:08 -07:00
Michael Marineau
6b37a812fb bump(coreos-base/update_engine): Support for /usr images 2014-03-12 17:48:14 -07:00
Michael Marineau
b09375f94f remove(coreos-base/coreos-installer): replaced by a small shell script
The tools this provided are moving to update_engine.
2014-03-12 14:41:17 -07:00
Michael Marineau
9f453bc519 fix(sys-kernel/coreos-kernel): Install kernel image to /usr/boot
/boot is not included in /usr images
2014-03-12 14:41:17 -07:00
Michael Marineau
ef90a41059 bump(coreos-base/cros-devutils): Various fixes for /usr images. 2014-03-12 14:41:17 -07:00
Michael Marineau
b7018ba599 bump(coreos-base/vboot_reference): small cgpt update 2014-03-12 14:41:14 -07:00
Greg Kroah-Hartman
b52758b530 Merge pull request #409 from gregkh/systemd
bump(sys-apps/systemd) systemd is now version 211
2014-03-12 10:41:10 -07:00
Greg Kroah-Hartman
3c85a057c8 bump(sys-apps/systemd) systemd is now version 211
Also add a patch to fix the journal file permission issue.
2014-03-11 23:40:14 -07:00
Michael Marineau
209a08f8b6 Merge pull request #408 from marineam/cgpt
bump(coreos-base/vboot_reference): New cgpt version
2014-03-11 21:05:20 -07:00
Michael Marineau
642416619b bump(coreos-base/vboot_reference): New cgpt version
Supports looking up disks via partition device nodes.
2014-03-11 18:20:01 -07:00
Greg Kroah-Hartman
c9321f682a fix(coreos-base/coreos): add iproute2 to the base image
It got removed from the system when dhcpd went away
2014-03-11 15:38:40 -07:00
Greg Kroah-Hartman
495b49070f fix(sys-apps/systemd) Update to latest 210-stable version
Should resolve a bunch of reported issues.
2014-03-11 12:04:19 -07:00
Greg Kroah-Hartman
236263d969 bump (sys-kernel/coreos-kernel) bump to 3.13.6
Also enable qla2xxx driver.
2014-03-11 10:32:06 -07:00
Michael Marineau
2fa43168ce bump(sys-kernel/bootengine): drop resize module
Moving to btrfs means we don't need to resize before mounting.
2014-03-10 18:54:52 -07:00
Michael Marineau
351df16adb bump(coreos-base/vboot_reference): New cgpt version
Tolerates btrfs, better protective MBR support and adds hybrid MBR support.
2014-03-10 18:54:52 -07:00
Michael Marineau
702e4e91a4 bump(coreos-base/coreos-init): Enable btrfs resizing on boot. 2014-03-10 18:54:52 -07:00
Brandon Philips
64b1d60c2b bump(app-emulation/docker): initial bump to docker 0.9.0 2014-03-10 10:55:43 -07:00
Michael Marineau
00ac788b2c fix(sys-apps/baselayout): Bump to include resolv.conf tmpfiles config. 2014-03-06 14:54:52 -08:00
Brian Waldon
2e3db5e81c Merge pull request #399 from bcwaldon/add-cloudinit
Add init rdepend; update coretest
2014-03-06 14:48:08 -08:00
Brian Waldon
143905f49e bump(coretest): Use latest coretest
commit 03512eea351cd7903b070b4969c1dd764a27928b
2014-03-06 14:08:54 -08:00
Brian Waldon
40012d4144 fix(coreos-init): Add rdepend on coreos-cloudinit 2014-03-06 13:49:13 -08:00
Michael Marineau
f876a41a38 fix(sys-apps/baselayout): Create resolv.conf symlink except in SDK
networkd uses its own location for generating resolv.conf and a new
tmpfiles rule creates a symlink to it in both -generic and -usr images.
This is not applicable to SDK so remove the rule in that case.
2014-03-06 13:46:06 -08:00
Michael Marineau
39e9317596 feat(app-emulation/docker): Add .network configs for networkd
These will match docker0 and the assorted veth* interfaces before the
default dhcp enabled network config does so networkd leaves them alone.
2014-03-06 13:46:06 -08:00
Michael Marineau
d323185a61 feat(coreos-base/coreos): Add brctl
It would be nice if it was possible to look at the state of the docker0
bridge, so here is the proper tool to do that.
2014-03-06 12:59:00 -08:00
Michael Marineau
bed5a73bab feat(coreos-base/coreos): Add btrfs-progs 2014-03-05 21:33:17 -08:00
Alex Polvi
b266c2de65 bump coreos/init commit 2014-03-05 19:12:30 -08:00
Alex Polvi
ec211798a1 bump coreos-init 2014-03-05 19:09:13 -08:00
Alex Polvi
717e8f2e18 bump package 2014-03-05 18:40:44 -08:00
Alex Polvi
29feb5fbd0 feat(networkd): drop dhcpcd 2014-03-05 18:38:51 -08:00
Alex Polvi
740b8aaafd feat(systemd): bump to 210 2014-03-05 16:35:14 -08:00
Brian Waldon
1ff174f1eb Merge pull request #392 from bcwaldon/bump-coreos-cloudinit
bump(coreos-cloudinit): Upgrade coreos-cloudinit ebuild to v0.1.1
2014-03-05 15:21:24 -08:00
Brian Waldon
d55cf9ec5d bump(coreos-cloudinit): Upgrade coreos-cloudinit ebuild to v0.1.1 2014-03-05 14:55:15 -08:00
Michael Marineau
250c39b2d2 fix(sys-libs/glibc): Remove nsswitch.conf transitional symlink code
The transition to the new baselayout is complete so this can go away.
2014-03-05 11:30:42 -08:00
Michael Marineau
aa140ca72c fix(make.conf): Stop disabling assorted safety features.
I don't think disabling any of these is gaining us anything and could
possibly help catch or prevent assorted issues.
2014-03-05 11:28:19 -08:00
polvi
0d3bca59a7 Merge pull request #389 from polvi/coreos-cloudinit
feat(cloudinit): add cloud init to image
2014-03-05 10:42:55 -08:00
Greg Kroah-Hartman
48814e996e Merge pull request #390 from gregkh/kernel_update
feat(sys-kernel/coreos-kernel) enable DM_MULTIPATH and MEGARAID_SAS
2014-03-05 10:11:26 -08:00
Greg Kroah-Hartman
29217e4a32 feat(sys-kernel/coreos-kernel) enable DM_MULTIPATH and MEGARAID_SAS 2014-03-04 21:28:14 -08:00
Alex Polvi
61eeea9b46 bump to 0.1.0 2014-03-04 21:18:47 -08:00
Alex Polvi
03b9f7a3d5 feat(cloudinit): add cloud init to image 2014-03-04 19:11:03 -08:00
Michael Marineau
67e77500f3 fix(sys-apps/systemd): Don't enable services in /etc, move to /usr 2014-03-04 16:56:19 -08:00
Michael Marineau
cf07cc9834 fix(sys-apps/systemd): Fix default.target in /usr instead of /etc 2014-03-04 16:14:07 -08:00
Michael Marineau
3df2a112de bump(sys-apps/systemd*): Bump ebuilds with new keywords to force rebuilds 2014-03-04 14:44:19 -08:00
Michael Marineau
90bea6d943 Merge pull request #385 from marineam/systemd2
Systemd 210
2014-03-04 14:26:42 -08:00
Michael Marineau
033256241a feat(sys-apps/systemd): Start networkd by default 2014-03-04 14:19:51 -08:00
Michael Marineau
53a574bc5c fix(sys-apps/systemd): Refresh 210 and live ebuilds from Gentoo
This merges changes made upstream. Important changes include:
 - An alternative pkg-config fix, previously fixed in 209 in 7830090d
   but dropped in the bump to 210 in d333420b.
 - Drops networkd use flag, it is always built now.
 - New 210.9999 stable branch live ebuild.
2014-03-04 14:07:50 -08:00
Brian Waldon
05f7af5cbc bump(fleet): Bump fleet ebuild to v0.1.4 2014-03-04 13:57:16 -08:00
Michael Marineau
02848a9a23 fix(sys-apps/systemd): Use stable keywords for systemd 207
Mark our old 207 ebuild as stable and 210 as unstable so we can continue
systemd testing in master.
2014-03-04 13:52:18 -08:00
Alex Polvi
b7e1c4ed13 fix(sys-apps/systemd): add patch for loginuid issue 2014-03-04 12:18:33 -08:00
Greg Kroah-Hartman
e02d6120cd bump(sys-apps/systemd) bump to 210 release
Fixes first boot and journald issues for me.
2014-03-04 12:14:38 -08:00
Michael Marineau
33d8346a7d fix(sys-apps/systemd): Patch pkg-config instead of enabling compat libs.
Enabling compat libs is causing ld errors. To keep things like dbus
compiling we can instead just provide the old pkg-config files.

Patch from https://bugs.gentoo.org/show_bug.cgi?id=501860
2014-03-04 12:13:03 -08:00
Michael Marineau
23b38f3e9f fix(sys-apps/systemd): Fix a few upstream changes/issues. Add 209.
- Restore openrc use flag, we don't want to pull it in.
- Change cpp #if LIVE to bash if statements to symlinks work.
- Depend on a newer libseccomp, build fails with old versions.
- Depend on lxml if python is enabled.
- Add version 209!
2014-03-04 12:13:03 -08:00
Michael Marineau
c6910588e4 bump(sys-apps/systemd): sync live ebuild with upstream + local changes
This pulls in the latest changes from Gentoo as of 21 Feb 2014 along
with the CoreOS changes we made in the 207 ebuild.

Hard mask kdbus flag. We don't need to tread into those waters yet.

We will be trying networkd but leave the flag disabled until someone
wants to start working with it.
2014-03-04 12:13:03 -08:00
Michael Marineau
2ee19425ca fix(sys-apps/baselayout): Do not symlink resolv.conf to /run in SDK 2014-03-04 10:49:35 -08:00
Michael Marineau
ac3d032969 fix(sys-kernel/bootengine): Fix KEYWORDS
Screwed this up in 8a6339 :(
2014-03-03 21:12:45 -08:00
Michael Marineau
4ef4835864 bump(sys-kernel/bootengine): fixes for booting /usr images
Also move to the combined stable/live ebuild scheme.
2014-03-03 20:19:20 -08:00
Michael Marineau
d86bf14fb3 feat(coreos-devel/sdk-depends): Add btrfs-progs to SDK 2014-03-03 16:20:22 -08:00
Michael Marineau
8d12b549db bump(sys-kernel/bootengine): Include resize module 2014-03-03 15:42:32 -08:00
Michael Marineau
1349fa6758 fix(profiles): Add which to stage1 bootstrap.
libseccomp calls which in its ./configure script so when building stage3
if which isn't already there the build will fail. This is quick fix.

Reported upstream: https://bugs.gentoo.org/show_bug.cgi?id=502084
2014-03-03 11:36:57 -08:00
Michael Marineau
868cb54029 fix(sys-apps/baselayout): Use custom script to generate /etc/group
I misunderstood the documentation for systemd-tmpfiles, if a string to
write to a file is provided it will always write it, even if the file
already exists and doesn't need to be created. This means that using
tmpfiles to initialize /etc/group results appending each boot.

Instead use a little script instead, also initialize passwd and shadow
so that the `passwd` command works for the core user.

Make use of the systemd eclass where applicable.
2014-03-03 11:35:02 -08:00
Michael Marineau
d5dc30a75b clean(sys-apps/dbus): Remove unused ebuilds 2014-03-03 11:35:02 -08:00
Michael Marineau
d5a69d23f4 fix(sys-apps/dbus): Add slot dependency on systemd
This will force a recompile of dbus when systemd's sub-slot changes as
it did from 207->209 when some lib versions changed.
2014-03-03 11:35:02 -08:00
Greg Kroah-Hartman
9e42439e0e Merge pull request #376 from gregkh/kernel_update
bump(sys-kernel/coreos-kernel) bump to 3.13.5
2014-03-01 21:05:20 -08:00
Brandon Philips
29b8690b51 feat(app-emulation/docker): bump docker-0.8.1-r1
In the last patch I modified docker-0.8.1.ebuild directly. That was
wrong. This time I copy the ebuild, add the epatch and leave
docker-0.8.0 unmodified. This also changes the patch to reflect what is
waiting for a merge upstream.
2014-03-01 11:38:41 -08:00
Greg Kroah-Hartman
b24eb4ce0e bump(sys-kernel/coreos-kernel) bump to 3.13.5 2014-03-01 10:06:31 -08:00
Brandon Philips
d47ee54798 fix(app-emulation/docker): fix up socket activation problem
This includes a patch that was sent upstream for docker 0.8.1 SA
problems.
2014-02-28 21:48:51 -08:00
polvi
e783534cab Merge pull request #371 from bcwaldon/bump-fleet
bump(fleet): Bump fleet ebuild to v0.1.3
2014-02-28 07:45:31 -08:00
polvi
1bdf518e21 Merge pull request #368 from marineam/etc-fixes
New timezone-data and ca-certificates packages
2014-02-28 07:45:13 -08:00
Brian Waldon
ba81aca8f8 bump(fleet): Bump fleet ebuild to v0.1.3 2014-02-22 11:48:06 -08:00
Michael Marineau
c246c60c12 bump(sys-kernel/coreos-kernel): Bump revision, cleanup old ebuilds. 2014-02-20 12:37:02 -08:00
xaduha
abd363e16b feat(sys-kernel/coreos-kernel): Enable VFIO modules
Original thread:
https://groups.google.com/forum/#!topic/coreos-dev/MGxSfJNdNkM
2014-02-20 12:32:43 -08:00
Michael Marineau
1e25d77df7 add(app-misc/ca-certificates): Add new CA cert package.
This package is based exclusively on the Mozilla certificate store
distributed in their NSS library and adopts NSS's version accordingly.
It replaces the previous Gentoo package which came directly from Debian.

The Debian package package had a couple issues we didn't like:

 - Trusts the http://cacert.org root CA which isn't the worst thing in
   the world to do but seems like a really bad default policy to ship.
 - update-ca-certificates had a confusing configuration/hook scheme
   which seemed almost useful but completely obnoxious and useless to
   CoreOS at the same time. systemd-tmpfiles plus a simpler script does
   a better job for us.

The python script certdata2pem.py came from Debian's source package
ca-certificates_20130119 and modified slightly. It is only used at
build-time to convert the file format used by NSS to PEM files.

The old packages used dates as the version, this one uses the NSS
library the certificate store came from as the version. This may cause
an issue if packages from Gentoo depend on >=ca-certificates-20080809 or
similar. Currently the only packages in Gentoo that do so are
sci-misc/boinc and www-client/epiphany, neither of which will ever be
needed in CoreOS so we should be OK.
2014-02-20 09:09:37 -08:00
Michael Marineau
f1e075510b add(sys-libs/timezone-data): Import latest stable timezone ebuild
This is a copy of the current stable version from Gentoo but without the
extra junk code to try to create /etc/localtime which we don't need.
2014-02-19 13:48:58 -08:00
Michael Marineau
83dfaeae34 fix(make.conf): Remove custom fetch and tar commands.
Switch to portage's default (wget) for fetching. wget is nice and
reports the URL it is downloading while curl does not. This makes
understanding errors like '404' actually somewhat possible.

The --checkpoint arg to tar didn't serve much of a useful purpose as far
as I know besides adding to the build noise. Just drop it.
2014-02-19 13:37:07 -08:00
Brandon Philips
e6ae6dc2a2 bump(app-emulation/docker): 0.8.1 release 2014-02-18 17:32:36 -08:00
Michael Marineau
8bf7e09970 fix(sys-apps/baselayout): Assorted cleanups/fixes
- Add || die to commands without them to avoid missing errors.
- Symlink resolv.conf to /run on amd64-generic images again.
- Properly sed /etc/issue out of tmpfiles.
- Fix symlinks for mtab and sudo.
- Fix directory ordering in tmpfiles.
- Update groups, a few were missing or incorrect.
- Bump coreos-base/coreos revision.
2014-02-17 23:21:43 -08:00
Michael Marineau
9015fb0881 maint(eclass/*): Delete a whole pile of old unused eclasses. 2014-02-17 23:16:52 -08:00
Michael Marineau
05b70651dd feat(sys-apps/baselayout): New CoreOS specific baselayout package!
This replaces the old Gentoo baselayout and coreos-base packages.

Changes include:
 - Move nss data files from /etc to /usr/share/baselayout
 - Enable nss-usrfiles module to use the new location.
 - Move other misc files from /etc to /usr/share/baselayout, using
   compatibility symlinks in /etc generated by tmpfiles.
 - All base system directories can be generated by tmpfiles.
 - No more /etc/gentoo-release
 - Simplified code, doesn't bother trying to migrate lib symlinks and
   simply fails if the existing filesystem is incorrect.
 - In /usr images the `core` user's UID/GID is now 500 to keep us within
   the reserved system UID/GID space. Eventually once the SDK switches
   to this the `core` user will not conflict with the local developer's
   account. It also makes it clearer what range people can use when
   creating accounts in /usr images. No other UID/GIDs are changing.
 - New eclass to let ebuilds run the equivalent of `tmpfiles --create`.
   In the future this may be replaced by calling `tmpfiles` directly
   once it has a `--root` argument but I haven't pushed those patches
   upstream for review yet.
2014-02-17 23:16:52 -08:00
Michael Marineau
b0c4ed9c1b fix(sys-libs/nss-usrfiles): Drop unused data files.
Should have been dropped in 46c02b02 but was missed.
2014-02-17 23:16:52 -08:00
Michael Marineau
ebccb38f9c bump(coreos-base/vboot_reference): Fix cgpt linking 2014-02-17 17:42:34 -08:00
Michael Marineau
fd5da441ca remove(app-crypt/trousers): Drop unneeded TPM code.
This simplifies the build process, we have no need for trousers or other
tpm related things from ChromeOS. Bump vboot_reference so it no longer
needs trousers as a build dependency.
2014-02-17 16:19:12 -08:00