23028 Commits

Author SHA1 Message Date
Michael Marineau
c9a6956f6f fix(core_upload_update): Add to au-generator.zip, move some operations.
Add core_upload_update to au-generator.zip which requires some extra
logic to make it runnable anywhere it may be. To organize the code a
little better all the delta_generator calls have been moved to
cros_generate_update_payload. core_upload_update is now just a wrapper
around cros_generate_update_payload and core-admin.
2013-07-08 21:39:05 -07:00
Michael Marineau
12935743b6 fix(common.sh): Fallback to loading version.txt from current directory.
This makes version handling continue to work normally with
au-generator.zip
2013-07-08 21:39:04 -07:00
Michael Marineau
12149d8421 fix(generate_au_zip): Remove unused scripts from au-generator.zip
We have no need to ship convert_recovery_to_ssd.sh with builds.
2013-07-08 21:39:04 -07:00
Don Garrett
048b3cecdf Update generate_au_zip.py location for cgpt.
Cgpt was moved and a symlink based wrapper was added. That wrapper will
be improved soon, when when that's true we'll need to change this back.

A specific note... cgpt is currently statically linked. If that wrapper does
not remain statically linked, then a simple revert won't be enough.

BUG=chromium-os:39814
TEST=Manual au-generate.zip creation.

Change-Id: I2705b1eddd8ef28c7eb099512513daf80f586218
Reviewed-on: https://gerrit.chromium.org/gerrit/45128
Reviewed-by: Chris Sosa <sosa@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
2013-07-08 21:35:36 -07:00
Brandon Philips
e62e7ed267 Merge pull request #14 from philips/remove-all-x11
Remove all x11
2013-07-08 13:44:58 -07:00
Michael Marineau
7320602927 Merge pull request #27 from marineam/rootfs
Rootfs by UUID
2013-07-08 13:38:21 -07:00
Michael Marineau
3fa29024e1 fix(build_image): Configure legacy bootloaders to set root by UUID.
Make use of the new partition UUIDs for ROOT-A and ROOT-B in the root=
kernel parameters provided by the legacy (non-kexec) bootloaders. This
makes all of our images bootable as-is without having to pass them
through image_to_vm.sh. :-D
2013-07-08 16:28:12 -04:00
Michael Marineau
21b9f711a4 feat(cgpt): Statically allocate UUIDs for ROOT partitions.
Before we can switch from using device names in root= to partition table
UUIDs we need some values that will remain consistent across upgrades
since the partition table is not updated when filesystems are.
2013-07-08 15:49:39 -04: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
81bc69a0f3 chore(m17n-*): remove m17n ebuilds
I pulled m17n from hard-host-deps, remove it from our portage.
2013-07-07 22:39:20 -07:00
Brandon Philips
6e2bfe25cc chore(x11-*): remove all x11 packages
we don't need these anymore. Remove them.
2013-07-07 22:35:39 -07:00
Brandon Philips
711f7bd028 Merge pull request #25 from philips/print-image_to_vm-for-dev
fix(build_image): print out image_to_vm for dev image
2013-07-07 22:14:50 -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
fce31ab6fe fix(build_image): print out image_to_vm for dev image
this broke accidently in a previous commit. Fix it by printing the
instructions to build a vm again.
2013-07-07 21:41:28 -07:00
Brandon Philips
d786023292 Merge pull request #24 from philips/use-coreos-prefix
fix(build_library/legacy_disk_layout): Use coreos- prefixes
2013-07-07 21:35:41 -07:00
Brandon Philips
965578faf3 Merge pull request #57 from philips/bump-vboot_reference
Bump vboot reference
2013-07-07 21:35:28 -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
31cd4c47a9 fix(build_library/legacy_disk_layout): Use coreos- prefixes
vboot_reference now recognizes coreos-reserved and coreos-rootfs. Use
these prefixes so we stop using the chromeos GUIDs.

Test-plan: Tested on a VM and it boots and updates.
2013-07-07 21:18:49 -07:00
polvi
f3cd6b961d Merge pull request #56 from philips/remove-crosh
fix(coreos-base/coreos): remove crosh
2013-07-07 21:16:19 -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
32a58da5de Merge pull request #23 from marineam/images
Upload official filesystem images
2013-07-05 22:13:20 -07:00
Michael Marineau
25be6f5389 Merge pull request #54 from marineam/lbzip2
feat(profiles): Add lbzip2 to base system package set
2013-07-05 22:11:36 -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
Michael Marineau
6c1e03c06e fix(bootstrap_sdk): Report the time it took to complete 2013-07-05 23:57:04 -04:00
Michael Marineau
b4252985f2 feat(build_image): Add upload support for official builds 2013-07-05 23:55:50 -04:00
Michael Marineau
34bbdc1996 fix(build_packages): Move gsutil code from build_packages to a library.
To avoid making the same gsutil changes in more scripts move the code to
a library file where some of the basic parts can be shared.
2013-07-05 23:54:23 -04:00
Michael Marineau
8af55de72c fix(common.sh): Correctly report script name in tracebacks
Pretty simple typo.
2013-07-05 21:34:11 -04:00
polvi
1c0586ad10 Merge pull request #53 from philips/add-reboot-manager
feat(update_engine): add reboot manager experiment
2013-07-05 16:13:25 -07: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
Michael Marineau
9deade7470 Merge pull request #22 from marineam/boto
fix(build_packages): Fix check for .boto, argument name was wrong.
2013-07-05 14:56:21 -07:00
Michael Marineau
4bcee421ad fix(build_packages): Fix check for .boto, argument name was wrong. 2013-07-05 17:49:38 -04:00
Brandon Philips
2ca214d738 Merge pull request #21 from philips/building-of-production-coreos-images
Building of production coreos images
2013-07-05 14:13:52 -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
Brandon Philips
05d70da37c fix(image_to_vm.sh): forward fewer ports
we disabled systemd-rest for now so don't tell people to forward all of
those ports.
2013-07-05 14:08:14 -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
Brandon Philips
59bdc40710 Merge pull request #50 from philips/add-coreos-au-key-ebuild
feat(coreos-au-key): add an ebuild to put dev keys on image
2013-07-05 12:39:56 -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
bfbfd9f4eb chore(build_container): delete
This tool was a bit of a hack and isn't really used. Delete it.
2013-07-05 12:06:41 -07:00
Brandon Philips
a45c529549 feat(build*): add CoreOS production image building
This will create a CoreOS production image and support it with the tools
like image_to_vm.sh and build_image.
2013-07-05 12:06:40 -07:00