30045 Commits

Author SHA1 Message Date
Michael Marineau
96186e3c47 fix(update_distfiles): Add --download option to for incremental updates
Temporary workaround until we have a version of emirrordist that can
operate directly on remote storage. Download the entire mirror (if it
isn't already local) so emirrordist can make an incremental update.

Not great but it will do for now.
2013-06-26 11:19:59 -04: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
polvi
036ea4f26c Merge pull request #34 from philips/resolv.conf-move
fix(coreos-base): move resolv.conf to /var/run
2013-06-24 16:59:28 -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
Brandon Philips
62e05a0ff2 Merge pull request #33 from marineam/distfiles
fix(config): Switch distfiles mirror list to our own
2013-06-24 10:14:24 -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
Brandon Philips
0a79754454 Merge pull request #32 from marineam/fix-digests
Fix digests
2013-06-24 06:33:15 -07:00
Brandon Philips
057e0c9a5a Merge pull request #7 from marineam/fix-digests
Fix digests
2013-06-24 06:32:15 -07:00
Brandon Philips
663798c23d Merge pull request #7 from marineam/mirror
Mirror
2013-06-24 06:31:15 -07:00
Michael Marineau
133f2d3d8b add(update_distfiles): New script to build and upload a distfiles mirror
This script wraps emirrordist to scan all ebuilds and fetch every
SRC_URI to construct a distfiles mirror. It can then optionally upload
to storage.core-os.net via gsutil.

Note: This is a work-in-progress, emirrordist expects to operate on a
complete mirror on the local filesystem but maintaining a complete local
copy of everything is burdensome. Before this is truly practical a
modified version of emirrordist will be needed to either accept a list
of already-uploaded files it can assume are OK or operate on the cloud
storage system directly.
2013-06-24 02:00:01 -04:00
Michael Marineau
720b0c3def feat(update_ebuilds): Add option to immediately commit updates 2013-06-24 01:56:48 -04:00
Michael Marineau
0194498237 bump(net-misc/gsutil): sync with upstream
Get a version of gsutil with the cp -n "no-clobber" option

Packages updated:
  dev-python/boto
  net-misc/gsutil
2013-06-24 01:15:17 -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
0f3a85f2e4 clean(portage-stable): Prune old ebuilds to fix Manifest files
Many updates from upstream have added files without pruning the old.
This leaves the Manifest file incomplete because it only includes the
new files that were copied with it. This causes errors when building a
distfiles mirror because the tool cannot validate those old files.

No need to keep these old ebuilds around so just delete them.
2013-06-23 22:21:51 -04:00
Michael Marineau
9c6a7602d8 bump(sys-apps/portage): sync with upstream 2013-06-23 20:58:13 -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
fcdceca778 Merge pull request #6 from philips/add-aufs-util
feat(sys-fs/aufs-util): needed by docker
2013-06-23 10:48:23 -07:00
Michael Marineau
0f4ca1190e Merge pull request #30 from philips/add-aufs-util
fix(app-emulation/docker): add sys-fs/aufs-util
2013-06-23 10:45:29 -07: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
0fa51e3531 feat(sys-fs/aufs-util): needed by docker
Fixes https://github.com/coreos/coreos-overlay/issues/29
2013-06-23 10:26:32 -07:00
Brandon Philips
672dc51344 Merge pull request #28 from philips/create-coreos-exp
Create coreos experimental
2013-06-23 09:51:39 -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
6a18625b15 Merge pull request #27 from marineam/buildhost
fix(coreos/config): Cleanup make.conf spaghetti, change target binhosts.
2013-06-22 17:28:38 -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
Brandon Philips
711a83913f Merge pull request #6 from marineam/buildhost
cleanup(setup_board): Remove /etc/make.conf.board
2013-06-22 17:20:43 -07: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
Michael Marineau
e6b3c60836 cleanup(setup_board): Remove /etc/make.conf.board
This file mostly just defined BINHOSTs but I'd like to move that
completely into coreos-overlay as the SDK BINHOSTs have always been. It
also sourced src/overlays/overlay-amd64-generic/make.conf but I want to
move the few things it defined into coreos-overlay as well.

The one interesting thing this file did was to optionally define
ACCEPT_LICENSE but that can go into /etc/make.conf.board_setup instead.

Overall this takes a chunk out of the make.conf spaghetti. :)
2013-06-22 16:05:33 -04:00
Brandon Philips
55ec02e342 Merge pull request #25 from marineam/bootstrap
Bootstrap
2013-06-22 11:51:00 -07:00
Brandon Philips
c02392ebff Merge pull request #26 from marineam/cvs
fix(coreos-base/hard-host-depends): Add cvs to SDK chroot
2013-06-22 11:50:16 -07:00
Brandon Philips
bc7b9b75e6 Merge pull request #3 from marineam/getbinpkg
fix(scripts): Add --nogetbinpkg command line option
2013-06-22 11:45:16 -07:00
Brandon Philips
27ea8c25a8 Merge pull request #5 from marineam/bootstrap
Bootstrap
2013-06-22 09:15:17 -07:00
Brandon Philips
e140183dc7 Merge pull request #5 from marineam/catalyst
add(dev-util/catalyst): Add catalyst and its missing dependencies
2013-06-22 09:14:57 -07:00
Michael Marineau
a8bf0fc986 add(dev-util/catalyst): Add catalyst and its missing dependencies
With these installed bootstrap_sdk should work inside the sdk itself.
Probably won't add this to the sdk by default since it pulls in extra
stuff most people don't need and is only really needed for build hosts.
2013-06-22 12:00:55 -04: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