Commit Graph

735 Commits

Author SHA1 Message Date
Michael Marineau
e891e4e7bd add(sys-apps/systemd-sysv-util): Bump to version 207
As of 207 the systemd binary is only located at
/usr/lib/systemd/systemd, not /usr/bin/systemd. Fix the broken init link
accordingly, also add version to systemd dependency for good measure.
2013-09-19 16:21:48 -04:00
Michael Marineau
89d1377d8d fix(profiles): Add udev to the stage1 use flags.
Bootstrapping now pulls in udev which is provided by systemd, systemd
pulls in hwids which must have the udev use flag enabled. Also add
gentoo-systemd-integration which will be used with the next version of
systemd.
2013-09-16 19:05:04 -04:00
Michael Marineau
56ac86f071 churn(profiles): Move base to coreos/base.
Switch to upstream's base profile, moving coreos specific stuff into
coreos/base and elsewhere as needed. No significant changes but a lot of
use flag nose in this since things like the list of available python
targets changes.
2013-09-16 18:31:49 -04:00
Michael Marineau
5959c42ec4 churn(profiles): Move arch/amd64
The only CoreOS specific things in this profile appear to have been
a few use flags for the SDK. Switch to the upstream amd64 profile after
moving these flags around in the appropriate target profiles.

The one function change here is that the delta_generator use flag is now
properly disabled outside of the SDK as it was in chromeos.
2013-09-16 17:38:59 -04:00
Michael Marineau
0303361b28 churn(profiles): Move default/linux to coreos/base
Move all of the coreos stuff to coreos/base and a couple other places
while switching to the upstream version of default/linux. This needs
further cleanup but it sufficient for the transition.
2013-09-16 17:07:20 -04:00
Michael Marineau
37704e94b9 fix(coreos-base/gmerge): Update target profile directory.
This really shouldn't be in this ebuild but fixing it is a task for
another day...
2013-09-14 20:55:11 -04:00
Michael Marineau
09fda60f5d churn(profiles): Move default/linux/amd64/10.0
Merge the remaining bits of default/linux/amd64/10.0 into the coreos
tree. default/linux/amd64/10.0 is now an alias for coreos/amd64/sdk for
compatibility with existing configs.
2013-09-13 22:16:27 -04:00
Michael Marineau
17162aca29 churn(profiles): Remove unused profiles from default/linux/amd64/10.0 2013-09-13 21:11:31 -04:00
Michael Marineau
f9f6fd02f3 churn(profiles): Move default/linux/amd64/10.0/coreos
default/linux/amd64/10.0/coreos and coreos/amd64/generic have swapped.
The old profile remains for compatibility with existing configurations.
2013-09-13 20:03:32 -04:00
Michael Marineau
e7be73b497 churn(profiles): Move targets/coreos to coreos/targets/generic 2013-09-13 19:37:44 -04:00
Michael Marineau
4587876cfa chrun(profiles): Remove cruft from targets/coreos
This removes settings that either do not apply to packages we install or
duplicate settings that are provided elsewhere. No functional changes.
2013-09-13 19:32:19 -04:00
Michael Marineau
dc36bcf6d8 add(profiles/coreos): Add new 'coreos' profile tree.
This will replace coreos specific stuff that is scattered around
'default/linux', 'arch/amd64', 'base', and 'targets' so those can be
replaced by the upstream Gentoo versions.
2013-09-13 16:43:32 -04:00
Michael Marineau
d14733daff churn(profiles): Replace arch/base with upstream. 2013-09-13 14:45:10 -04:00
Michael Marineau
d7190b3fef churn(profiles): Replace features/multilib with upstream. 2013-09-13 14:41:31 -04:00
Michael Marineau
f4d990471a churn(profiles): Replace features/64bit-native with upstream. 2013-09-13 14:35:17 -04:00
Michael Marineau
a2fa844e72 churn(profiles): Replace releases/10.0 with upstream.
This adds gdbm to the default USE flags which is already enabled on some
packages but not others. Disable for perl and apr-util for consistency.
2013-09-13 14:33:55 -04:00
Michael Marineau
9f4e16b621 clean(profiles): Remove unused x86/arm profiles.
These profiles are not in regular use, drop them to minimize the number
of profiles to rebase onto upstream Gentoo portage profiles.
2013-09-13 14:09:14 -04:00
Michael Marineau
87ba14bca1 fix(metadata): Support 'repo:some/name' profile names.
This allows using things like 'gentoo:targets/desktop' or
':targets/desktop' in parent files which is much easier to read than the
default format which requires relative or absolute file paths.
2013-09-13 13:16:48 -04:00
Michael Marineau
49caf4f511 bump(coreos-base/coreos-init): Include updated c10n script. 2013-09-11 23:26:08 -04:00
Michael Marineau
60c8fe9eb3 fix(sys-kernel/coreos-kernel): Fix boot on new ec2 hardware.
Cherry-pick edb6f29464afc65fc73767540b854abf63ae7144 from upstream:
  crypto: xor - Check for osxsave as well as avx in crypto/xor

This fixes booting with old versions of Xen running on new CPUs.
2013-09-11 21:26:40 -04:00
Brandon Philips
83dbbb2f7a chore(sys-kernel/coreos-kernel): bump to pickup new driver 2013-09-10 21:28:33 -07:00
Brandon Philips
997136c219 Merge pull request #209 from philips/pxe-update-engine
feat(coreos-init): introduce pxe update_engine
2013-09-10 21:27:44 -07:00
Brandon Philips
8bb386cfe3 chore(coreos-base/update_engine): grab pxe commit 2013-09-10 21:26:56 -07:00
Brandon Philips
18d85a88e9 fix(update_engine): use exeinto for pxe_update_engine
use exeinto as suggsted by mike for pxe_update_engine
2013-09-10 21:20:30 -07:00
Brandon Philips
14bdcf55ac Merge pull request #212 from marineam/python
fix(dev-lang/python): Update Manifest
2013-09-10 21:05:12 -07:00
Michael Marineau
8a6cc6f02a fix(dev-lang/python): Update Manifest
Missed in previous python version bump.
2013-09-11 00:01:30 -04:00
Greg Kroah-Hartman
df479fa7b1 fix(cros-kernel/x86_64_defconfig) add CONFIG_SCSI_ISCI
This builds the driver, and the needed libraries, for this driver into
the kernel.
2013-09-10 20:50:49 -07:00
Michael Marineau
e041f799a1 fix(dev-lang/python): Update python build for cross-compiling.
Port the ChromiumOS distutils and site patches from 2.7.3 to 2.7.5 and
add some additional exports to make autoconf happy.
2013-09-10 22:10:18 -04:00
Michael Marineau
24402086f8 bump(dev-lang/python): Pull in 2.7.5 ebuild from upstream Gentoo. 2013-09-10 17:24:55 -04:00
Brandon Philips
203ee91d29 feat(update-engine): pxe update engine 2013-09-10 10:59:50 -07:00
Brandon Philips
aac2fdbd13 feat(coreos): add gpg
the installer uses GPG to verify digests. Other people can and should
use gpg to verify stuff they download to the host.
2013-09-10 08:54:04 -07:00
Michael Marineau
bbb2de3d7c Merge pull request #206 from philips/squashfs-init
Squashfs init
2013-09-09 18:27:18 -07:00
Brandon Philips
d45abdcd61 feat(coreos-init): get installer and pxe changes 2013-09-09 17:18:09 -07:00
Brandon Philips
2e74091534 fix(coreos-init): add ssh-key-proc to 9999
annoying oversight missing this, fix.
2013-09-09 17:15:55 -07:00
Brandon Philips
63784aaca4 Merge pull request #205 from philips/squashfs-init
feat(sys-kernel/bootengine): add root=squashfs: support
2013-09-09 11:22:57 -07:00
Brandon Philips
8b82d28c57 feat(sys-kernel/bootengine): add root=squashfs: support 2013-09-09 10:07:36 -07:00
Greg Kroah-Hartman
95ce89014b Merge pull request #204 from philips/add-nfs-protocol-support
fix(cros-kernel): add nfs 2/3 protocol support
2013-09-08 22:52:29 -07:00
Brandon Philips
a093f2d6de fix(cros-kernel): add nfs 2/3 protocol support
stupid oversight on my part. :(
2013-09-08 22:28:12 -07:00
Greg Kroah-Hartman
feb0172df8 Merge pull request #203 from philips/squashfs-init
Add squashfs kernel stuff
2013-09-08 19:00:43 -07:00
Brandon Philips
80bb49300c fix(bootengine): install all modules 2013-09-08 15:33:44 -07:00
Brandon Philips
4ca4c1b16c feat(coreos-base/hard-host-depends): add sys-fs/squashfs-tools 2013-09-08 15:13:39 -07:00
Brandon Philips
9f351816b2 feat(cros-kernel): enable squashfs support 2013-09-08 15:13:39 -07:00
Brandon Philips
00786de2dc fix(update-engine): respect the diskless parameters
update engine shouldn't run when we are diskless (for now)
2013-09-06 17:20:30 -07:00
Brandon Philips
90331d3f19 chore(coreos/scripts): remove cros_set_lsb_release 2013-09-05 17:26:43 -07:00
Brandon Philips
e66eaaba2f fix(dev-db/etcd): listen on 0.0.0.0 on non-ec2 types
This change makes it possible to access etcd from inside a docker
container.
2013-09-05 15:50:47 -07:00
Michael Marineau
544ed7ac50 Merge pull request #199 from marineam/gentoolkit
fix(profiles): Update to gentoolkit-0.3.0.8
2013-09-05 13:10:35 -07:00
Michael Marineau
d5a9db633b fix(profiles): Update to gentoolkit-0.3.0.8
This will be helpful when I get back to my old project of rebasing our
portage profiles on upstream Gentoo's profiles.
2013-09-05 13:00:34 -07:00
Greg Kroah-Hartman
c6949c3cfe feat(coreos-devutils/cros-devutils) add efitools to build tools so kernels can be signed 2013-09-04 22:00:34 -07:00
Greg Kroah-Hartman
f0a2786761 Merge pull request #197 from philips/add-network-diag-tools
feat(coreos/base): add ping
2013-09-04 12:43:47 -07:00
Brandon Philips
7daa5ecbc0 feat(coreos/base): add ping
sysadmins are likely going to need some basic tools to debug network
stuff in the base system.
2013-09-04 12:26:21 -07:00
Michael Marineau
4a0ce81d13 bump(coreos-base/coreos-installer): Latest setgoodroot fix 2013-09-04 14:15:20 -04:00
Michael Marineau
3f1df8b633 bump(coreos-base/coreos-init): Add ssh key fingerprints to issue. 2013-09-03 20:41:17 -07:00
Brandon Philips
44dc6d71f6 Merge pull request #194 from gregkh/kernel_update
fix(sys-kernel/coreos-kernel) build in almost all kernel modules
2013-09-03 15:48:03 -07:00
Greg Kroah-Hartman
a159726876 fix(sys-kernel/coreos-kernel) build in almost all kernel modules
This resolves the "xen fails to boot, so it falls back" problem of
getting out of sync with the kernel and the modules on the root
partitions.  Once kexec is working for xen, modules can be built again.
2013-09-03 15:45:45 -07:00
Michael Marineau
b52d25bd59 bump(coreos-base/coreos-installer): Use fixed version of setgoodroot.
Now maybe upgrades work for more than one boot!
2013-09-03 15:19:09 -07:00
Michael Marineau
4a3a8636e3 fix(coreos-base/coreos-installer): Set correct source path in repo.
Use local repo checkout instead of falling back to git-2.eclass,
otherwise local development doesn't work.
2013-09-03 15:01:14 -07:00
Brandon Philips
fcef234038 feat(coreos-base/coreos): add nfs 2013-09-01 22:56:26 -07:00
Brandon Philips
c0b199b50d fix(coreos-base/hard-host-depends): add libtirpc
libtirpc is a build dependency for nfs-utils
2013-09-01 22:56:26 -07:00
Greg Kroah-Hartman
15eec0ed39 Merge pull request #190 from gregkh/new_keywords
fix(package.accept_keywords) add ~amd64 to efitools and gnu-efi
2013-09-01 17:35:04 -07:00
Greg Kroah-Hartman
42a4afc7d6 Merge pull request #191 from marineam/scsi
fix(sys-kernel/coreos-kernel): Add assorted SCSI adapters for VMware.
2013-09-01 17:34:48 -07:00
Michael Marineau
e01beabebf fix(sys-kernel/coreos-kernel): Add assorted SCSI adapters for VMware.
VMware can emulate buslogic, lsilogic, and its own pvscsi adapters.
Build the whole lot of related devices into the kernel to ensure CoreOS
boots on any of them.
2013-09-01 16:31:40 -07:00
Greg Kroah-Hartman
81f39df32d fix(package.accept_keywords) put back ChromiumOS copyright.
I was wrong to remove it, oops.
2013-09-01 16:16:20 -07:00
Greg Kroah-Hartman
18ca5079eb fix(package.accept_keywords) add ~amd64 to efitools and gnu-efi
This is required for these packages to build as upstream has not
stabilized them yet, and it's doubtful that will happen any year soon...
2013-09-01 15:55:41 -07:00
Greg Kroah-Hartman
4c2b290532 fix(app-crypt/sbsigntool) fix cross-build for sbsigntool
As the documentation isn't being built, don't try to install it.  Fix
this by just not ever going into the doc/ subdirectory.  I'm sure
there's a "proper" fix for this with the HELP2MAN stuff, but it really
doesn't matter, so this work-around is good enough for now.
2013-09-01 15:32:40 -07:00
Michael Marineau
5c9d33bb5e fix(coreos-devel/coreos-buildbot): Simple build fixes. 2013-08-29 17:30:41 -04:00
Michael Marineau
f89aa02ffa fix(*): Update references to old git URL.
Removed a bunch of unused things that happened to refer to it, update
others that matter.
2013-08-29 13:43:31 -07:00
Greg Kroah-Hartman
d57ed20b04 bump(sys-kernel/coreos-kernel) bump to 3.10.10
Also update the documentation to include note about applying patches.
2013-08-29 11:59:50 -07:00
Brandon Philips
33fba0e4b3 Merge pull request #185 from gregkh/kernel_update
kernel config: build in command line option and usb drivers
2013-08-28 14:57:09 -07:00
Greg Kroah-Hartman
62b05becb6 feat(cros-kernel/x86_64_defconfig) build USB into the kernel
When booting from a USB device, you need the USB drivers built into the
kernel.
2013-08-28 14:45:56 -07:00
Greg Kroah-Hartman
4414a44aea feat(cros-kernel/x86_64_defconfig) add "root=gptprio:" to kernel command line
For places where you can't control the kernel boot command line (i.e.
UEFI), add a default option so that dracut knows what to do with
booting.
2013-08-28 12:58:50 -07:00
Michael Marineau
008cf0ff9c fix(sys-kernel/bootengine): Fix build on older kernels 2013-08-28 10:24:33 -07:00
Michael Marineau
2608bde5d5 bump(coreos-base/coreos-init): Bump to version with dynamic issue file. 2013-08-27 23:12:11 -07:00
Michael Marineau
3164ae5fe0 fix(sys-apps/baselayout): Don't install /etc/issue on target systems.
This is handled in /run by coreos-init scripts.
2013-08-27 22:24:29 -07:00
Michael Marineau
9af1e79d79 cleanup(sys-apps/baselayout): Remove old functions.sh from baselayout-1 2013-08-27 22:24:29 -07:00
Michael Marineau
037d2841df fix(sys-apps/baselayout): Sync baselayout with recent Gentoo updates.
baselayout no longer depends on openrc upstream so remove our
openrc/efunctions use flag and dependency. Depend on efunctions in
coreos-base instead.

Remove os-release and roll back gentoo-release since customizing them is
now handled by the set_lsb_release.
2013-08-27 22:24:29 -07:00
Brandon Philips
01c3765fa7 Merge pull request #181 from gregkh/kernel_update
feat(sys-kernel/x86_64_defconfig) enable EFI in the kernel build
2013-08-27 16:10:05 -07:00
Greg Kroah-Hartman
c98ea00e1f feat(sys-kernel/x86_64_defconfig) enable EFI in the kernel build
This builds the kernel as an EFI image, allowing it to be booted
directly by UEFI bioses.  It also enables the efivars and efivarfs
modules so that EFI variables can be accessed properly when booted in
EFI mode.
2013-08-27 16:07:18 -07:00
Brandon Philips
8143b5b5fd Merge pull request #172 from philips/pxe-initial
introduce the PXE oem
2013-08-27 15:58:18 -07:00
Brandon Philips
0df1bb92fa feat(coreos-base/coreos-init): add ssh-key-proc-cmdline
adds the sshkey= feature on the kernel commandline
2013-08-27 15:48:56 -07:00
Brandon Philips
ea08c8f2d3 feat(coreos-base/oem-pxe): introduce the PXE oem
simple OEM for PXE. Simply has an oem-release file.
2013-08-27 15:11:35 -07:00
Brandon Philips
7d6b584c1b Merge pull request #180 from philips/docker-0.6.1
fix(app-emulation/docker): bump to 0.6.1
2013-08-27 14:50:28 -07:00
Brandon Philips
11f02924d8 fix(app-emulation/docker): bump to 0.6.1
the hash is actually for 0.6.1 not 0.6.0. Fix.
2013-08-27 14:44:53 -07:00
Brandon Philips
05724060f6 Merge pull request #175 from philips/docker-0.6
bump(app-emulation/docker): use the philips fork
2013-08-27 14:43:54 -07:00
Brandon Philips
31c80e89de bump(app-emulation/docker): use the philips fork
use the philips fork of docker for now until this build situation gets
sorted out.

https://groups.google.com/forum/#!topic/docker-dev/VeB_vmIMONc
2013-08-27 14:38:30 -07:00
Greg Kroah-Hartman
2b61d5b62f feat(sys-kernel/x86_64_defconfig) enable LSI scsi controller driver 2013-08-27 14:31:58 -07:00
Greg Kroah-Hartman
5e6cface78 feat(sys-kernel/x86_64_defconfig) enable even more networking drivers
Atheros, Chelsio, Dlink, and a few more gigabit network controllers
2013-08-26 23:14:28 -07:00
Greg Kroah-Hartman
6fb76a3429 feat(sys-kernel/x86_64_defconfig) enable more networking drivers
Some Intel ones, Mellanox, Micrel, and Myri.
2013-08-26 23:06:07 -07:00
Greg Kroah-Hartman
8a69c5cf97 feat(sys-kernel/x86_64_defconfig) enable Broadcom and Brocade network drivers 2013-08-26 18:35:04 -07:00
Greg Kroah-Hartman
647e6de301 bump(sys-kernel/coreos-kernel) bump to 3.10.9 2013-08-26 16:45:58 -07:00
Michael Marineau
4acf09c5aa fix(coreos-base/coreos-dev): Remove tpm-tools and opencryptoki from dev.
opencryptoki sometimes fails to build by trying to install something to
/var/lock which is a symlink to /run but the SDK makes no promise that
/run is mounted and populated. Instead of fixing the ebuild just drop it
and tpm-tools which depends on it since we don't actually need them.
2013-08-25 16:44:34 -04:00
Michael Marineau
cb3d204464 fix(sys-apps/util-linux): Do not exclude the unshare utility.
It is required to run cros_sdk.
2013-08-25 02:12:00 -04:00
Brandon Philips
6051203893 fix(dev-db/etcd): fixup listening IP
This fixes the listening ips problem that keeps people from hitting
127.0.0.1 as reported by users.
2013-08-23 17:07:47 -07:00
Michael Marineau
a14d446222 Merge pull request #171 from marineam/base
coreos-base updates, docker socket fixed
2013-08-22 18:46:11 -07:00
Michael Marineau
073071a627 fix(app-emulation/docker): Remove old ebuilds, remove sysctl call.
ipv4 forwarding is now enabled in coreos-base via a sysctl config.
2013-08-22 21:09:18 -04:00
Michael Marineau
cd40d3e46b fix(coreos-base/coreos-base): Install sysctl, a little more cleanup.
Pair down the old unused sysctl.conf do what is useful for us and
install it into /usr/lib/sysctl.d for systemd to handle.

Installing /srv in the SDK does no harm so do so.

EAPI=5 because, better.
2013-08-22 21:09:04 -04:00
Michael Marineau
898a3a3a08 fix(coreos-base/coreos-base): Change core's shell to bash.
It is bash but might as well be explicit about that.
2013-08-22 21:07:29 -04:00
Michael Marineau
a1a5f82b28 fix(coreos-base/coreos-base): Remove directory creation.
This duplicates sys-apps/baselayout so don't bother. Probably left over
from when baselayout wasn't properly installed with the 'build' use flag
to initialize the filesystem tree.
2013-08-22 21:07:18 -04:00
Michael Marineau
a19498b725 fix(coreos-base/coreos-base): Update users and groups.
Remove the following unused users/groups:
 - core-access
 - polkituser
 - pkcs11
 - ipsec
 - tor
 - tcpdump
 - debugd
 - openvpn
 - input

Add groups:
 - docker (new group, for things like access to docker socket)
 - systemd-journal (exists in sdk, not images. for journal log access)
 - dialout (exists in sdk, required by default udev rules)

The core user has access to docker and systemd-journal.
2013-08-22 21:07:07 -04:00
Michael Marineau
37a7bb4932 fix(coreos-base/coreos-base): Remove old ChromeOS files.
The udev rules are required on our system and refer to non-existent
groups causing udev to spew a bit of useless noise on boot.

The profile.d scripts don't do anything at all.
2013-08-22 21:05:46 -04:00
Brandon Philips
97c626a8e7 fix(dev-db/etcd): listen on 0.0.0.0:4001
this fixes a regression where etcd no longer listens on 127.0.0.1 and
the public ip. Fix this up because etcd needs to listen on both for user
convienence and for other cluster members to talk to it.

TODO: Add 127.0.0.1 test to ami test.
2013-08-22 10:06:24 -07:00