Commit Graph

515 Commits

Author SHA1 Message Date
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