Michael Marineau
b0d2775e0a
fix(image_to_vm): Fix backslash in qemu README.
...
Go me fixing this issue in the script while adding it in the README.
2013-08-11 23:41:05 -04:00
Michael Marineau
83816ae4aa
Merge pull request #84 from marineam/virtfs
...
Virtfs bits
2013-08-11 20:19:04 -07:00
Michael Marineau
bef5728f6e
fix(image_to_vm): Cleanup qemu script, document -virtfs
2013-08-11 22:17:20 -04:00
Michael Marineau
ba4c770c37
fix(common): Exclude default systemd filesystem targets.
...
We don't need the default root filesystem fsck and remount targets
provided by systemd since root is read only. The only default one what
was included in this way was tmp.mount but that is now covered by
a dependency in the coreos-init package.
2013-08-11 14:50:05 -04:00
Michael Marineau
ebc1afe67f
Merge pull request #83 from marineam/curl-ami-fix
...
fix(build_ebs_on_ec2.sh): Add --fail to all curl commands.
2013-08-07 13:14:09 -07:00
Michael Marineau
3ef4757fd4
fix(build_ebs_on_ec2.sh): Add --fail to all curl commands.
...
This is particularly important for the image availability pre-check
because without it we don't detect that the image is in-fact unavailable
when it doesn't exist and the 404 results in a error from bzip2.
2013-08-07 15:44:52 -04:00
Michael Marineau
f48858b6eb
Merge pull request #82 from marineam/fix-cmp
...
Fix cmp
2013-08-07 10:39:34 -07:00
Michael Marineau
a0f383e3fe
fix(common): sort -R is random, -r is reverse. Kids, use long options...
...
Randomly failing builds for fun and profit!
2013-08-07 12:38:58 -04:00
Michael Marineau
5ac0bcdd27
fix(update_chroot): Generate make.conf.host_setup before update scripts.
...
This doesn't currently have any real impact but seems like a better
ordering since update scripts may need to emerge things.
Add some friendly version info logging.
2013-08-07 12:29:10 -04:00
Michael Marineau
f871c34186
Merge branch 'master' of ssh://github.com/coreos/scripts
2013-08-06 18:45:16 -04:00
Michael Marineau
28b2ffabec
fix(update_chroot): Remove an old debug echo
2013-08-06 17:38:28 -04:00
Michael Marineau
5fa0f93134
fix(make_chroot): Remove the old "force-to-latest" chroot version step.
...
This script is gone and dead.
2013-08-06 17:30:54 -04:00
Michael Marineau
c4219e592e
fix(make_chroot): Write sudoers.d/90_cros directly.
...
Previously this called a file in the now deleted chroot_version_hooks.d
which surprised me to say the least but it really shouldn't have...
2013-08-06 17:19:13 -04:00
polvi
3a1d4dbe1b
Merge pull request #80 from polvi/vagrant-vmware
...
feat(vagrant): vmware fusion support
2013-08-06 14:01:00 -07:00
Michael Marineau
64c75ff315
Merge pull request #79 from marineam/lsb4sdk
...
Add lsb-release to SDK tarballs
2013-08-06 13:24:52 -07:00
Alex Polvi
324f4d86f2
call it --format=vagrant_vmware_fusion
2013-08-06 11:14:03 -07:00
Alex Polvi
55062ec902
feat(vagrant): vmware fusion support
2013-08-06 10:58:18 -07:00
Michael Marineau
74c4f21b68
fix(update_chroot): Replace old chroot version scheme.
...
The old chroot version system we inherited from Chromium OS always
assumes that a newly unpacked tarball is the latest and greatest but
since we version the SDK in the same way as target builds we can use
that version for these sorts of upgrade scripts and not make assumptions
about how late and great the starting tarball was.
The first upgrade script simply aborts to force the user to recreate
their chroot when moving from python 2.6 to 2.7.
2013-08-06 13:54:18 -04:00
Michael Marineau
19caadc8c9
feat(common): Add simple version comparison function.
...
Relies on sort for version comparison which should generally be good
enough. Not a proper semver tool but good enough for dirty scripts. :)
2013-08-06 13:50:17 -04:00
Michael Marineau
9794ab32b1
feat(bootstrap_sdk): Add release data to SDK tarballs.
2013-08-05 23:18:41 -04:00
Michael Marineau
3600615dc8
fix(bootstrap_sdk): skip final release goo if stage4 wasn't built
2013-08-05 22:44:27 -04:00
Michael Marineau
a21a545f2e
fix(set_lsb_release): Make sure $ROOT/etc exists.
...
Useful for generating a root filesystem overlay that catalyst can apply.
2013-08-05 22:38:34 -04:00
Michael Marineau
ff6af5ea8f
feat(set_lsb_release): Add special "sdk" track without an update server.
...
I want to start including version info in SDK builds as an alternative
scheme to the existing "chroot_version_hooks" system which always
assumes freshly unpacked SDKs are the latest regardless of what version
they actually were.
2013-08-05 22:35:34 -04:00
Michael Marineau
e90ae75b18
Merge pull request #78 from marineam/sdkver
...
feat(master_release): Add option to automatically bump SDK_VERSION.
2013-08-05 17:00:30 -07:00
Michael Marineau
8a34fc8af8
feat(master_release): Add option to automatically bump SDK_VERSION.
...
Usually the only time these versions really need to mis-match are when
branching a brand new version.
2013-08-05 16:47:28 -04:00
Michael Marineau
25576f3d7e
Merge pull request #77 from marineam/qcow2
...
Qemu, Qcow2, and Openstack
2013-08-02 12:45:20 -07:00
Michael Marineau
f8c0033de2
feat(image_to_vm): Add openstack image, uses oem-ami and qcow2 format.
2013-08-02 15:07:12 -04:00
Michael Marineau
c7ba8cd4a4
fix(image_to_vm): Replace qemu's config file with a script.
...
The recommended command using the config file was triggering a massive
memory leak in qemu because it was adding both the default virtual
hardware nic as well as the virtio nic. This could be worked around by
adding something like -net none or moving all the -net commands from the
file to the command line but eh. Clearly qemu config files are used and
tested by nobody else so lets just use a trusty script instead.
2013-08-02 14:53:08 -04:00
Michael Marineau
99982182b9
feat(image_to_vm): Switch to qcow2 as default qemu disk format.
...
We only really need raw images for dd'ing to block devices and this
format has been requested for some cases so lets just use it!
2013-08-02 14:53:08 -04:00
Brandon Philips
b324d3d215
Merge pull request #76 from philips/add-copy-box
...
feat(core_upload_update): copy stuff to channel URL
2013-08-02 11:49:39 -07:00
Brandon Philips
77123e9a2c
feat(core_upload_update): copy stuff to channel URL
...
on upload copy stuff to channel URL.
TODO: add channel stuff to the index
2013-08-02 11:33:02 -07:00
polvi
f0324170ff
Merge pull request #75 from polvi/vagrant-bump
...
add version requirement to the vagrantfile
2013-08-01 20:32:07 -07:00
Alex Polvi
9ddb254ac1
feat(vagrant) add version requirement to the vagrantfile
2013-08-01 20:29:38 -07:00
polvi
72d31f3a89
Merge pull request #74 from marineam/gzip
...
fix(image_to_vm): gzip vagrant's .box files
2013-08-01 19:45:33 -07:00
Michael Marineau
9c88c24131
fix(image_to_vm): gzip vagrant's .box files
2013-08-01 22:42:37 -04:00
Michael Marineau
382645945a
Merge pull request #72 from marineam/vlite
...
vagrant image with oem partition
2013-08-01 19:30:26 -07:00
Michael Marineau
ae3202da32
fix(image_to_vm): Add VM MAC address to Vagrantfile, create box image.
...
Vagrant should now be good to go!
2013-08-01 19:39:12 -04:00
Michael Marineau
626ebd7eb0
fix(image_to_vm): Remove unused --prod flag, prod_image is the right one
2013-08-01 19:05:16 -04:00
Michael Marineau
a2046afc40
fix(image_to_vm): Use vmdk disks for vagrant and write configs.
...
Vagrant will need the virtualbox ovf plus its own Vagrantfile config.
After this we will need an optional "package" step to this script to
take these files and bundle them into a .box tarball. This could also be
used to switch from .ovf+vmdk for plain virtualbox images to a bundled
.ova archive which combines the two.
2013-08-01 16:35:28 -04:00
Michael Marineau
ce01e133db
fix(image_to_vm): Use vmdk+ovf for virtual box images.
...
Now we have a config file that can be imported into VirtualBox.
2013-08-01 14:42:04 -04:00
Michael Marineau
5e1337307a
feat(image_to_vm): Basic vagrant disk image support
...
This just generates a vdi that includes the vagrant ssh key.
2013-08-01 00:02:33 -04:00
Michael Marineau
7c48115da6
fix(image_to_vm): Use saved version info instead of parsing directory.
...
Trying to include version info by adding the directory name to VM image
names didn't work and a better solution is for build_image to write out
a version.txt file. This should also fix an issue where uploading from
image_to_vm.sh didn't always go to the same location as the images
uploaded from build_image did.
2013-07-31 21:22:52 -04:00
Brandon Philips
857da8829f
Merge pull request #70 from philips/fix-core-update
...
fix(core_upload_update): remove CORE_UPDATE_URL
2013-07-31 15:49:52 -07:00
Brandon Philips
94c36b5483
fix(core_upload_update): remove CORE_UPDATE_URL
...
We are using the CoreOS CA now in core-admin. This isn't needed (and in
fact breaks things).
2013-07-31 13:58:18 -07:00
Brandon Philips
8e0c8bb8d0
Merge pull request #69 from philips/cleanup-LICENSE
...
LICENSE: minor cleanups
2013-07-31 11:21:42 -07:00
Brandon Philips
1537c81485
LICENSE: minor cleanups
...
add 2013 and cleanup the formatting
2013-07-31 11:20:58 -07:00
Brandon Philips
82b40d702a
Merge pull request #68 from traviscross/master
...
License project under the BSD-3 license used by Chrome OS
2013-07-31 11:17:34 -07:00
Travis Cross
3d235a8f74
License project under the BSD-3 license used by Chrome OS
2013-07-31 18:15:32 +00:00
Michael Marineau
ae9b5f877a
Merge pull request #66 from marineam/fstrim
...
fix(build_library): Re-enable zeroing free-space but in a sane way.
2013-07-27 14:45:26 -07:00
Michael Marineau
9f3517a474
Merge pull request #67 from marineam/use-tags
...
fix(master_release): Use tag names in commit message when available
2013-07-27 14:44:52 -07:00