30859 Commits

Author SHA1 Message Date
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
1539ff334e Merge pull request #98 from marineam/image-size
Image size
2013-08-28 12:25:56 -07:00
Brandon Philips
043dfeb868 Merge pull request #94 from philips/pxe-initial
Pxe initial
2013-08-28 12:09:41 -07:00
Brandon Philips
ce445512fd fix(build_library): fixup naming for the pxe image
based on @marineam's comments fixup the naming and ensure the output
files get picked up by the build system.
2013-08-28 12:04:55 -07:00
Michael Marineau
dfb7d8d115 fix(build_library): Drop default 'base' layout to 512MB for STATE.
This will further reduce the amount of dd'ing required when using block
devices.
2013-08-28 11:55:25 -07:00
Michael Marineau
8a488f890b fix(image_to_vm): Increase STATE in vagrant images to 16GB
Vagrant users are accustomed to much larger disk sizes so lets give it
to them. I'm leaving the others as-is since it is easier to grow than
shrink disks if anyone has a particular size they need.
2013-08-28 11:52:19 -07:00
Michael Marineau
9734ac017f feat(image_to_vm): Make disk layout configurable by VM type.
Use the smaller base format for 'raw' disk images since these will
usually be dd'd to a block device to create AMIs and what not. For
images using qcow2 and vmdk stick with the larger vm size.
2013-08-28 11:35:06 -07:00
Michael Marineau
300812d76f Merge pull request #183 from marineam/old-kernel
fix(sys-kernel/bootengine): Fix build on older kernels
2013-08-28 10:27:06 -07:00
Michael Marineau
008cf0ff9c fix(sys-kernel/bootengine): Fix build on older kernels 2013-08-28 10:24:33 -07:00
Michael Marineau
7f64629664 Merge pull request #97 from marineam/vmware
feat(image_to_vm): Add 'vmware_insecure' image type.
2013-08-28 10:18:24 -07:00
Michael Marineau
6575a0fb98 Merge pull request #182 from marineam/ip-issue
IP issue and baselayout cleanup
2013-08-28 10:15:25 -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
Michael Marineau
c6bbadd6e0 feat(image_to_vm): Add 'vmware_insecure' image type.
This bundles the vagrant ssh key, vmdk, and vmx into a zip file for easy
downloading and login access via ssh.
2013-08-27 21:18:12 -07:00
Brandon Philips
a840ae036c feat(build_library): pxe support
This adds support for creating a PXE image and kernel using build_image
2013-08-27 17:33:44 -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
0678643bfd Merge pull request #179 from gregkh/kernel_update
feat(sys-kernel/x86_64_defconfig) enable LSI scsi controller driver
2013-08-27 14:39:27 -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
Brandon Philips
5e3de96b25 Merge pull request #178 from gregkh/kernel_update
Kernel update - more gigabit ethernet drivers enabled.
2013-08-26 23:19:52 -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
Brandon Philips
2fe926c433 Merge pull request #177 from gregkh/kernel_update
bump(sys-kernel/coreos-kernel) bump to 3.10.9
2013-08-26 22:50:19 -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
Brandon Philips
c7dab1c3b9 Merge pull request #96 from marineam/user-fix
fix(make_chroot): Don't fail if user's full name is blank.
2013-08-26 16:06:13 -07:00
Michael Marineau
607c4b1cd5 fix(make_chroot): Don't fail if user's full name is blank.
It is perfectly valid for the comment field in a passwd file to be
blank so don't treat that as an error. Sorry backjlack :-/
2013-08-26 12:06:47 -04:00
Michael Marineau
309e247b9a Merge pull request #95 from marineam/sdk-on-coreos
SDK on CoreOS
2013-08-25 20:19:39 -07:00
Michael Marineau
c55cc8d684 Merge pull request #176 from marineam/sdk-on-coreos
SDK on CoreOS
2013-08-25 20:18:26 -07:00
Michael Marineau
8b7cc15bc6 Revert "fix(build_library): Create disk image first instead of last."
This reverts commit b97cfe126f0934d1505e352e17f15d580879d3cc.

The minor device numbers of loop partitions are allocated dynamically
which significantly complicates dunning under Docker which uses a static
/dev. Rolling this back until we can rely on /dev being dynamic.
2013-08-26 00:53:27 +00:00
Michael Marineau
4f18deb87f fix(build_image): Add support for using git in dev images.
If git is installed via coreos-dev in the STATE partition it will need
some help finding its install location since it was built thinking it
would be installed in /usr rather than /usr/local.
2013-08-26 00:53:21 +00:00
Michael Marineau
6c2f9a9ffb fix(make_chroot): Improve chroot user creation.
If the user already exists check that the UID and GID are correct and
modify it (setting shell and home directory) to match what the SDK
expects. This avoids needlessly failing if the user calling cros_sdk is
the 'core' user on a CoreOS machine.

Change new-user creation to copy the user's full name and group instead
of using a generic name and Google's 'eng' group. Also remove the
default password for the account, it isn't needed and uses perl.
2013-08-26 00:53:13 +00: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
Michael Marineau
bf0a37a0f4 fix(make_chroot): Move timezone setup to general init function.
No idea why this was in the user setup function, move it a bit.
2013-08-24 22:36:02 -04:00
Brandon Philips
eb01e1b659 Merge pull request #174 from philips/bump-etcd-listen
fix(dev-db/etcd): fixup listening IP
2013-08-23 22:32:01 -07: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