Commit Graph

920 Commits

Author SHA1 Message Date
Michael Marineau
67a8bafebe Merge pull request #310 from marineam/e2fsck
bump(sys-fs/e2fsprogs): sync w/ upstream, add UUID fix.
2014-01-20 11:18:08 -08:00
Michael Marineau
4d9eb10e53 bump(vboot_reference): Includes resize support in cgpt 2014-01-20 11:13:49 -08:00
Michael Marineau
a813f89334 bump(sys-fs/e2fsprogs): sync w/ upstream, add UUID fix.
Update to e2fsprogs-1.42.9 and include a patch to avoid corrupting
filesystems by changing the UUID while it is mounted.
2014-01-19 15:12:17 -08:00
Michael Marineau
17675d4b0d bump(coreos-base/coreos-init): Replace dev-mode script. 2014-01-17 21:09:31 -08:00
Brandon Philips
9391d4cb54 bump(app-emulation/docker): docker 0.7.6 2014-01-17 10:34:42 -08:00
Michael Marineau
98101d9a5a add(sys-apps/util-linux): Add patched util-linux to support PARTTYPE
This adds support for PARTTYPE in libblkid so cgpt use it instead of
implementing its own partition probing/searching logic.
2014-01-16 22:04:26 -08:00
Alex Polvi
2bf34583ae usr(gmerge): bump to latest dev-util 2014-01-16 17:32:45 -08:00
polvi
9eb32ba98f Merge pull request #305 from polvi/bump-init
usr(init): bump to latest
2014-01-16 10:53:09 -08:00
Alex Polvi
868b5ba1ea fix 9999 ebuild 2014-01-15 20:44:03 -08:00
Alex Polvi
7b8275ee13 usr(init): bump to latest 2014-01-15 20:41:04 -08:00
Alex Polvi
5ca6c35dcd usr(gmerge): use regular /etc/ instead of /usr/local 2014-01-15 20:37:42 -08:00
Alex Polvi
bdbc05517a remove docs 2014-01-15 19:26:22 -08:00
Alex Polvi
b865810273 usr(gmerge): install to /usr 2014-01-15 19:13:38 -08:00
Brandon Philips
00c4953f9a feat(coreos-base/coreos-init): add symlink-usr flag support
Via https://github.com/coreos/init/pull/34
2014-01-14 17:30:52 -08:00
Michael Marineau
6c7727eacb Merge pull request #301 from marineam/squashfs
bump(bootengine): Update to fix PXE and /usr booting.
2014-01-13 16:01:25 -08:00
Michael Marineau
38d8f4ea5c bump(bootengine): Update to fix PXE and /usr booting. 2014-01-13 15:56:23 -08:00
Brandon Philips
b07754504f feat(app-emulation/docker): bump to docker-0.7.5 2014-01-13 13:36:18 -08:00
Michael Marineau
dea2d44b36 fix(sys-kernel/coreos-kernel): Fix initrd in non-usr images.
My fix for /usr broke the normal images because my bash hacking was
overly simplistic. Use dirname to ensure the right thing happens.
2014-01-10 18:50:47 -08:00
Michael Marineau
81da8f0836 Merge pull request #297 from marineam/python
bump(dev-lang/python): Sync with upstream python-2.7.5-r4
2014-01-09 17:18:45 -08:00
Greg Kroah-Hartman
c31c046554 Merge pull request #298 from marineam/kernel
fix(sys-kernel/coreos-kernel): Fix initramfs in /usr builds.
2014-01-07 06:31:42 -08:00
Michael Marineau
625f25e70f fix(sys-kernel/coreos-kernel): Fix initramfs in /usr builds.
Properly handle when /lib in bootengine is a symlink to /usr/lib64 in
addition to the /lib64. mv needs /usr to exist first :)
2014-01-07 02:18:28 -08:00
Michael Marineau
d19f338d0f bump(dev-lang/python): Sync with upstream python-2.7.5-r4
Copy of upstream 2.7.5-r4 + cross compile tweaks/fixes from our -r2
Dropped some sed hackery related to ChromiumOS's /usr/local weirdness.
I am hoping that issue18851.patch fixes some intermittent build issues.
2014-01-06 21:36:44 -08:00
Greg Kroah-Hartman
0026fe16ad feat(sys-kernel/coreos-kernel) enable CIFS module 2014-01-06 18:47:21 -08:00
Brandon Philips
3821231b7b fix(sys-kernel/coreos-kernel): disable audit
We don't have or use auditd and this break nspawn with fedora
containers. Just remove it.
2014-01-06 14:48:19 -08:00
Michael Marineau
8ea698435d fix(make.conf): Don't share binary packages between boards.
Although it'd be nice to re-use packages for experimental boards that
may only have a few differences from amd64-generic there is a bug in
some ebuilds and portage that break sharing binary packages between
different values of $ROOT. This prevents that from happening by
accident.

https://bugs.gentoo.org/show_bug.cgi?id=490014
2014-01-05 16:43:45 -08:00
Michael Marineau
c1e8a96cda feat(profiles): Add coreos/amd64/usr profile.
This profile enables the symlink-usr USE flag and target profiles have a
new variable COREOS_DISK_LAYOUT_SUFFIX that allows the profile to switch
to a different set of disk layouts. By default no suffix is used but the
usr profile uses layouts with the suffix "-usr" such as "base-usr".
2014-01-05 14:14:31 -08:00
Brandon Philips
d7b07174ba Merge pull request #292 from philips/docker-0.7.3
feat(app-emulation/docker): add docker-0.7.3
2014-01-03 16:35:59 -08:00
Brandon Philips
320b00ffa0 feat(app-emulation/docker): add docker-0.7.3 2014-01-03 16:30:27 -08:00
Michael Marineau
cf45f525df add(sys-kernel/coreos-firmware): Add firmware package.
This provides firmware from linux-firmware but excludes everything not
explicitly required by coreos-kernel. Note that firmware installed by
this will only be available on the root filesystem, the initrd still
uses the smaller set of firmware the linux repo provides.

The current 3.12 kernel wants a few files missing in the July snapshot:

 * Missing firmware: ct2fw-3.2.1.1.bin (bna.ko)
 * Missing firmware: ctfw-3.2.1.1.bin (bna.ko)
 * Missing firmware: cxgb4/t5fw.bin (cxgb4.ko)

These files have been added to the linux-firmware repo so a newer
snapshot will be required but for now I'm sticking with what is already
in Gentoo so I don't have to generate my own tarball or whatever.
2014-01-03 12:54:54 -08:00
Michael Marineau
6e4bc8d9c1 fix(sys-kernel/coreos-kernel): Don't install firmware to root filesystem
In preparation for moving to using firmware provided by the
linux-firmware repository instead of linux the kernel ebuild needs to
stop installing the files to avoid conflicts. Also to better ensure that
the firmware package gets rebuilt every time the kernel does bump to
EAPI=5 and set the subslot to the ebuild version/revision. The firmware
package can then depend on the kernel w/ a special slot operator to make
sure it gets rebuilt when the kernel version changes. The firmware
package can then scan the installed modules and only install the
firmware that is required.

(Portage automatic rebuild behavior often makes this sort of rebuild
happen anyway but using subslots makes it a strict requirement.)
2014-01-03 12:40:42 -08:00
Michael Marineau
d3bfcc7823 fix(cros-workon.eclass): Fix support for EAPI=5 subslots
The subslot should not be used as part of package name directories.
This fixes the kernel builds now that cros-kernel2 uses subslots.
2014-01-03 12:40:42 -08:00
Michael Marineau
340ce65bc8 fix(sys-kernel/coreos-kernel): Drop old no-modules kernel. 2014-01-03 12:36:01 -08:00
Michael Marineau
0774cd0837 Merge pull request #289 from marineam/fix-ssh
bump(coreos-base/coreos-init): Fix bogus ssh_config
2014-01-03 11:53:52 -08:00
Greg Kroah-Hartman
b7bd408b7e bump(sys-kernel/coreos-kernel): bump to 3.12.6 2014-01-02 21:23:53 -08:00
Michael Marineau
06dbb9476d bump(coreos-base/coreos-init): Set EDITOR=/usr/bin/vim 2014-01-02 17:17:24 -08:00
Michael Marineau
b1aa0c9e52 bump(coreos-base/coreos-init): Fix bogus ssh_config
Bump to include https://github.com/coreos/init/pull/32
Fixes https://github.com/coreos/coreos-vagrant/issues/33
2014-01-02 16:44:25 -08:00
Michael Marineau
fb6393d667 Merge pull request #287 from marineam/symlink-usr
A few /usr related fixes
2014-01-02 16:42:04 -08:00
Greg Kroah-Hartman
79b603dfc6 bump(sys-kernel/coreos-kernel): add some SATA driver support.
Should resolve #279
2013-12-30 21:09:55 -08:00
Michael Marineau
d85b14db00 add(sys-libs/nss-usrfiles): nss module for files under /usr/share/nss 2013-12-30 16:43:34 -08:00
Michael Marineau
ba5f044fe4 remove(coreos-base/chromeos-auth-config): Unused passwd hackery
This appears to be part of a scheme to set an alternative login password
in ChromeOS that we have not been using. Our solution will be to make
/etc read-write so this can just go away.
2013-12-30 16:08:11 -08:00
Michael Marineau
d03376f5c3 fix(coreos-base/coreos): Remove rsyslog
We don't actually enable it and journald is more awesome anyway.
2013-12-30 16:08:11 -08:00
Michael Marineau
2a6ef1ad8f fix(sys-libs/ncurses): Remove terminfo from /etc w/ symlink-usr
Existing behavior remains unchanged if symlink-usr is unset, otherwise
leave terminfo alone (if minimal is also unset) or prune terminfo down
to the set that would have been installed to /etc if minimal is set.
2013-12-30 16:08:11 -08:00
Michael Marineau
6fc956aa1e bump(sys-libs/ncurses): Sync ebuild with current upstream version 2013-12-30 16:08:11 -08:00
Brandon Philips
58a6bf6d7a fix(dev-db/etcd): set name in bootstrap
by default set the name of the etcd machine to the `${HOSTNAME}`
2013-12-23 23:22:19 -08:00
Brandon Philips
969ec91d6e feat(dev-db/etcdctl): bump 0.2.0 2013-12-23 22:59:44 -08:00
Brandon Philips
ae01d59251 feat(dev-db/etcd): add etcd 0.2.0 2013-12-23 11:15:16 -08:00
Brandon Philips
64281470b5 Merge pull request #285 from philips/docker-0.7.2
bump(app-emulation/docker): bump to 0.7.2
2013-12-21 14:20:13 -08:00
Brandon Philips
1653ed95ee bump(app-emulation/docker): bump to 0.7.2 2013-12-20 19:06:48 -08:00
Brandon Philips
2455297fe6 fix(package.accept_keywords): accept go-1.2 2013-12-20 19:03:08 -08:00
Michael Marineau
1c239f2258 Merge pull request #282 from oremj/add_coretest
Add coretest-0.0.1 ebuild.
2013-12-18 23:54:37 -08:00
Jeremiah Orem
c96c4fde29 Add coretest-0.0.1 ebuild. 2013-12-18 23:09:57 -08:00
Michael Marineau
4c5fc60ba2 bump(sys-kernel/bootengine): Fix last-resort fallback boot 2013-12-18 14:28:03 -08:00
Michael Marineau
1a8e3ad89c fix(sys-libs/pam): Remove libs from /lib64
This ebuild calls gen_usr_ldscript to move libraries from /usr to / and
then symlinks to them from /usr. Clear all that crap out and use /usr.
2013-12-09 17:11:53 -08:00
Michael Marineau
01f2bb15c5 bump(sys-libs/pam): Import current stable pam from Gentoo 2013-12-09 15:35:44 -08:00
Brandon Philips
09b4f91633 feat(app-emulation/docker): use the coreos unit file
On CoreOS we use systemd to manage docker containers. Having docker
automatically start containers on reboot makes everything confused. Stop
doing this.
2013-12-07 22:05:03 -08:00
unclejack
22f3f5b953 feat(app-emulation/docker): bump to docker 0.7.1 2013-12-07 21:47:01 -08:00
Brandon Philips
0d18737adc fix(app-emulation/docker): start with a clean slate 2013-12-07 21:45:45 -08:00
Michael Marineau
bd54f51917 fix(sys-apps/efunctions): Create functions.sh symlink in postinst.
This makes double sure that the symlink is never removed by INSTALL_MASK
or PKG_INSTALL_MASK. This symlink is so strictly required by random
tools we cannot allow it to ever go missing by mistake.
2013-12-06 16:55:14 -08:00
Michael Marineau
43c26c6cc9 fix(coreos-base/gmerge): Remove reference to old package.provided file
A case of binary packages masking breakage, didn't notice this broke
because I didn't happen to trigger a build of gmerge during my testing.
This package.provided file contained the hackily installed toolchain
which is now handled via a normal emerge instead.
2013-12-05 23:09:35 -08:00
Greg Kroah-Hartman
e567efe461 bump(sys-kernel/coreos-kernel): add realtek ethernet support
Adds support for the realtek ethernet drivers as requested.
2013-12-04 21:03:27 -08:00
Greg Kroah-Hartman
8d5a6f9cd9 bump(sys-kernel/coreos-kernel): add infiniband support
This resolves issue #235 where IB support was requested for the kernel.
2013-12-04 20:05:48 -08:00
Michael Marineau
3341e00450 hack(coreos-base/hard-host-depends): Work around lvm's configure script path detection 2013-12-04 17:07:07 -08:00
Michael Marineau
7bd16b8c0e fix(profiles): Use sys-block/thin-provisioning-tools-0.2.8-r1
This moves ruby from RDEPENDS to DEPENDS behind the 'test' USE flag.
2013-12-04 16:34:13 -08:00
Brandon Philips
71430f7df0 feat(accept_keywords): boost build is needed by lvm 2013-12-03 17:07:23 -08:00
Brandon Philips
36189f4b23 feat(coreos-devel/sdk-depends): add boost-build
building boost requires that the SDK has the b2 command line utility
installed in /usr/bin/b2. Install this utility in the sdk.
2013-12-03 17:07:23 -08:00
Brandon Philips
89561b6f85 feat(coreos/base): add lvm thin 2013-12-03 17:07:17 -08:00
Brandon Philips
683432a2f7 feat(coreos/base): accept keywords on docker 0.7
we want docker 0.7, accept it's unstable nature
2013-12-03 12:59:48 -08:00
Michael Marineau
48310fc354 Merge pull request #269 from marineam/gce
add(coreos-base/oem-gce): Add support for ssh keys on GCE
2013-12-02 22:14:37 -08:00
Michael Marineau
1c726ce019 fix(coreos-base/oem-gce): Drop debug echo 2013-12-02 22:12:49 -08:00
Michael Marineau
e0244428fb fix(profiles): Move INSTALL_MASK from common.sh to profiles.
This one isn't used by default, only when building final images like so:

    export INSTALL_MASK=$(portageq-$BOARD envvar PROD_INSTALL_MASK)
2013-12-01 13:59:57 -08:00
Michael Marineau
4032ba5ede add(coreos-base/oem-gce): Add support for ssh keys on GCE 2013-11-30 17:26:49 -08:00
Michael Marineau
da1f605863 fix(profiles): Move default INSTALL_MASK to profiles.
The INSTALL_MASK is altered all over the place, clean it up by moving
all of it to profiles. Add /usr/share/{i18n,locales} to exclude those
installed by glibc since it doesn't have a nls use flag to disable them.
2013-11-29 21:28:31 -08:00
Michael Marineau
485f519a51 fix(coreos-base/coreos-base): Remove nsswitch.conf
Provided by glibc now that it is being installed properly.
2013-11-29 19:54:23 -08:00
Michael Marineau
640c2e354e Merge pull request #264 from marineam/dracut
Dracut
2013-11-27 14:44:33 -08:00
Michael Marineau
0de4520683 bump(sys-kernel/bootengine): Include journald config module 2013-11-27 14:40:29 -08:00
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