Commit Graph

641 Commits

Author SHA1 Message Date
Michael Marineau
211c947145 fix(sys-kernel/coreos-kernel): Enable virtio block device support.
Enable virtual block devices to support qemu drives configured with
if=virtio instead of the default emulated hardware interface. While I'm
at it throw in the virtio scsi module just in case a need for fancier
devices comes along at some point.
2013-07-25 14:08:12 -04:00
polvi
6847a2e1bf Merge pull request #122 from philips/oem-ami-round2
Oem ami round2
2013-07-25 10:34:45 -07:00
Brandon Philips
6deddda025 Merge pull request #117 from philips/use-lsb-coreos
chore(*): use COREOS lsb-release variables
2013-07-25 10:23:21 -07:00
Alex Polvi
e073045707 Merge branch 'master' of https://github.com/coreos/coreos-overlay into oem-ami
Conflicts:
	coreos-base/coreos/coreos-0.0.1-r196.ebuild
	coreos-base/coreos/coreos-0.0.1-r199.ebuild
	coreos-base/coreos/coreos-0.0.1-r200.ebuild
	coreos-base/coreos/coreos-0.0.1.ebuild
	coreos-base/oem-ami/files/install-ec2-key.sh
2013-07-25 10:11:34 -07:00
Alex Polvi
3d4a8899e5 feat(coreos-base/oem-ami): add packages to make amis work 2013-07-25 10:11:16 -07:00
Brandon Philips
fa976e84fd chore(*): use COREOS lsb-release variables
update these ebuilds to use the COREOS lsb-release variables

coreos-installer/coreos-installer
cros-devutils/cros-devutils
gmerge/gmerge
update_engine/update_engine
vboot_reference/vboot_reference
2013-07-24 19:14:25 -07:00
Brandon Philips
58bef67e6e Merge pull request #118 from marineam/fixinst
fix(sys-kernel/bootengne): Include missing dependency, code update.
2013-07-24 18:57:04 -07:00
Michael Marineau
22ebaa50f8 fix(sys-kernel/bootengne): Include missing dependency, code update.
The module install wasn't noticing the missing dep, should be good now.
2013-07-24 19:23:40 -04:00
Brandon Philips
9421147994 chore(*): use COREOS lsb-release variables
use the COREOS_ variables in /etc/lsb-release
2013-07-24 15:44:24 -07:00
Brandon Philips
2c6d7df403 feat(sys-libs/ncurses): initial import
import and add -256color variants of terminals.
2013-07-23 23:58:54 -07:00
Brandon Philips
a148ec392d Revert "feat(profiles): unmask udev/systemd/etc"
This reverts commit bc7026fd10d82b8184b6b7d35759bcfecbc5c666.
2013-07-23 10:18:27 -07:00
Greg Kroah-Hartman
e1484f3ad0 Merge pull request #114 from marineam/update-bootengine
Update bootengine
2013-07-23 10:15:06 -07:00
Brandon Philips
9b2cdc7675 feat(profiles): unmask udev/systemd/etc 2013-07-23 10:03:35 -07:00
Michael Marineau
4e6d93cff3 fix(sys-kernel/bootengine): Use new update-bootengine script in postinst
All the nasties have been polished and hidden away in a new script.
2013-07-23 03:01:44 -04:00
Michael Marineau
30e47c03fd fix(sys-kernel/bootengine): Add all dependencies required by postinst
When building on a fresh board root it is easy for bootengine to die a
silent but horrible death because it was installed before one of the
tools it uses to create or includes in the initird. To avoid this use a
very complete dependency list for both DEPEND and RDEPEND.
2013-07-23 02:41:49 -04:00
Michael Marineau
9e31324af1 fix(profiles): Everyting assumes lib symlinks to lib64, make it so. 2013-07-22 21:42:57 -04:00
Brandon Philips
d933790b6f bump(coreos-base/coreos-init): get the removal of noexec
remove noexec on oem. via 1f2cd73df612360c8c1910f6e9ca7bd3732c2dec
2013-07-22 17:52:28 -07:00
Brandon Philips
c46fd7ab05 fix(sys-kernel/bootengine): remove recursive from all the things
we don't need recursive mounts on any of this. remove it.
2013-07-22 16:16:34 -07:00
Brandon Philips
59394db940 fix(sys-kernel/bootengine): don't mount dev recursive
fixes problems with /dev/pts being busy
2013-07-22 16:06:55 -07:00
Michael Marineau
3d81c85899 fix(sys-kernel/coreos-kernel): Disable outoftree for patched versions.
Missed this in 59d86fde1c2fa477b91f76d29ea1da145ca6f618, we don't want
to patch shared source trees and doing so causes a sandbox violation. So
disable CROS_WORKON_OUTOFTREE_BUILD for versions with the no-firmware
patch.
2013-07-22 13:37:01 -04:00
Michael Marineau
48a4fc0076 fix(sys-kernel/coreos-kernel): Rename origin to github in the README.
When cloned by repo sync the origin remote is named github.
2013-07-22 13:00:07 -04:00
Michael Marineau
f97c31eee9 fix(sys-kernel/coreos-kernel): Set correct local workon directory.
The kernel source is now in the manifest and checked out to
src/third_party/linux
2013-07-22 12:57:26 -04:00
Michael Marineau
53c5b70b5a fix(sys-kernel/bootengine): All commands in postinst should be fatal.
If /dev fails to mount we better not continue, that's a sure fire way to
wind up with a directory named dev/null.
2013-07-22 12:17:22 -04:00
Brandon Philips
377b18bc86 bump(cros-devutils): bump to the latest 2013-07-21 22:47:08 -07:00
Brandon Philips
4b17e7939e bump(coreos-base/update_engine): get compile fix 2013-07-21 21:21:49 -07:00
Brandon Philips
6ef3166d86 bump(sys-kernel/bootengine): bump to latest
add fixes around PARTUUID
2013-07-21 21:17:41 -07:00
Brandon Philips
148b7d6ca1 fix(sys-kernel/bootengine): no fscks!
we don't want to have fscks in dracut for two reasons:

1) Root is readonly on coreos
2) it bloats and slows down the boot
2013-07-21 21:14:47 -07:00
Brandon Philips
ef51bb7872 fix(eclass/cros-kernel2): remove size restriction
we don't care about the size of the kernel. Just remove this check.
2013-07-21 18:00:14 -07:00
Brandon Philips
da4ad5388c feat(sys-kernel/coreos-kernel): use bootengine
move the bootengine to coreos-kernel and delete the boot kernel config.
2013-07-21 15:50:55 -07:00
Brandon Philips
d9d2341cff fix(bootengine): don't use host-only on dracut
host-only means that we don't include all of the modules that the kernel
provides. Only the ones that are needed for this machine. This won't
work since we rely on all of the modules since we don't have the
bootkernel anymore.
2013-07-21 15:46:09 -07:00
Brandon Philips
d97258917e feat(bootkernel): merge into regular kernel
This merges the bootkernel into the coreos-kernel. The reason we are
doing this is because on Xen, today, we don't have kexec so we need to
have a full kernel in this case.

This also updates bootengine so that it has the new logic to handle a
non-working kexec.
2013-07-20 16:56:21 -07:00
Greg Kroah-Hartman
d4c3563e2b fix(coreos-base/bootengine) bump to latest git and fix umount to be recursive
Also make mkdir be "nice" if the directory is already there and not spit
out a warning message.
2013-07-18 23:13:40 -07:00
Greg Kroah-Hartman
8ee7ad6562 fix(package.mask) properly mask the kexec-tools-2.0.99 ebuild 2013-07-18 17:11:28 -07:00
Greg Kroah-Hartman
edc0af9e91 fix(sys-apps/kexec-tools) remove 2.0.99 ebuild
The "normal" kexec ebuild works properly, so the 2.0.99 ebuild can be
removed, and masked away.
2013-07-18 16:45:05 -07:00
Greg Kroah-Hartman
1fbd6764c5 fix(sys-kernel/coreos-bootkernel) bump the ebuild due to the .config change 2013-07-18 14:45:15 -07:00
Greg Kroah-Hartman
ae68006795 fix(sys-kernel/cros-bootkernel) make bootkernel support being a virtualized guest image 2013-07-18 14:32:37 -07:00
Brandon Philips
6be50af767 fix(bootengine): die if we have problems with the cpio 2013-07-18 13:56:27 -07:00
Greg Kroah-Hartman
13b462927b fix(sys-kernel/dracut) add Manifest file 2013-07-18 11:08:37 -07:00
Brandon Philips
b8c19881ae Merge pull request #83 from polvi/add-oem
feat(coreos-base/oem): add the initial oem partition support
2013-07-18 10:48:14 -07:00
polvi
65d3557671 Delete oem.service 2013-07-18 10:46:49 -07:00
Brandon Philips
c83a2477b5 Merge pull request #94 from gregkh/kexec
fix(sys-apps/kexec-tools) provide ebuild for binary version of kexec
2013-07-18 10:44:29 -07:00
Greg Kroah-Hartman
b50f0116a7 fix(sys-apps/kexec-tools) fix Manifest to handle kexec binary properly 2013-07-18 10:01:18 -07:00
Michael Marineau
9950ad707d fix(coreos-base/coreos): Drop criu from images for now.
Hitting a weird compile error, will sort out another time.
2013-07-18 09:01:15 -07:00
Greg Kroah-Hartman
d8d155bc1a fix(sys-apps/kexec-tools) provide ebuild for binary version of kexec 2013-07-17 23:15:16 -07:00
Greg Kroah-Hartman
04552ce872 feat(coreos-base/bootengine) pick up new bootengine changes 2013-07-17 18:59:25 -07:00
Greg Kroah-Hartman
634b611bb2 feat(eclass/cros-kernel2.eclass) provide stable symlink for cros-bootkernel 2013-07-17 18:22:06 -07:00
Greg Kroah-Hartman
02554d0e5b Merge pull request #91 from philips/cleanup-boards
fix(eclass/cros-board): remove all the boards
2013-07-17 18:09:19 -07:00
Brandon Philips
c27c77afeb fix(eclass/cros-board): remove all the boards
remove all of the unused boards.

bye mario, itsa not you.
2013-07-17 17:31:23 -07:00
Michael Marineau
991f2cd585 Merge pull request #90 from marineam/sysroot
fix(profiles): Add sysroot-wrappers to PATH
2013-07-17 17:12:40 -07:00
Greg Kroah-Hartman
c3d7ab1d4a Merge pull request #89 from gregkh/boot_kernel_update
fix(coreos-base/bootengine) update 9999 ebuild so that cros_workon works
2013-07-17 16:53:25 -07:00
Michael Marineau
df066d6ee0 fix(profiles): Add sysroot-wrappers to PATH
We need to add sysroot-wrappers to PATH in portage itself because
commands like "sudo emerge ..." reset PATH to a fairly bland default.
emerge has similar logic for ccache and distcc internally.
2013-07-17 19:44:08 -04:00
Greg Kroah-Hartman
166c60e49f fix(coreos-base/bootengine) update 9999 ebuild so that cros_workon works
This was broken due to the changes in the "stable" bootengine package
and I forgot to update this version as well, sorry.
2013-07-17 16:27:36 -07:00
Michael Marineau
591750a1b6 fix(coreos-base/hard-host-depends): Include sysroot-wrappers in SDK 2013-07-17 19:19:02 -04:00
Michael Marineau
4b12aba4bd fix(sys-apps/bootcache): Fix building with GCC 4.6
Swap -fstack-protector-strong for -fstack-protector-all
2013-07-17 19:19:02 -04:00
Michael Marineau
3b4e8c55c5 fix(coreos-base/update_engine): Fix building with sysroot-wrappers
Tell the scons build to pass the PATH environment variable through.
2013-07-17 19:19:02 -04:00
Michael Marineau
e8b1ef8bc2 fix(coreos-base/libchromeos): Fix building with sysroot-wrappers
Tell the scons build to pass the PATH environment variable through.
2013-07-17 19:19:02 -04:00
Michael Marineau
0ff9fe09d6 fix(coreos-base/libchrome): Fix building with sysroot-wrappers
Tell the scons build to pass the PATH environment variable through.
2013-07-17 19:19:02 -04:00
Michael Marineau
d9cdb511a3 fix(coreos-base/cros_boot_mode): Fix building with GCC 4.6
Swap -fstack-protector-strong for -fstack-protector-all
2013-07-17 19:18:49 -04:00
Brandon Philips
0d4311f53c Merge pull request #87 from gregkh/boot_kernel_update
fix(coreos-base) properly bump the ebuild numbers for bootengine and cor...
2013-07-17 15:32:34 -07:00
Greg Kroah-Hartman
85a4cdca25 fix(coreos-base) properly bump the ebuild numbers for bootengine and coreos 2013-07-17 15:29:18 -07:00
Brandon Philips
4e3bfba646 Merge pull request #86 from gregkh/boot_kernel_update
feat(coreos) add bootkernel to build
2013-07-17 15:27:06 -07:00
Brandon Philips
549d174c86 fix(virtual/linux-sources): fixup metadata 2013-07-17 15:25:22 -07:00
Greg Kroah-Hartman
c5972b264a feat(coreos) add bootkernel to build
This adds the bootkernel to the full system build and moves the
kexec-tools dependancy to the bootengine ebuild, where it belongs.
2013-07-17 15:24:59 -07:00
Brandon Philips
06d86fc220 Merge pull request #75 from philips/fixup-installer
Fixup installer
2013-07-17 15:11:50 -07:00
Brandon Philips
d028bc8177 Merge pull request #85 from philips/remove-key-from-default-build
fix(coreos-base/update_engine): remove the au-key
2013-07-17 15:10:48 -07:00
Brandon Philips
6ebf8e9d34 fix(coreos-base/update_engine): remove the au-key
Update engine, rightfully, expects that if there is an au-key then it
should use it. This is a sound theory and we insert the key when we sign
anyways so remove this key for now.
2013-07-17 15:04:25 -07:00
Greg Kroah-Hartman
596a5da223 feat(coreos-base/bootengine) properly build the cpio image with out breaking /dev
This fixes the "create /dev/null" bug and builds the cpio image
successfully that the boot kernel needs to install.
2013-07-17 14:42:31 -07:00
Greg Kroah-Hartman
5c9f444955 feat(sys-kernel/dracut) update to 029 version
The --host-only option is needed, as well as the other fixes in this
release.
2013-07-17 14:37:49 -07:00
Greg Kroah-Hartman
c95781c71b Merge pull request #80 from gregkh/boot_kernel_update
feat(sys-kernel/coreos-bootkernel) bump version and add initrd to built ...
2013-07-17 14:30:45 -07:00
Alex Polvi
3cd7f13223 feat(coreos-base/oem): add the initial oem partition support
this (great looking) code adds the oem partition and supporting scripts
and services. AMI is the first target use case.
2013-07-17 13:46:40 -07:00
Brandon Philips
8225c3673e bump(update_engine): use coreos-setnextroot 2013-07-17 13:05:07 -07:00
Brandon Philips
e0ca2d2e6c bump(coreos-installer): get the lastest version
this introduces the new coreos-setgoodroot code
2013-07-17 13:05:07 -07:00
Brandon Philips
8c45cb7fee chore(coreos-installer): use the symlink style versioning 2013-07-17 13:05:07 -07:00
Brandon Philips
587d4c1a99 fix(coreos-installer): fixup deps in -9999 ebuild
the verity package moved to coreos. Fix.
2013-07-17 13:05:07 -07:00
Brandon Philips
24e767d538 feat(coreos-installer): install coreos- prefixed commands 2013-07-17 13:05:07 -07:00
Brandon Philips
146f6f917a chore(coreos-installer): fixup the header details 2013-07-17 13:05:07 -07:00
Michael Marineau
34a5dbaba3 add(sys-devel/sysroot-wrappers): Add new sysroot-wrappers tool.
This replaces the previous sysroot wrapper scripts that was bundled with
the Google toolchain. This one is implemented in a more generic manner
and based on ccache. Perhaps other custom wrapper scripts will
eventually move into this package as well.
2013-07-17 12:04:24 -07:00
Brandon Philips
6168ebb2e5 fix(vboot_reference): mask vboot-9999
bad mistake unmasking this. Reset the mask.
2013-07-17 11:35:35 -07:00
Brandon Philips
fc19d7bd39 feat(coreos-base/vboot_reference): bump to get cgpt next
bump to get the cgpt next utility
2013-07-17 10:58:03 -07:00
Brandon Philips
2bc148c26e chore(vboot_reference): strip out a lot of unneeded logic
we essentially only use vboot_reference for cgpt right now. Strip
everything else out.
2013-07-17 10:57:26 -07:00
Greg Kroah-Hartman
6f26999e06 feat(sys-kernel/coreos-bootkernel) fix up the cpio file location
This lets us rely on the kernel configuration, and not have to edit it
"by hand" with the location of the cpio file, as the cpio initrd is now
placed within the kernel output directory, where the build system picks
it up automatically.
2013-07-16 22:19:34 -07:00
Greg Kroah-Hartman
5b7a8be5e4 feat(sys-kernel/coreos-bootkernel) bump version and add initrd to built kernel image 2013-07-16 21:06:20 -07:00
Brandon Philips
3659846705 fix(coreos-base/bootengine): don't hardcode ${ROOT}
use the ${ROOT} variable instead of hard coding our own right here.
2013-07-16 13:36:02 -07:00
Brandon Philips
5365827939 fix(coreos-base/bootengine): change to build single image
don't build an image for every boot kernel, just build a single
uncompressed image and put it in /usr/share/bootengine/bootengine.cpio.
2013-07-16 12:28:44 -07:00
Brandon Philips
b634753f4c hack(coreos-base/bootengine): use chroot
dracut doesn't seem to have the ability to use a different root. Force
for now.
2013-07-16 11:15:51 -07:00
Brandon Philips
c33c7a422d feat(coreos-base/bootengine): build the initrds 2013-07-16 10:47:00 -07:00
Brandon Philips
915515ff14 feat(coreos-base/bootengine): initial commit 2013-07-16 10:28:16 -07:00
Greg Kroah-Hartman
2bab514df8 feat(sys-kernel/coreos-kernel) delete 3.10.0 ebuild 2013-07-15 17:17:32 -07:00
Greg Kroah-Hartman
f105575ec3 feat(sys-kernel/coreos-kernel) bump to 3.10.1 2013-07-15 16:30:45 -07:00
Michael Marineau
2060c2e161 fix(profiles): Add xz-utils to the system package set.
It is included in system in upstream Gentoo so we should too, otherwise
there is a chance builds will fail if xz isn't installed early enough.
2013-07-14 13:13:06 -04:00
Michael Marineau
f731726aff clean(binhost): All references to these files have been removed. 2013-07-13 21:12:47 -04:00
Michael Marineau
481f9f7901 fix(config): Include binary packages from current SDK version.
Currently building new releases can fail during the 'update_chroot' step
because the release it is building doesn't have any binary packages yet.
To avoid this add the current built SDK version as a second source for
chroot binary packages.
2013-07-13 20:55:28 -04:00
Greg Kroah-Hartman
f639711cdd feat(net-misc/curl) remove as portage-stable has newer version 2013-07-11 22:27:24 -07:00
Greg Kroah-Hartman
b04112adcd feat(net-libs/neon) remove as portage-stable has newer versions 2013-07-11 22:27:05 -07:00
Greg Kroah-Hartman
519a0e0512 feat(net-firewall/iptables) remove as portage-stable has newer version 2013-07-11 22:26:41 -07:00
Greg Kroah-Hartman
8087daaa3e feat(sys-apps/pv) remove as portage-stable has newer version 2013-07-11 22:26:21 -07:00
Greg Kroah-Hartman
e130f9eea7 feat(media-libs/libpng) remove as portage-stable has new version 2013-07-11 22:25:54 -07:00
Greg Kroah-Hartman
881cc03569 feat(sys-fs/udev) remove package as portage-stable has newer version 2013-07-11 22:25:17 -07:00
Greg Kroah-Hartman
07066716ba feat(dev-libs/protobuf) remove as newer versions are in portage-stable 2013-07-11 21:42:43 -07:00
Greg Kroah-Hartman
b0e075a09a feat(dev-libs/libffi) remove as newer versions are in portage-stable 2013-07-11 21:42:18 -07:00
Greg Kroah-Hartman
a89d45253d feat(dev-libs/libusb) remove as portage-stable has newer versions 2013-07-11 21:41:14 -07:00
Greg Kroah-Hartman
52b4d3e02c feat(dev-python/pygobject) remove as portage-stable has newer versions 2013-07-11 21:40:23 -07:00
Greg Kroah-Hartman
5d960bbbc4 feat(app-editors/vim) remove package as portage-stable has newer versions 2013-07-11 21:38:26 -07:00
Greg Kroah-Hartman
7af9d70a2c feat(dev-vcs/subversion) remove packages as portage-stable has newer versions 2013-07-11 21:37:20 -07:00
Greg Kroah-Hartman
8a6295db5e feat(dev-vcs/git) remove, as portage-stable has a newer version 2013-07-11 21:36:35 -07:00
Michael Marineau
54dd7da6fe fix(coreos-base/verity): Fix use of gcc flag not available in 4.6
Verity uses -fstack-protector-strong which was added in 4.7, use -all
instead which is available in 4.6. Dunno what impact this has but we
don't actually use it yet so *shrug*. Only a temporary fix since we
would probably want to fork verity if we use it or drop support entirely
if we decide we never will.
2013-07-11 10:55:35 -07:00
Greg Kroah-Hartman
5e3df11447 Merge pull request #69 from marineam/eclass-fixes
fix(app-editors/qemacs): Fix malformed patch.
2013-07-11 09:42:47 -07:00
Greg Kroah-Hartman
3bce59c522 Merge pull request #68 from gregkh/remove_deps
Remove some sys-apps/ ebuilds that are not needed.
2013-07-11 09:41:23 -07:00
Michael Marineau
326e9bb802 fix(app-editors/qemacs): Fix malformed patch.
This patch uses relative paths that are rejected by newer and stricter
eclass versions. Pulled from current portage but I'm purposefully *not*
updating the ebuild as the latest texi2html which in turn pulls in a lot
of new perl dependencies and we don't even care about texi2html or the
html docs it is used to produce in the first place so bleh.
2013-07-11 08:51:36 -07:00
Greg Kroah-Hartman
9edddf13ed feat(sys-apps/debianutils) delete
The ebuilds in portage-stable are newer, if we are even still using this
package (I wasn't able to tell for some odd reason...)
2013-07-10 23:14:29 -07:00
Greg Kroah-Hartman
b6cf6aa395 feat(sys-apps/module-init-tools) delete
We are using kmod instead, so just delete module-init-tools entirely,
it's not needed.
2013-07-10 23:13:29 -07:00
Greg Kroah-Hartman
d60806c465 feat(sys-apps/shadow) delete ebuilds
We are using the newer one in portage-overlay, these are here for no
reason, so delete them.
2013-07-10 23:12:54 -07:00
Greg Kroah-Hartman
35a6c85f5b feat(sys-apps/baselayout) remove old baselayout ebuild
It wasn't being used, portage-stable was more up to date anyway.
2013-07-10 22:47:36 -07:00
Greg Kroah-Hartman
dbca7fb617 feat(sys-apps/baselayout) CoreOS deserves it's own etc/os-release
Also modifies /etc/gentoo-release because python hasn't been updated to
use os-release, it still wants the old distro-specific files.
2013-07-10 22:45:43 -07:00
Brandon Philips
b293cd63d6 feat(dev-db): coordinate with the c10n service
this is an experiment to coordinate etcd with c10n.
2013-07-10 17:39:22 -07:00
Michael Marineau
3b2c247612 Merge pull request #64 from marineam/toolchain
clean(toolchain): Remove overlay toolchain, moved to portage-stable
2013-07-10 17:21:14 -07:00
Michael Marineau
0ec409f7ec Merge pull request #63 from marineam/ourpkgs
fix(config): Remove URL for old Google toolchain packages.
2013-07-10 16:50:22 -07:00
Michael Marineau
e3ff01d7a3 fix(config): Remove URL for old Google toolchain packages.
As of v9.1.0 we have our own binary toolchain packages so this is no
longer needed.
2013-07-10 16:23:27 -07:00
Brandon Philips
f2640f0d8f feat(dev-db/etcd): add new raft based etcd 2013-07-10 16:07:08 -07:00
Michael Marineau
32b17f5039 clean(toolchain): Remove overlay toolchain, moved to portage-stable
We have to actually remove these as opposed to ~keywording them because
crossdev will always use packages from overlays if they exist.

This won't actually impact anyone's SDK just yet as update_chroot will
only use binary packages for the toolchains. It will keep checking for
updates but not do anything until those updates are available from the
binhost. So the next release will switch to the new toolchain.
2013-07-10 15:13:01 -04:00
Brandon Philips
08bb509fe5 fix(coreos-base/core-admin): bump to latest
fixes the URL path for /admin
2013-07-09 15:13:32 -07:00
Brandon Philips
35e037708c Merge pull request #61 from philips/bump-update-engine
bump(coreos-base/update_engine): grab the bootid
2013-07-09 13:47:27 -07:00
Brandon Philips
b8781eebaf bump(coreos-base/update_engine): grab the bootid 2013-07-09 13:46:46 -07:00
Michael Marineau
39843ab8be fix(profiles): Move the mirror list from make.conf to profiles.
Another piece of migrating as much as possible into our profiles, this
should fix a current error blocking bootstrap_sdk builds.
2013-07-09 10:38:30 -07:00
Michael Marineau
77fb08aa5e bump(coreos-base/update_engine): Update stable release to latest code
The stable ebuild hasn't been bumped to include quote a lot of recent
work yet so lets do that. :)
2013-07-09 01:49:00 -04:00
Michael Marineau
8d95c0cd31 bump(coreos-base/cros-devutils): update to latest code
This pulls in recent changes to cros_generate_update_payload
2013-07-08 22:16:03 -07:00
Michael Marineau
e155f11fb2 fix(cros-workon.eclass): Add support for projects in src/platform
We no longer have any correlation between ebuild category and whether
the local checkout can be found in src/platform or src/third_party.
Instead provide a new variable to manually specify which it should be.
As-is it isn't possible to build local changes in src/platform trees.
2013-07-08 22:04:14 -07:00
Brandon Philips
12acedc881 Merge pull request #58 from philips/remove-all-x11
chore(x11-*): remove all x11 packages
2013-07-08 12:07:23 -07:00
Brandon Philips
51042194d2 Merge pull request #55 from philips/pair-down-ebuilds
Pair down ebuilds
2013-07-08 12:07:07 -07:00
Brandon Philips
bd9e8ec324 fix(coreos-base/vboot_reference): use github.com/coreos
Make this ebuild use the coreos github projects not Google's
2013-07-07 22:48:38 -07:00
Brandon Philips
83d598dc8f chorse(coreos-base/hard-host-depends): remove m17n
remove m17n means that we no longer depend on x11 in the sdk.
2013-07-07 22:41:35 -07:00
Brandon Philips
6a8f10845d chore(x11-*): remove all x11 packages
we don't need x11 anymore after remove crosh. Dump all of these ebuilds.
2013-07-07 22:12:57 -07:00
Brandon Philips
507915a9f5 bump(coreos-base/vboot_reference): bump to get coreos guids
CoreOS has its own GPT guids now. Use them.
2013-07-07 21:28:48 -07:00
Brandon Philips
04c28bb122 fix(coreos-base/vboot_reference): put into bumpable format
use the symlink trick to make this ebuild bumpable
2013-07-07 21:26:24 -07:00
Brandon Philips
37c5dea19f fix(coreos-base/coreos): remove crosh
crosh isn't really needed for coreos and particularly we don't need the
dependency on x11. Kill it!
2013-07-07 21:13:49 -07:00
Brandon Philips
126b50b99e chore(x11-drivers): remove unneeded ebuilds 2013-07-07 18:55:58 -07:00
Brandon Philips
e43a016307 chore(dev-embedded): remove uneeded ebuilds 2013-07-07 18:55:58 -07:00
Brandon Philips
a26b37e306 chore(dev-java/icedtea6-bin): remove 2013-07-07 18:55:58 -07:00
Brandon Philips
745715959d chore(net-wireless/*): remove everything
Lets not worry about having coreos support wireless for now :)
2013-07-07 18:55:58 -07:00
Brandon Philips
bfdc8d5058 chore(coreos-base): remove unused ebuilds
Remove leftover things from chromeos
2013-07-07 18:49:51 -07:00
Michael Marineau
4bf1f47d2b feat(profiles): Add lbzip2 to base system package set
lbzip2 is surprisingly fast and is particularly useful for dealing with
large archives and filesystem images. In a similar vein pbzip2 has been
used for handling binary packages for a while but lbzip2 seems a bit
better. Since I plan on using the heck out of lbzip2 add it to the build
and system package sets. While mucking around might as well start
swapping pbzip2 for lbzip2 for consistency's sake although it doesn't
seem to matter much for binary packages. For now we can only switch
make.conf for targets, the host make.conf can't change till everyone's
SDK has lbzip2 installed.
2013-07-06 00:04:24 -04:00
Brandon Philips
4301a804c7 feat(update_engine): add reboot manager experiment
Eventually this will talk to the API and coordinate with the rest of the
host group but for now lets right a bash script and reboot in 60
seconds.
2013-07-05 16:08:54 -07:00
Brandon Philips
bf144a7eed fix(coreos-au-key): copy the public key explicitly
The public key wasn't getting put in the right spot. Copy it explicitly
to fix.
2013-07-05 14:11:49 -07:00
Michael Marineau
1193f7d12e Merge pull request #52 from marineam/packages
fix(config): Use official release packages for targets.
2013-07-05 12:43:24 -07:00
Michael Marineau
0557445d0c Merge pull request #51 from marineam/bindist
fix(profiles): Apply the bindist flag to both the SDK and targets
2013-07-05 12:43:00 -07:00
Michael Marineau
c64903dda1 fix(config): Use official release packages for targets.
We now build target packages!
2013-07-05 15:32:11 -04:00
Michael Marineau
7af661170d fix(profiles): Apply the bindist flag to both the SDK and targets
Previously only targets were being built with bindist but we should
build the SDK with it as well. This avoids the re-compile of openssl,
openssh, and freetype when creating a new chroot since the SDK tarballs
are already built with the bindist flag. Also turn the bindist flag back
on for freetype in the target profile, we don't need ClearType sub-pixel
rendering on our systems. :)
2013-07-05 15:17:32 -04:00
Brandon Philips
bf8ce573cd feat(coreos-au-key): add an ebuild to put dev keys on image
This places a dev signing key on disk for testing purposes. As noted in
the ebuild a production key will replace this key when building official
images.
2013-07-05 11:52:38 -07:00
Brandon Philips
ce476ecc6c feat(update_engine): restart a second after death
It is possible that update_engine will crash. Try to recover by
restarting the update_engine but wait some seconds first.
2013-07-03 15:12:30 -07:00
Brandon Philips
3efa5def15 chore(coreos-init): mv update-engine.service into update_engine ebuild
move the service file to the ebuild where it belongs.
2013-07-03 15:12:30 -07:00
Michael Marineau
d344cf783d fix(cros_sdk): Update default SDK tarball version.
Update to latest release. cros_sdk is still using this file instead of
version.txt in the manifest because it needs a tarball that already
exists when building a new version for the first time. At some point
that will work differently but for now we'll have to keep this file.
2013-07-03 16:11:01 -04:00
Michael Marineau
2c46f36489 fix(config): Update the SDK make.conf to refer to the current version.
This means that we will always get the correct set of binary packages
for our current manifest version.
2013-07-03 15:52:55 -04:00
Michael Marineau
a09f4ee92f fix(config): Move USE_PYTHON into profiles.
Unlikely this is actually needed right now but it isn't hurting either.
Will remove it once we move to Python 2.7.
2013-07-03 15:37:15 -04:00
Michael Marineau
7018c2d527 fix(config): Remove make.conf options that duplicate profile defaults.
We were already using the default for CFLAGS, etc. LDFLAGS had
--as-needed but that has gone into the default Gentoo profile so we
ought to move it there as well. Also, ld's -O1 and -O2 are equivalent so
use the profile default -O1.
2013-07-03 15:20:16 -04:00
Michael Marineau
4147cfa1ba fix(coreos): Get version from manifest, export COREOS_ names
The version will now be tracked in the manifest so the old
coreos_version.sh needs to source it from there. Also export variables
with a COREOS_ prefix in addition to CHROMEOS_ since the latter name
isn't really correct. This is particularly true for the data published
via lsb_release.
2013-07-02 15:05:10 -04:00
Brandon Philips
915483da08 fix(profiles): unmask go-1.1*
unmask the 1.1 series so we don't have to keep editing this file.
2013-07-01 14:22:52 -07:00
polvi
b6fda4784c Merge pull request #45 from philips/bump-criu
bump(sys-process/criu): bump to 0.6
2013-07-01 13:04:28 -07:00
Brandon Philips
fb3c813e38 bump(sys-process/criu): bump to 0.6
- bump to criu 0.6
- remove the ~amd64 KEYWORDS since it is in our overlay
2013-07-01 13:00:04 -07:00
Greg Kroah-Hartman
4397bbb97e fix(sys-kernel/coreos-kernel) bump kernel version to 3.10.0
This allows the checkpoint/restore dump and check commands to work
properly, due to the new netlink dump code in this release.
2013-07-01 10:18:18 -07:00
Michael Marineau
c134fa7a1f Merge pull request #43 from philips/fixup-lsb-release
fix(coreos): use production CoreOS values
2013-06-30 19:49:42 -07:00
Michael Marineau
598ae99fdf Merge pull request #42 from philips/remove-chromeos
chore(*): remove chromeos ebuilds and files
2013-06-30 19:47:24 -07:00
Brandon Philips
62260a1fa6 fix(coreos-base/crash-reporter): don't use chromeos*
fixup crash-reporter ebuild to not use chromeos* ebuilds.
2013-06-30 19:45:11 -07:00
Michael Marineau
ad24124af4 Merge pull request #41 from philips/bump-core-admin
feat(coreos-base/core-admin): bump to the latest version
2013-06-30 19:44:31 -07:00
Brandon Philips
c4f562c62c fix(coreos-base/update_engine): use coreos-ca-certificates
missed fixing this up. Use the coreos-ca-certificates.
2013-06-30 19:42:56 -07:00
Brandon Philips
18e3d5ca50 fix(coreos): use production CoreOS values
use production values for CoreOS in /etc/lsb-release
2013-06-30 19:17:43 -07:00
Brandon Philips
6066b8c19d chore(*): remove chromeos ebuilds and files
lots of stuff isn't needed from chromeos anymore, remove it.
2013-06-30 19:05:59 -07:00
Brandon Philips
f161183b12 feat(coreos-base/core-admin): bump to the latest version
new version has metadata features
https://github.com/coreos/core-admin/pull/1
2013-06-30 18:48:25 -07:00
Brandon Philips
a899bae69e Merge pull request #40 from marineam/gsutil
bump(net-misc/gsutil): Bump gsutil to version 3.31, add dependencies
2013-06-28 15:51:07 -07:00
Michael Marineau
22dad59d87 Merge pull request #39 from gregkh/kernel_update
fix(sys-kernel/coreos-kernel) bump kernel version to 3.9.8
2013-06-28 11:17:12 -07:00
Michael Marineau
f30674864e bump(net-misc/gsutil): Bump gsutil to version 3.31, add dependencies
This includes a new gsutil verison which is not yet in upstream portage
along with new ebuilds for a couple of its dependencies that are also
not in portage:
    dev-python/google-api-python-client
    dev-python/socksipy-branch

Also, dev-python/python-gflags is included here to apply two extra
patches that fix some unit tests and add mark that it conflicts with the
old version of dev-cpp/gflags that we had been using up until now.

Hopefully all this will be merged upstream soon:
    https://bugs.gentoo.org/show_bug.cgi?id=468080
2013-06-28 14:09:12 -04:00
Greg Kroah-Hartman
55fd5a865f fix(sys-kernel/coreos-kernel) bump kernel version to 3.9.8
Pull in all of the good fixes, especially in the networking area, that
the 3.9.8 kernel provides.
2013-06-27 19:36:20 -07:00
unclejack
cc0bc03984 make docker run directly under systemd without forking
Docker seems to be working fine now under systemd. Some recent code
changes have fixed the problems we were running into before.

What has been tested while running docker directly under systemd:
1. docker run
2. docker pull
3. docker images
4. docker rm
2013-06-27 17:07:18 +03:00
Michael Marineau
8d82de1789 Merge pull request #36 from philips/update-engine-ca-certs2
feat(coreos-base/update_engine): use coreos-ca-certificates
2013-06-25 13:35:13 -07:00
Brandon Philips
602b91cb25 feat(coreos-base/update_engine): use coreos-ca-certificates
stop using the chromeos ca certificates and use coreos's instead.
2013-06-25 13:26:20 -07:00
Brandon Philips
a659278dc5 Merge pull request #35 from philips/update-engine-ca-certs
add(coreos-base/coreos-ca-certificates): initial commit
2013-06-25 13:21:56 -07:00
Brandon Philips
0d012e162b fix(coreos-base/coreos-ca-certificates): fix copyright 2013-06-25 13:20:31 -07:00
Brandon Philips
8377cc66eb add(coreos-base/coreos-ca-certificates): initial commit 2013-06-25 11:22:53 -07:00
Brandon Philips
1c9e245fe3 fix(coreos-base): move resolv.conf to /var/run
tested on a vm. This makes it possible to do read-only root and have the
glibc resolver work.
2013-06-24 16:57:16 -07:00
Michael Marineau
ab9c27fbda fix(config): Switch distfiles mirror list to our own
These two mirrors are generated specifically from our own overlays so
they should always include everything we need. The default Gentoo mirror
is provided simply as a sane backup.
2013-06-24 11:57:37 -04:00
Michael Marineau
9a421d52cf fix(mobile-broadband): Remove workaround for bug that doesn't exist
Fix the last of the bogus errors in the coreos overlay, removing this
hack makes the SRC_URI lines valid again and all tools are happy now.
2013-06-23 23:49:58 -04:00
Michael Marineau
2b095a82a5 fix(coreos-overlay): Add missing or fix incomplete Manifests
emirrordist will refuse to handle files that are not included in the
Manifest file. To keep things happy just sweep across the tree adding
them. (A lot of these packages could actually go away, but that is a
different project for another day).
2013-06-23 23:41:28 -04:00
Michael Marineau
8f85d10990 fix(coreos-overlay): Fix improper EAPI declarations
EAPI needs to be the first thing in an ebuild. This clears up useless
errors from tools scanning the tree like emirrordist.
2013-06-23 23:33:26 -04:00
Michael Marineau
202ef5dff1 fix(profiles): Go back to the stable portage version
sys-apps/portage-2.1.12.2 is now stable which is new enough for us.
2013-06-23 20:53:45 -04:00
Michael Marineau
e886ae277a Merge pull request #31 from marineam/efunc
fix(sys-apps/efunctions): Fix INSTALL_MASK to remove init.d
2013-06-23 11:37:54 -07:00
Michael Marineau
ebab2fa013 fix(sys-apps/efunctions): Fix INSTALL_MASK to remove init.d
When installing with the default make.conf in full effect
/etc/init.d/functions.sh will be excluded which is the whole point of
the efunctions package in the first place. This should fix that.
2013-06-23 14:31:40 -04:00
Brandon Philips
f4436a6b47 fix(app-emulation/docker): add sys-fs/aufs-util
Fixes #29 by making auplink available
2013-06-23 10:29:46 -07:00
Brandon Philips
a9e80eab93 fix(coreos-base/coreos-experimental): fix LICENSE
version 2 not @
2013-06-23 09:49:49 -07:00
Brandon Philips
a51df506da fix(coreos-base/coreos): fixup the description
correct url and description fields.
2013-06-23 08:34:36 -07:00
Brandon Philips
9317fcbdad fix(coreos-base/coreos): move experimental packages to new ebuild
These projects are still maturing. Move them into an ebuild people can
build manually for now.
2013-06-23 08:31:56 -07:00
Michael Marineau
3bb649138d fix(coreos/config): Remove CPU options copied from overlay-amd64-generic
-march=x86-64 is meaningless and -msse3 by definition makes the build
not quite generic even if it is probably safe.
2013-06-22 20:22:58 -04:00
Michael Marineau
3f7bcba442 fix(coreos/config): Cleanup make.conf spaghetti, change target binhosts.
Replace ChromiumOS target binhosts with our own. The auto-generated
files have been stubbed out and configs for targets we don't currently
support have been removed. MARCH_TUNE is now defined here.

After this change target binhosts will defined here and
/etc/make.conf.board and overlay-amd64-generic/make.conf are no longer
used. The new setup_board only creates /etc/make.conf.board_setup.
2013-06-22 17:51:58 -04:00
Brandon Philips
55ec02e342 Merge pull request #25 from marineam/bootstrap
Bootstrap
2013-06-22 11:51:00 -07:00
Michael Marineau
e18841a44a fix(coreos-base/hard-host-depends): Add cvs to SDK chroot
This is required for the update_ebuilds command.
2013-06-22 10:58:29 -04:00
Michael Marineau
84572f0e9e fix(coreos/config): Switch download host to our own CNAME
We now have http://storage.core-os.net/ working so use that instead of
the generic Google host name.
2013-06-22 10:48:22 -04:00
Michael Marineau
ab0efd5d28 fix(coreos/config): Replace old ChromiumOS SDK binhosts and tarball.
Building our own packages so we don't want the old ones! This is just a
first stage, automated builds aren't going yet and I'm not covering
amd64-generic and its cross toolchain, just the sdk.

The old binhost/host/*.conf files are just stubbed out until I'm
positive nothing else is referring to them.
2013-06-22 00:30:10 -04:00
Michael Marineau
518bc10ded fix(coreos-base/update_engine): Add missing dependency to stable ebuild.
This fix previously made it into the live ebuild but not the stable one.
2013-06-22 00:30:10 -04:00
Michael Marineau
b7bde0b21c fix(profiles): Don't use live ebuilds by default.
As-is catalyst and cros-workon's live ebuilds don't mix since the
catalyst chroot does not provide /mnt/host like the sdk chroot does.
Besides, only people actively working on a project should use the live
versions since anyone else will install it one time and then never
upgrade after that, even when the version marked stable is actually
newer than their old live build.

For SDK builds this means not accepting ~amd64 for core-admin and
update_engine and adding a stable ebuild for core-admin. (update_engine
already has a stable ebuild which is even up-to-date)
2013-06-22 00:30:10 -04:00
Michael Marineau
19ceed57ab fix(profiles): Add shadow to the bootstrap package list
Despite the big scary warning saying otherwise upstream Gentoo has
actually included shadow in this list since 2011 (while also forgetting
to delete the warning, cute!). Not having it here runs the risk of
causing a failure during catalyst builds if something tries to add a
system user or group before shadow gets installed.

Upstream commit:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/profiles/default/linux/packages.build?r1=1.5&r2=1.6
2013-06-22 00:30:10 -04:00
Michael Marineau
2dde5c7215 fix(profiles): Move USE from make.conf to make.defaults in profiles.
Moving more things into the profiles means we eventually reduce the
magic around generating make.conf and aids bootstrapping.
2013-06-22 00:30:10 -04:00
Michael Marineau
18db4d8f86 add(sys-apps/efunctions): Replace coreos-base version with generic one.
This version of efunctions does not depend on cros workon and git to
install and thus is suitable for bootstrapping. It also uses the
original author as the upstream rather than a coreos mirror. Since it is
not coreos specific any more I've moved it to sys-apps.

Added to both system and bootstrap package sets.

For extra fun it is also in my new systemd-only Gentoo overlay:
https://github.com/marineam/systemd-only-overlay
2013-06-22 00:30:10 -04:00