Commit Graph

845 Commits

Author SHA1 Message Date
Michael Marineau
0c3d7932e3 Merge pull request #266 from marineam/kexec
fix(coreos-base/coreos): Add kexec to base image.
2013-11-27 14:02:32 -08:00
Michael Marineau
17551fb435 fix(coreos-base/coreos): Add kexec to base image. 2013-11-27 13:57:14 -08:00
Jeremiah Orem
71af79a8d5 Fix ebuilds which conflict with symlink-usr.
This pulls in gawk, shadow, and coreutils. These ebuilds created
symlinks in /usr/bin which clobbered the binaries already in /usr/bin.
2013-11-26 23:02:01 -08:00
Michael Marineau
d88abf0853 fix(sys-apps/systemd-sysv-utils): Change install location, not target.
Change the install location based on symlink-usr instead of the target
and use absolute symlinks. We need to move towards never installing to
/{bin,sbin,lib...} and the use of absolute links avoids needlessly
breaking if the symlink-usr flag and the current state of /bin don't
agree (i.e. between flipping the flag and migrating the current files).
2013-11-26 23:01:23 -08:00
Michael Marineau
6e36663e19 fix(profiles): Enable dracut systemd module 2013-11-25 18:03:20 -08:00
Michael Marineau
2c9dfc4494 bump(sys-kernel/dracut): Update to dracut 034-r1
Copy from upstream, minus the sysvinit dependency.
2013-11-25 17:46:31 -08:00
Michael Marineau
0a2ba8b82f Merge pull request #263 from oremj/symlink_usr
Symlink /{bin,sbin,lib64} to /usr/.
2013-11-22 19:03:32 -08:00
Jeremiah Orem
81e4c17d60 Symlink /{bin,sbin,lib64} to /usr/.
This also introduces a new USE flag, "symlink-usr".
2013-11-22 21:58:01 -05:00
Michael Marineau
d4efcd3fe0 Merge pull request #262 from marineam/init
fix(sys-kernel/coreos-kernel): Set systemd as default init.
2013-11-22 14:03:16 -08:00
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
unclejack
eb1ecb525d feat(app-emulation/docker): bump to docker 0.6.7 2013-11-22 12:53:38 +02: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
Brandon Philips
10c759cdd0 Merge pull request #239 from philips/docker-0.6.4
feat(app-emulation/docker): bump to docker 0.6.4
2013-10-18 10:40:32 -07:00
Brandon Philips
eea468f5b4 Merge pull request #240 from philips/bump-aufs-utils
feat(coreos-base/coreos): include aufs-utils
2013-10-18 10:40:15 -07:00
Brandon Philips
ef95133b0a feat(coreos-base/coreos): include aufs-utils
aufs utils are needed to do some garbage collection on aufs unmounts.
2013-10-17 16:39:08 -07:00
Brandon Philips
260bab751c chore(app-emulation/docker): add the new service file 2013-10-17 16:28:03 -07:00
Brandon Philips
b522d90d2d feat(app-emulation/docker): bump to docker 0.6.4 2013-10-17 15:57:32 -07:00
Michael Marineau
33394e780e bump(coreos-base/coreos-init): Fix resizing on disks >= 300GB 2013-10-16 17:29:06 -07:00
Alex Polvi
08c6e55231 fix ssh handling 2013-10-14 12:06:42 -07:00
Alex Polvi
522c846bcc use proper ssh key setup 2013-10-14 11:32:58 -07:00
Alex Polvi
4037db2a2a remove redundant resolv.conf setup 2013-10-14 11:22:52 -07:00
Alex Polvi
98af20601f fix resolvconf.sh 2013-10-13 19:38:54 -07:00
Alex Polvi
9be7d7c130 add(coreos-base/oem-rackspace): added initial oem for rackspace 2013-10-13 19:23:50 -07:00
Brandon Philips
a3d82af931 feat(dev-db/etcd): bump to 0.1.2 release 2013-10-11 15:30:17 -07:00
Michael Marineau
50697bd07b fix(profiles): Enable ccache by default.
This is such a huge win for repeated glibc and kernel compiles. :)
2013-10-07 12:39:10 -07:00
Michael Marineau
72eb0ed866 fix(profiles): Move FEATURES into profiles.
Move all obviously safe features into the coreos profiles to further
reduce the magic in make.conf, leave the more fast-and-loose options in
make.conf to keep them kinda "special".
2013-10-07 12:33:26 -07:00
Michael Marineau
8efddb70a4 fix(coreos-base/hard-host-depends): Remove clang/llvm from SDK.
Nothing should be using clang any more and just results in long compile
times when use flags change. Away with ye!
2013-10-04 11:32:25 -07:00
Brandon Philips
94b7b1ff06 fix(coreos-base/coreos-init): fix the blocking local.target 2013-10-03 15:18:04 -07:00
Brandon Philips
36b6776fc6 Merge pull request #230 from philips/docker-xz
fix(app-emulation/docker): docker now requires xz
2013-10-02 14:05:56 -07:00
Brandon Philips
bef65d7d85 fix(coreos-base/coreos-init): fixup to use right systemctl path 2013-10-02 12:47:12 -07:00
Brandon Philips
694c7f0991 fix(app-emulation/docker): docker now requires xz 2013-10-02 11:31:46 -07:00
Brandon Philips
c40ff09de1 feat(sys-kernel/bootengine): unlimited size 2013-10-02 10:13:25 -07:00
Brandon Philips
987087a204 feat(bootengine): add custom oem support 2013-09-30 15:54:36 -07:00
Greg Kroah-Hartman
598dbbe4c4 Merge pull request #226 from philips/bump-docker-0.6.3
Enable odcker by default
2013-09-29 18:54:18 -07:00
Greg Kroah-Hartman
ea58e34e74 Merge pull request #227 from philips/git-in-image
feat(coreos-base/coreos): add git to the base image
2013-09-29 18:53:39 -07:00
Brandon Philips
50769e018b feat(coreos-base/coreos): add git to the base image
git is too ubiquitous of a transport to ignore. People use it to pull in
scripts, containers with docker, syncronize configurations, etc. It is a
must have. Merge it.
2013-09-29 15:10:27 -07:00
Brandon Philips
4765674707 fix(coreos-base/coreos-init): aactually link in docker
linking in the docker unit didn't work because coreos-init didn't depend
on docker. Fix that!
2013-09-28 15:16:42 -07:00
Brandon Philips
d0dded5d9f feat(coreos-init): enable docker 2013-09-26 16:27:08 -07:00
Brandon Philips
4ca77f4bab feat(profiles): unmask amd64 2013-09-26 15:34:10 -07:00
Brandon Philips
59015ea34e fix(profiles): add sys-fs/aufs3-9999 2013-09-26 15:29:47 -07:00
Michael Marineau
34d9d2f1c2 remove(coreos-base/dev-install): Remove oddball portage configuration.
Now that dev images install packages into root instead of /usr/local we
can move to configuring portage in those images in a more standard way.
We also don't support turning a prod image directly into a dev image so
this sort of stuff doesn't belong in the base system anyway.
2013-09-20 21:36:09 -04:00
Michael Marineau
7943652482 fix(coreos-base/coreos-dev): Add gentoolkit (includes equery)
I keep wanting this tool, so here it is!

Add explicit dependency on portage just to be clear that it is in the
dev image, not the base image.
2013-09-20 21:28:38 -04:00
Michael Marineau
7f6aa5d50f fix(coreos-base/coreos): Switch awk implementation to gawk.
Space saving by using mawk is not significant and a number of things
depend on gawk so save us the trouble and just switch.
2013-09-20 21:24:33 -04:00
Michael Marineau
10b7b390e7 Merge pull request #221 from marineam/image-cleanup
Image cleanup
2013-09-20 14:01:36 -07:00
Michael Marineau
4230912782 Revert "fix(coreos-base/coreos): Remove tlsdate"
This reverts commit 05ad60b19146a7217e6e0140b962bf07c157a87d.

Keeping tlsdate for now, but we still need to actually configure it.
2013-09-20 16:55:47 -04:00
Michael Marineau
932614d7a5 fix(coreos-base/coreos): Add rsync to system images 2013-09-20 15:37:21 -04:00
Michael Marineau
d641cdcf90 remove(sys-apps/systemd-sysv-utils): Fix pushed upstream.
Updated ebuild is now in the portage-stable overlay.
2013-09-20 14:56:45 -04:00
Michael Marineau
6c1a81e262 bump(coreos-base/hard-host-depends): update revision 2013-09-19 23:51:31 -04:00
Michael Marineau
26b968d65d bump(coreos-base/coreos): update revision 2013-09-19 23:51:04 -04:00
Michael Marineau
4da3d2da51 remove(coreos-base/internal): Unused, for getting jiggy with ChromeOS. 2013-09-19 23:49:59 -04:00
Michael Marineau
329cfe728d fix(coreos-base/coreos): Remove pv 2013-09-19 23:40:16 -04:00
Michael Marineau
8db5f3cbd7 fix(coreos-base/coreos): Remove tlsdate 2013-09-19 23:34:29 -04:00