Commit Graph

3708 Commits

Author SHA1 Message Date
Michael Marineau
fccefb278e Merge pull request #236 from marineam/vagrant
Vagrant related script updates
2014-05-03 14:18:39 -07:00
Michael Marineau
c4984b3c7c fix(vm_image_util): Don't use the full vagrant OEM on vmware_insecure
Only the key is needed, and currently the vagrant OEM is completely
broken outside of vagrant. This gets vmware_insecure images back into
the state that they were before cloud config came along. :)
2014-05-02 15:30:49 -07:00
Michael Marineau
33b54ee001 Merge pull request #237 from marineam/groups
Updates, keys, and groups
2014-05-01 18:02:04 -07:00
Michael Marineau
75999b5e2a fix(build_image): Add group prefix to image output directories. 2014-05-01 10:21:51 -07:00
Michael Marineau
4e85b172df feat(build_image): Optionally generate update payload with prod images. 2014-05-01 09:59:58 -07:00
Michael Marineau
e1d7b29436 feat(disk_util): Add support for extracting partitions.
This will simplify the process of generating update payloads.
2014-04-30 19:04:42 -07:00
Michael Marineau
7a7494e999 fix(prod_image_util): Do not install update test key anymore.
Leave this to the ebuild, no reason for it to be done here.
2014-04-30 17:12:59 -07:00
Michael Marineau
3fdfe92b5d fix(vm_image_util): Fix building vagrant vmware fusion images. 2014-04-29 03:48:56 -04:00
Michael Marineau
10d98e7b32 fix(common): Switch to os-release style names in version.txt
The existing version.txt is kinda annoying. The common case of referring
to the current version requires joining three values and the names of
those values only make sense in ChromeOS. Instead just use version as a
string, using VERSION, VERSION_ID, and BUILD_ID just as they appear in
os-release. It is up to the few scripts that need the individual parts
to break the version apart.

The old values remain for the sake of compatibility.
2014-04-29 01:44:47 -04:00
Michael Marineau
20f191a804 maint(set_lsb_release): Remove gentoo-release (again)
We now require Vagrant 1.5.0 both in documentation and in code which
uses os-release instead of gentoo-release.
2014-04-29 01:44:47 -04:00
Michael Marineau
8183430f6c feat(vm_image_util): Add Vagrant metadata file
This is required for Vagrant to recognize box versions:
http://docs.vagrantup.com/v2/boxes/versioning.html
2014-04-29 01:44:47 -04:00
Michael Marineau
39951946ca feat(vm_image_util): Add new build steps, update vagrant builds
This adds two new optional build steps.  The first user of these is the
vagrant images but many of the targets can be simplified now.

- fs_hook: Anything that needs to happen before unmounting the image.
  This happens after the OEM is installed but before disk images are
  made. It can be used to copy any data out of the image.
- bundle_format: Many VM types ship as some sort of archive format
  rather than plain disk images as this script originally assumed.
  Adding this final step lets us stop using the conf step awkwardly.

Vagrant now ships with a Vagrantfile and related code included in the
OEM package. This lets us version our vagrant-side code along with the
images themselves as well making the coreos-vagrant repo optional again.
The coreos-vagrant code will still be useful for handling the fancier
cluster configuration stuff but no longer has to carry the plugin code.
2014-04-28 19:52:24 -04:00
Michael Marineau
54aac646d0 Merge pull request #235 from marineam/clean
maint(build_library): Remove special case code for -usr disk layouts
2014-04-26 15:54:29 -07:00
Michael Marineau
7f5b5baf22 maint(build_library): Remove special case code for -usr disk layouts
More cleanup now that amd64-generic is gone.
2014-04-26 14:45:28 -07:00
Michael Marineau
1c328d7c0d Merge pull request #233 from marineam/mbr
fix(disk_util): Switch back to gptmbr.bin for our MBR boot code.
2014-04-25 16:35:38 -07:00
Michael Marineau
b5986fcd6b Merge pull request #234 from marineam/syslinux
fix(syslinux): Display boot: prompt for a half second.
2014-04-25 15:03:43 -07:00
Michael Marineau
d5c5544cca fix(syslinux): Display boot: prompt for a half second.
This should make it less difficult for people to add kernel options for
debugging. Without a prompt/timeout the user must be holding down space
or some other key while syslinux loads but it may not be possible for
the user to do so provide input quite that fast. Only a half second to
avoid needlessly increasing boot times in the common case.
2014-04-25 14:45:21 -07:00
Michael Marineau
476bae747e fix(disk_util): Switch back to gptmbr.bin for our MBR boot code.
Using the classic mbr.bin was only needed during the transition from
syslinux 3 to 6 because the behavior of gptmbr.bin changed after 3.
Now that the transition is done and cgpt supports the new scheme now it
is time we switched back. This avoids depending on using a hybrid MBR.
2014-04-25 11:15:17 -07:00
Michael Marineau
3a5388d259 Merge pull request #232 from marineam/purge
Purge amd64-generic
2014-04-23 16:46:58 -07:00
Michael Marineau
2f8f0159f8 maint(*): Delete special case code for amd64-generic 2014-04-23 16:14:50 -07:00
Michael Marineau
46e2e17697 maint(toolchain_util): Drop amd64-generic from list of valid boards.
The cleanup begins...
2014-04-23 16:02:39 -07:00
Michael Marineau
531c7e0d54 Merge pull request #231 from marineam/ami
fix(oem/ami): Disable parallel AMI copying
2014-04-23 11:23:11 -07:00
Michael Marineau
d26a5f6c93 fix(oem/ami): Disable parallel AMI copying
The parallelism appears to be what was breaking the fussy ec2 command
line tools. Just do it serially instead.
2014-04-23 10:39:34 -07:00
Michael Marineau
a4f56f942c Merge pull request #230 from marineam/gpg
feat(release_util): Add support for signing individual file uploads.
2014-04-18 20:27:35 -07:00
Michael Marineau
e02f49b410 feat(release_util): Add support for signing individual file uploads.
The .DIGESTS format is clunky and annoying. It also requires uses to
perform two steps to verify images using GPG. Instead support signing
all files directly so there is no need for .DIGESTS.

The old DIGESTS code will remain in place for now but after a few
releases I plan on deleting it.
2014-04-18 16:56:50 -07:00
Brandon Philips
e9896acc29 Merge pull request #218 from philips/new-update-url
fix(build_library): use https://public.update.core-os.net now
2014-04-18 10:58:33 -07:00
Alex Crawford
7d0c08971e Merge pull request #228 from crawford/ld.so
feat(prod_image_util): Adding support for ld.so configs on tmpfs roots
2014-04-17 13:08:17 -07:00
Alex Crawford
ba45a2bfb2 feat(prod_image_util): Moving ld.so configs to /usr
Moving the ld.so configs to /usr and symlinking them to /. This allows
images with a tmpfiles root (e.g. PXE) to have ld.so config support.
2014-04-17 12:48:25 -07:00
Alex Crawford
2662d0c784 Merge pull request #229 from crawford/master
fix(vm_image_util): Minor comment fix
2014-04-16 18:41:23 -07:00
Alex Crawford
9e72f6d187 fix(vm_image_util): Minor comment fix 2014-04-16 18:16:26 -07:00
Michael Marineau
29f6a696be Merge pull request #227 from marineam/vhd
fix(vm_image_util): Fix DIGESTS path for compressed vhd images.
2014-04-16 17:47:27 -07:00
Michael Marineau
b9c72ecda1 fix(vm_image_util): Fix DIGESTS path for compressed vhd images.
Missed this in eb72b6e5
2014-04-16 17:32:11 -07:00
Michael Marineau
71f005f9dc Merge pull request #214 from marineam/units
Config drive for QEMU
2014-04-16 10:17:02 -07:00
Michael Marineau
bfbb3ea06c Merge pull request #226 from marineam/vhd
fix(release_util): Compress vhd images.
2014-04-14 22:57:28 -07:00
Alex Crawford
7edbc80a74 Merge pull request #219 from crawford/new_portage
fix(make_chroot): Add new repos.conf and crossdev metadata
2014-04-14 19:13:49 -07:00
Alex Crawford
8c3ad86ae3 fix(make_chroot): Add new repos.conf and crossdev metadata
The latest release of portage uses repos.conf, so generate that
file when making the chroot. The crossdev overlay also needed
repo_name and layout.conf files.
2014-04-14 19:02:04 -07:00
Michael Marineau
eb72b6e570 fix(release_util): Compress vhd images. 2014-04-12 14:13:35 -07:00
Michael Marineau
12c0008ad9 feat(qemu_template): Add support for user-provided configs.
A custom cloud config can be provided directly via -u or as an existing
config drive image via -c.
2014-04-11 18:06:18 -07:00
Michael Marineau
150ab005e0 feat(qemu_template): Provide SSH keys via config drive
Moving away from our old behavior of loading 'authorized_keys' on virtfs
volumes. Still using virtfs to avoid depending on mkisofs or similar.
2014-04-11 18:06:18 -07:00
Michael Marineau
0d0c7c7578 fix(qemu_template): Replace getopts with simple pattern matching.
The use of getopts was leading to conflicts between this script's short
options and qemu's long options. For example -serial was getting
interpreted as -s -- erial which is not very helpful.
2014-04-11 18:06:18 -07:00
Alex Crawford
c50e68f9d3 Merge pull request #224 from crawford/oems
feat(vm_image_util): Adding support for openstack and brightbox
2014-04-11 17:47:43 -07:00
Alex Crawford
9095908ca1 feat(vm_image_util): Adding support for openstack and brightbox
Added USE flags for specifying the provider (ec2, openstack, or brightbox).
2014-04-11 16:12:50 -07:00
Michael Marineau
c199d225c9 Merge pull request #225 from marineam/bugs
fix(set_lsb_release): Set bug report url.
2014-04-11 12:46:54 -07:00
Michael Marineau
331c194003 fix(set_lsb_release): Set bug report url. 2014-04-11 12:35:43 -07:00
Michael Marineau
8969d211a2 Merge pull request #222 from marineam/group
fix(build_image): Only use 'alpha' group in official builds.
2014-04-10 18:15:22 -07:00
Michael Marineau
add4519021 fix(build_image): Only use 'alpha' group in official builds. 2014-04-09 18:46:07 -07:00
brian
4a0e4de834 Merge pull request #223 from marineam/user
fix(setup_board): Allow make.conf.user to be per-board
2014-04-09 17:35:19 -07:00
Michael Marineau
9482d5cdf4 fix(setup_board): Allow make.conf.user to be per-board
Previously this would symlink to a global make.conf.user making it
impossible to apply changes to a board but not the SDK.
2014-04-09 17:32:28 -07:00
Michael Marineau
b1841e4fb7 Merge pull request #220 from skarllot/master
Small fix to contrib VirtualBox script
2014-04-09 11:38:58 -07:00
Fabrício Godoy
a1941954e3 Small fix to contrib VirtualBox script
Fixed VirtualBox script to create final VDI file at correct location.
Removed the file extension from VirtualBox script.
2014-04-08 23:27:29 -03:00