Commit Graph

1118 Commits

Author SHA1 Message Date
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
Michael Marineau
6c7ec4ac7f fix(coreos-base/coreos): Fix mdadm package category. 2014-02-17 12:07:49 -08:00
Brandon Philips
dfc3b6914d feat(coreos-base/coreos): add mdadm
Total additional image size:

```
492K    /build/amd64-generic/sbin/mdadm
332K    /build/amd64-generic/sbin/mdmon
184K    /build/amd64-generic/sbin/mdassemble
```
2014-02-15 12:41:01 -08:00
Brian Waldon
6c5cca8a51 bump(fleet): Bump fleet ebuild to v0.1.2 2014-02-14 17:22:08 -08:00
Michael Marineau
abdccaa9fd feat(sys-libs/nss-usrfiles): Require as a base system library.
Add this to everyone's SDK before actually switching to use it.
Hopefully the transition can be made gracefully. :)
2014-02-13 18:43:13 -08:00
Michael Marineau
a0caa75e5d Merge pull request #355 from marineam/ncat
Ncat
2014-02-13 18:05:08 -08:00
Brian Waldon
bcf784c6fb bump(fleet): Bump fleet ebuild to v0.1.1 2014-02-13 16:43:54 -07:00
Michael Marineau
36fc328a07 Merge pull request #353 from marineam/etc-symlinks
fix(app-shells/bash): Update /etc symlinks, use /usr/share/skel
2014-02-12 19:01:42 -08:00
Michael Marineau
b1d0361b14 add(net-analyzer/nmap): Add ncat to production builds.
Nmap itself is excluded, just want the basic network tools.
ncat is a netcat implementation with support for fun things like SSL.
In the future we could add nping but since we already include iputils
that is not quite as important as ncat.

The nmap ebuild includes a compile fix posted here:
https://bugs.gentoo.org/show_bug.cgi?id=501136
2014-02-12 17:35:24 -08:00
Michael Marineau
ccfabc7ef1 chore(net-analyzer/wireshark): Drop old wireshark package 2014-02-12 15:45:50 -08:00
Michael Marineau
2d03e65c2f fix(coreos-base/coreos-init): Roll back invalid change to c10n service 2014-02-12 01:17:26 -08:00
Michael Marineau
8dc9d76e5e fix(app-shells/bash): Update /etc symlinks, use /usr/share/skel
Symlinks out of /etc to /usr should generally be relative, that way they
work regardless of whether you are based at / or dealing with a new
chroot you haven't entered yet, or a build root like /build/amd64-usr
Namely the absolute links break cros_sdk which copies skel into home.

Also switch to /usr/share/skel since other packages may need install
things to that directory in the future.
2014-02-11 22:05:27 -08:00
Michael Marineau
d3df0185de bump(coreos-base/coreos-init): Update to from commit to merge git hash 2014-02-11 21:34:35 -08:00
Michael Marineau
8c7f9af2e6 bump(coreos-base/coretest): Update to latest code, add live ebuild.
This increases our default timeout for the docker test to 60 seconds.
Update to our current scheme of keeping everything in the live ebuild.
2014-02-11 20:48:46 -08:00
Alex Polvi
96a501156a fix(app-admin/fleet): do not enable service by default 2014-02-11 18:52:17 -08:00
Michael Marineau
9c31afccda fix(dev-db/etcd): Fix filtering of blank lines from c10n peer list 2014-02-11 17:53:31 -08:00
Michael Marineau
15886b7958 bump(coreos-base/coreos-init): Grab fixed c10n script. 2014-02-11 17:34:43 -08:00
Michael Marineau
0655858328 fix(dev-db/etcd): Require c10n, start even if cluster config is missing.
If c10n fails etcd should not start, wait until it is known if there is
a cluster config to use or not. Also now c10n may not write out a
cluster config on ec2 if there isn't a need for one. Make this case
non-fatal and start up etcd as a master node.
2014-02-11 17:34:43 -08:00
Brian Waldon
ffac3c3f62 bump(etcd): inc etcd ebuild rev 2014-02-11 13:54:36 -07:00
Brian Waldon
053a7ff6b7 fix(etcd-bootstrap): Properly check for c10n peers 2014-02-11 13:53:54 -07:00
Michael Marineau
d540538172 bump(dev-db/etcd): Update to include v1 API fix
Includes a few other changes which are either bug fixes or doc updates:

    Brandon Philips (4):
          bump(README): increase the version of the README to 0.3.0
          fix(README): move contact closer to contributing
          feat(scripts): use zip for windows and darwin
          fix(server/v1): don't fail put on new v1 key

    Brian Waldon (3):
          doc(CompareAndDelete): Add missing CAD docs
          doc(CompareAndSwap): clarify prevIndex in CAS
          chore(gofmt): gofmt compare_and_delete_command.go

    Jan-Erik Rediger (1):
          Change token example to use returned value only

    Michael Marineau (1):
          add(server/v1/tests): Port many of the v2 HTTP handler tests to v1

    TANABE Ken-ichi (2):
          fix(mod/lock): Use dedicated channel to shutdown goroutine properly
          fix(mod/lock): Use CreatedIndex in the first node to watch
2014-02-10 22:32:46 -08:00
Michael Marineau
a0bb403a1d fix(coreos-base/coreos): Add fleet to production images. 2014-02-10 20:23:11 -08:00
Brian Waldon
9e462b7c99 fix(fleet): Require go1.2+ for fleet ebuild 2014-02-10 14:15:33 -07:00
Brian Waldon
a762984989 bump(fleet): Use fleet v0.1.0 tag 2014-02-10 14:14:44 -07:00
Brian Waldon
63380c4540 bump(etcd): etcd-0.3.0 -> etcd-0.3.0-r1
Bump etcd 0.3.0 ebuild to 0.3.0-r1 to incorporate
changes to the etcd-bootstrap script.
2014-02-10 11:29:01 -07:00
Brian Waldon
b747468a2f fix(etcd-bootstrap): Use higher election timeout on EC2 2014-02-10 11:22:33 -07:00
Brian Waldon
87a126b192 bump(coreos-init): Upgrade coreos/init ebuild
Bump coreos-init ebuild to 0.0.1-r37 for coreos/init
commit 7baa3e940b094accb7fb9ca344aafba69a13a732
2014-02-10 11:21:37 -07:00
Brian Waldon
41b07642ae feat(etcd-discovery): Add support to etcd-bootstrap for etcd-discovery 2014-02-10 11:20:50 -07:00
Michael Marineau
4a5eaf8f0a Merge pull request #347 from marineam/assert_compile_et
hack(sys-libs/e2fsprogs-libs): assert compile_et is being installed
2014-02-09 23:15:46 -08:00
Michael Marineau
a610038a74 hack(sys-libs/e2fsprogs-libs): assert compile_et is being installed
A broken e2fsprogs-libs binary package lacking compile_et has been
causing problems. I am entirely at a loss as to how this happened in the
first place and unfortunately the error is not revealed until much
later. Hopefully this crude test at the end of src_install will find the
error as it happens. Or at the very least the revision bump will force
everything to move past the one bad build.
2014-02-09 23:11:45 -08:00
Michael Marineau
18d4bf8e01 Merge pull request #346 from gregkh/kernel_update
bump(sys-kernel/coreos-kernel) bump to 3.13.2
2014-02-09 22:50:22 -08:00
Greg Kroah-Hartman
8c591532d7 bump(sys-kernel/coreos-kernel) bump to 3.13.2 2014-02-09 21:30:52 -08:00
Michael Marineau
fb7f256e8a fix(coreos-devel/sdk-depends): Add checkbashisms to SDK 2014-02-09 18:21:05 -08:00
Michael Marineau
0b8060ef70 fix(sys-libs/glibc): Fix cross compile builds
Cross compile builds don't include nsswitch.conf
2014-02-09 18:01:06 -08:00
Michael Marineau
aa0cd52fb8 Merge pull request #343 from marineam/binhost
fix(make.conf): Remove BINHOST from static make.conf
2014-02-09 16:06:36 -08:00
Michael Marineau
d6864434fc fix(profiles): Belatedly update to eselect 1.4
Includes a patch to silence annoying "Strange path" warning.
2014-02-09 14:46:20 -08:00
Michael Marineau
c37eb42915 fix(make.conf): Remove BINHOST from static make.conf
This list is now included in make.conf.board_setup so that it can be
configured on the fly. Useful for odd testing situations and buildbot.
2014-02-09 13:24:18 -08:00
Brian Waldon
6f216aa781 fix(etcd): Use go1.2 in etcd and etcdctl ebuilds 2014-02-07 19:09:55 -08:00
Brian Waldon
95ee11f368 bump(etcd): Upgrade etcd and etcdctl to v0.3.0
Additionally, use the correct bin-path to pull in the
etcd and etcdctl binaries.
2014-02-07 19:09:12 -08:00
Brian Waldon
500a256c63 fix(etcd-lib): Remove defunct etcd-lib ebuilds 2014-02-07 19:00:36 -08:00
Brian Waldon
83c7c9e091 fix(etcd-client): Remove defunct etcd-client ebuilds 2014-02-07 19:00:34 -08:00
Michael Marineau
7176f2aa0c bump(sys-libs/glibc): Pull in 2.17, remove some configs from /etc
One oddity here: /etc/nsswitch.conf is setup as a postinst command in
order to avoid conflicting with baselayout once it starts installing
nsswitch.conf instead. Later glibc won't provide nsswitch.conf at all.
2014-02-07 17:42:09 -08:00
Michael Marineau
158e870f53 fix(app-admin/fleet): Update to latest revision 2014-02-07 10:39:30 -08:00
Michael Marineau
559c43278d fix(app-admin/fleet): Fix stable ebuild symlink 2014-02-06 11:51:30 -08:00
Brian Waldon
ba67585a15 fix(app-admin/fleet): Rename coreinit -> fleet 2014-02-05 16:47:43 -08:00
Brandon Philips
194e9edc5e Merge pull request #332 from philips/docker-0.8.0
feat(app-emulation/docker): add docker 0.8.0
2014-02-05 11:41:48 -08:00
Brandon Philips
cc155b78a1 Merge pull request #331 from marineam/perf
fix(coreos-base/coreos-dev): Drop perf from dev build.
2014-02-05 10:27:42 -08:00
Brandon Philips
59da555463 feat(app-emulation/docker): add docker 0.8.0 2014-02-05 10:22:21 -08:00
Michael Marineau
76768a3ac6 fix(profiles): Update to latest certs package 2014-02-04 17:01:22 -08:00
Michael Marineau
aac47622cc fix(coreos-base/coreos-dev): Drop perf from dev build.
We haven't been using it, the version we have is old, and the build
appears to be a little flaky. Just drop it, can always bump and re-add
later if someone wants it.
2014-01-31 18:57:04 -08:00
Alex Polvi
8426bf1a1c revert dodir and dosym on /bin/ 2014-01-31 16:39:30 -08:00
Alex Polvi
e655a3ae27 do not mess around with /usr/bin/bash 2014-01-31 16:25:31 -08:00
Alex Polvi
1fcf5c69c8 usr(bash): patch bash ebuild to use /usr 2014-01-31 16:11:34 -08:00
Alex Polvi
581855f4d2 usr(bash): move bash to coreos-overlay 2014-01-31 16:11:07 -08:00
polvi
bc2f557b83 Merge pull request #323 from polvi/usr-systemd3
Usr systemd3
2014-01-31 15:28:04 -08:00
Alex Polvi
73fca0b33e move the rm to the ebuild 2014-01-31 15:24:24 -08:00
polvi
78ab864a37 Merge pull request #324 from polvi/usr-tlsdate2
usr(tlsdate): move to /usr/share/tlsdate
2014-01-31 13:06:11 -08:00
Michael Marineau
8e86082bff fix(app-admin/coreinit): Switch to new 'stable' ebuild.
Depending on live ebuilds is potentially flaky, time to start bumping
manually. Also fix the build, the path to the built binaries changed.
2014-01-30 14:25:30 -08:00
Michael Marineau
6eab81061b Merge pull request #328 from marineam/fix-docker
fix(coreos-base/coreos-init): Sync up stable and live ebuilds.
2014-01-30 14:13:41 -08:00
Michael Marineau
fa7742c46c fix(coreos-base/coreos-init): Sync up stable and live ebuilds.
Trying on a new scheme to use an if statement so we can share the same
ebuild between live and stable ebuilds. This should help avoid letting
the two get out of sync.
2014-01-30 14:01:09 -08:00
Greg Kroah-Hartman
863610bfe0 bump(sys-kernel/coreos-kernel) Bump to 3.13.0 2014-01-27 13:06:58 -08:00
Brandon Philips
15299f4ba1 feat(app-emulation/docker): add socket activation 2014-01-24 17:25:35 -08:00
Alex Polvi
e18aac865b usr(tlsdate): move to /usr/share/tlsdate 2014-01-23 17:24:17 -08:00
Alex Polvi
1de636cb0f usr(systemd): remove uneeded default dirs 2014-01-23 16:58:29 -08:00
Alex Polvi
df5fa41bcf chore(systemd): remove ebuilds we are not using 2014-01-23 16:22:58 -08:00
Jeremiah Orem
4584ce7cfb coretest: bump ref and drop service file. 2014-01-23 16:12:10 -08:00
polvi
22b4462223 Merge pull request #321 from polvi/add-coretest
feat(coretest): add coretest to the images, bump ebuild
2014-01-23 15:06:50 -08:00
polvi
15ca02728d Merge pull request #320 from polvi/usr-dbus2
usr(dbus): add keepdir for missing /etc entries
2014-01-23 15:04:19 -08:00
Alex Polvi
582a23ba6f feat(coretest): add coretest to the images, bump ebuild 2014-01-23 15:03:45 -08:00
Alex Polvi
97e9386b4f usr(dbus): add keepdir for missing /etc entries 2014-01-23 14:57:19 -08:00
Michael Marineau
a53eaec62c fix(coreos-base/coreos-base): Fix vimrc in non-usr images
This symlink (if missing) is created at boot-time in /usr images but we
need it at build time in classic read-only root images.
2014-01-23 14:53:18 -08:00
Michael Marineau
df686e732b fix(coreos-base/gmerge): Don't create /etc/make.profile
This conflicts with /etc/portage/make.profile in the chroot, generating
lots of warnings. This was always a weird hack anyway. Instead lets
start configuring portage properly in dev images, this will be handled
in the build scripts.
2014-01-22 17:08:46 -08:00
Michael Marineau
312592ec6d fix(sys-apps/dbus): Rename etc patch, add it to the ebuild.
Tweak the name of the ebuild, it was generated from current git rather
than any particular release. Also it needs to actually be applied. :)
2014-01-22 16:52:21 -08:00
Michael Marineau
6cbdd76076 Merge pull request #316 from marineam/python
bump(dev-lang/python): Update to 2.7.6, now in portage-stable
2014-01-22 16:00:25 -08:00
polvi
c21c891af7 Merge pull request #315 from polvi/usr-iproute2
Usr iproute2
2014-01-22 13:42:51 -08:00
polvi
289ab86403 Merge pull request #314 from polvi/usr-systemd-dbus
Pull dbus/systemd into coreos-overlay and bump related packages
2014-01-22 13:41:29 -08:00
Alex Polvi
0e84e09ac3 usr(systemd-dbus): add patch to allow users to use /etc/ 2014-01-22 13:13:52 -08:00
Michael Marineau
85746a7fb8 bump(dev-lang/python): Update to 2.7.6, now in portage-stable 2014-01-22 12:48:08 -08:00
Alex Polvi
07cbd61d78 usr(iproute2): move sysconfig to /usr/share 2014-01-22 11:03:29 -08:00
Alex Polvi
cb76a0fa70 usr(iproute2): move to coreos-overlay 2014-01-22 11:02:40 -08:00
Alex Polvi
98cca9617e usr(systemd-dbus): bump ebuilds 2014-01-22 10:20:26 -08:00
Alex Polvi
2394f92933 usr(systemd-dbus): fix related tlsdate and update-engine 2014-01-21 20:29:10 -08:00
Alex Polvi
e0b84a4981 usr(systemd-dbus): point dbus related configs to /usr/share 2014-01-21 18:55:01 -08:00
Alex Polvi
44039df4a5 usr(systemd-dbus): move systemd and dbus to coreos-overlay 2014-01-21 18:53:43 -08:00
Michael Marineau
40e2815e63 bump(coreos-base/coreos-init): Switch to cgpt resize 2014-01-21 17:13:36 -08:00
Alex Polvi
aafef54888 usr(localtime): just remove localtime, does not hurt anything 2014-01-21 11:24:05 -08:00
Alex Polvi
26b7767464 usr(vimrc): move vimrc to /usr/local/vim 2014-01-20 14:10:29 -08:00
Michael Marineau
32a45fcd01 Merge pull request #307 from marineam/parttype
add(sys-apps/util-linux): Add patched util-linux to support PARTTYPE
2014-01-20 11:44:55 -08:00
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
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