Commit Graph

785 Commits

Author SHA1 Message Date
Michael Marineau
30352e61d2 fix(sys-kernel/coreos-kernel): Set systemd as default init.
This avoid depending directly on the compatibility /sbin/init symlink.
2013-11-22 13:33:08 -08:00
Michael Marineau
c323a1404f bump(sys-kernel/coreos-kernel): Mark modular kernel as stable 2013-11-21 18:12:10 -08:00
Michael Marineau
ac5693f65b bump(sys-kernel/bootengine): Update for module/failover logic 2013-11-21 18:10:38 -08:00
Michael Marineau
a172ee1ebe bump(coreos-base/vboot_reference): Update cgpt 2013-11-20 23:02:32 -08:00
Michael Marineau
c70802be7f fix(coreos-base/gmerge): Fix ebuild revision 2013-11-19 22:34:14 -08:00
Michael Marineau
f6d211d85a bump(coreos-base/coreos-installer): Update with postinst fixes/cleanups. 2013-11-19 22:30:02 -08:00
Michael Marineau
f87b32d1f7 Merge pull request #257 from marineam/modules
Modules
2013-11-19 17:50:56 -08:00
Alex Polvi
b808a92fff add corectl 2013-11-19 17:43:31 -08:00
Alex Polvi
00c0d7dba4 drop restart 2013-11-19 17:34:29 -08:00
Alex Polvi
5e3fdfd9f6 feat(coreinit): add coreinit to the experimental package, drop systemd-rest 2013-11-19 17:30:43 -08:00
Michael Marineau
4418bd833a fix(sys-kernel/coreos-kernel): Move AT keyboard back to bzImage
As much as I like not seeing the i8042 error in the kernel log on
platforms without it I foresee someone being really ticked off with me
for making this a module when dracut fails without loading the PS/2 and
keyboard modules making the rescue shell kinda hard to use unless a
serial console is also available.

Yeah, well, fair enough future me. You win.
2013-11-19 15:18:15 -08:00
Michael Marineau
42b715c1dd fix(sys-kernel/coreos-kernel): Re-enable gzip (and more) for initramfs
I forgot that we are using gzip'ed cpio images for PXE. Just enable all
the compression methods to avoid similar surprises.
2013-11-19 14:58:22 -08:00
Michael Marineau
864f4680c5 Merge pull request #256 from marineam/modules
Modules
2013-11-19 14:17:40 -08:00
Michael Marineau
bb82a156ea fix(sys-kernel/coreos-kernel): Update modular config, more modules!
Switch more things to modules previously missed (such as SCSI). Clean up
more debug options.
2013-11-19 13:48:39 -08:00
Michael Marineau
35fd55a41a fix(cros-kernel2.eclass): Fix cpio update steps.
The kernel is much more particular about how it handles the cpio format
than GNU's cpio tool. Two things:
 - Don't use the -depth option to find, cpio documentation recommends
   using it (the directory comes after the contents so set the
   permissions on the dir last in case it is overly restrictive) but the
   kernel thinks the other direction and doesn't put things into a
   directory that does not (yet) exist.
 - Don't add anything under /lib which is a symlink in the original
   file. Adding /lib as a directory later replaces the earlier /lib
   symlink. Again the user space tool thinks in the other direction and
   will happily dereference the symlink while extracting, preserving it.

CPIO CPIO CPIO!
2013-11-19 13:36:23 -08:00
Michael Marineau
ffc7f50e94 Merge pull request #255 from marineam/modules
Modules
2013-11-18 13:17:06 -08:00
Michael Marineau
f9a0b52c92 fix(cros-kernel2.eclass): Move build deps from ebuilds to eclass. 2013-11-18 00:35:29 -08:00
Michael Marineau
22190a7bfc bump(sys-kernel/coreos-kernel): New modular kernel.
Lots of changes here, some things of note:
 - Switch from built-in to modules for much of the kernel.
 - Enable more features, mostly in power management and networking.
 - Remove no_firmware.patch, this was added back when we had two
   different kernels which would conflict if both installed firmware.
 - Stop disabling OUTOFTREE_BUILD now that we don't patch the source.

So far this is just compile tested so it is marked ~amd64 for now.
2013-11-18 00:26:57 -08:00
Michael Marineau
0e3d2d202e fix(cros-kernel2.eclass): Fix STRIP_MASK and disable binchecks
STRIP_MASK wasn't updated to the new vmlinux location earlier.
RESTRICT=binchecks disables checks that only make sense for user space
binaries. This silences a bogus scanelf error.
2013-11-17 23:11:54 -08:00
Michael Marineau
0c0df75d69 fix(cros-kernel2.eclass): Disable OUTOFTREE_BUILD when src is dirty.
If OUTOFTREE_BUILD=1 (currently disabled but that will change) the
kernel will use the existing checkout as the source tree rather than
cloning another tree. If someone built anything in that tree and .config
exists the build will fail complaining that the source isn't clean.
Instead of failing just disable OUTOFTREE and emit a warning.

OUTOFTREE combined with INCREMENTAL makes successive kernel builds
pretty much no-ops (just re-linking modules and bzImage).
2013-11-17 22:45:34 -08:00
Michael Marineau
c83821a102 fix(cros-kernel2.eclass): Explicitly build bzImage in second pass
Build only bzImage instead of the default 'all' which also will re-link
all of the modules which is pointless and just causes the initramfs and
rootfs to become out of sync.
2013-11-17 20:25:45 -08:00
Michael Marineau
45f5b2b976 fix(cros-kernel2.eclass): Install vmlinux into same path as modules
This matches the behavior of Debian/Fedora closer so might as well
change it while I'm mucking around in this eclass.
2013-11-17 20:12:52 -08:00
Michael Marineau
012a13bc28 fix(cros-kernel2.eclass): Add kernel modules to initramfs.
Since we need to both bundle modules into the initramfs as well as
bundle the initramfs into the kernel image we need to update a pre-built
image with the user space tools as part of the kernel build process.

This seemed the best scheme, the alternatives were:
 - Unpack bootengine.cpio to a temporary directory, build and install
   kernel modules into that temporary directory, pass that directory
   plus a config file listing what device nodes to the kernel build.
 - Build kernel modules and generate a fresh bootengine.cpio using the
   update-bootengine tool. This would require calling sudo (and breaking
   out of the sandbox in the process) in the middle of the ebuild.
2013-11-17 20:01:24 -08:00
Brandon Philips
34f3f6a167 Merge pull request #254 from philips/gmerge-amd64
feat(gmerge): accept amd64 stuff
2013-11-15 15:12:29 -08:00
Brandon Philips
3f653524e7 feat(gmerge): ACCEPT_KEYWORDS **
see
47a360f8cd
2013-11-15 15:11:58 -08:00
Michael Marineau
a38632b0ea fix(cros-kernel2.eclass): Don't install invalid source/build symlinks.
If the kernel sources aren't installed there is no point to installing
these symlinks.
2013-11-14 18:23:16 -08:00
Michael Marineau
13fa480c49 fix(cros-kernel2.eclass): Drop the kernel_, just source. It's cleaner.
The use flag kernel_sources conflicts with the special meaning of the
use flag prefix kernel_ which is reserved for defining the host kernel,
for example kernel_linux. Also a couple other ebuilds in Gentoo have a
source use flag so let's just follow that pattern instead.
2013-11-14 18:14:51 -08:00
Michael Marineau
c1039fbcfa fix(cros-kernel2.eclass): Remove a massive amount of dead code.
We do not currently support or care about things like arm, device trees,
smatch, and other things that massively complicate this eclass. Remove
them so making further changes is simple. Features can always be added
back later.
2013-11-14 18:08:39 -08:00
Michael Marineau
76e8f257ab fix(sys-kernel/coreos-kernel): Disable example modules and kgdb.
Just a little cleanup, no need for either of these.
2013-11-14 15:48:51 -08:00
Michael Marineau
c1f8dcbdf7 fix(cros-kernel2.eclass): Move kernel defconfig along side ebuilds
This makes it possible to have multiple kernel ebuilds in the tree at
once since the defconfig can be versioned along side the ebuilds instead
of being global.
2013-11-14 15:39:20 -08:00
Michael Marineau
060794d2ec Merge pull request #252 from marineam/toolchain-pkgs
fix(make.conf): Fetch packages built by build_toolchains
2013-11-13 17:20:17 -08:00
Brandon Philips
94010aec18 chore(eclass/cros-kernel): bump with oldconfig 2013-11-08 15:15:56 -08:00
Brandon Philips
3e5677ccf9 feat(sys-kernel/coreos-kernel): bump to 3.11.7 2013-11-08 13:59:01 -08:00
Michael Marineau
2be7a667fc fix(make.conf): Fetch packages built by build_toolchains 2013-11-07 16:43:08 -08:00
Michael Marineau
2eeb79506f fix(cros-workon.eclass): Do not add -clang to CFLAGS
Not sure how this managed to work in the past, perhaps the test for
using Google's common.mk used to always fail but now works properly?
In any case, we don't use clang any more.
2013-11-07 15:36:45 -08:00
unclejack
cd7ef0f929 feat(app-emulation/docker): bump to docker 0.6.6 2013-11-07 21:55:32 +02:00
unclejack
2d83c83876 feat(app-emulation/docker): bump to docker 0.6.5
This adds the docker 0.6.5 ebuild.
2013-11-01 21:23:33 +02:00
Michael Marineau
f0eef9db28 bump(sys-kernel/bootengine): Bump code to include namespace fix. 2013-10-30 16:25:12 -07:00
Michael Marineau
1caaca5420 Merge pull request #246 from marineam/eend
bump(sys-apps/efunctions): updates from upstream and eend fix
2013-10-24 18:26:57 -07:00
Michael Marineau
1df4cdffe1 bump(sys-apps/efunctions): updates from upstream and eend fix 2013-10-24 13:42:23 -07:00
Brandon Philips
28bf72ada0 chore(net-misc/tlsdate): sync 9999 ebuild 2013-10-23 14:37:29 -07:00
Brandon Philips
6d62f900d1 fix(net-misc/tlsdate): ensure systemd eclass is used 2013-10-23 14:34:05 -07:00
Brandon Philips
3751ea02a6 chore(net-misc/tlsdate): fixup the comments related to user 2013-10-23 14:30:30 -07:00
Brandon Philips
c97146146b fix(net-misc/tlsdate): use service file from ebuild 2013-10-23 14:26:52 -07:00
Brandon Philips
6c5ee6a89b fix(net-misc/tlsdate): use econf on 9999 too 2013-10-23 14:12:32 -07:00
Brandon Philips
2dc453d51e fix(net-misc/tlsdate): use the coreos fork
the chromium os fork works and there are some problems upstream I need
to work thorugh. Use this.
2013-10-23 14:08:35 -07:00
Michael Marineau
87a7433cc9 Merge pull request #243 from marineam/release-reorg
fix(config): Fall back to the current SDK version for target packages.
2013-10-18 17:19:51 -07:00
Michael Marineau
9d18cf2551 fix(config): Fall back to the current SDK version for target packages.
This avoids loosing access to binary packages between tagging a new
version and finishing the build. The SDK's make.conf already does this.
2013-10-18 16:52:38 -07:00
Brandon Philips
304a71bc2c feat(coreos-base/coreos-init): install tlsdate 2013-10-18 13:44:28 -07:00
Brandon Philips
03a4eb155f feat(coreos-base/coreos-base): add the tlsdate user 2013-10-18 13:43:28 -07:00