Commit Graph

1007 Commits

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