4131 Commits

Author SHA1 Message Date
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
Brandon Philips
bd7d4f4aaa fix(build_library): use https://public.update.core-os.net now
We added a new https certificate on the new update service and changed
the hostname to be consistent with all of the other endpoints. Update
the new images to use this.

The old URL http://public.roller.core-os.net will remain working until
all of the old client have been updated.
2014-04-08 10:54:45 -07:00
Michael Marineau
dd8e7c8be4 Merge pull request #217 from marineam/diskless
fix(vm_image_util): Remove fstab from PXE initrd
2014-04-05 13:43:48 -07:00
Michael Marineau
80cbb49519 Merge pull request #216 from skarllot/master
New script to create VirtualBox VDI
2014-04-05 12:42:56 -07:00
Fabrício Godoy
431d71a90f Fixed authorized_keys file creation
Fix to create .ssh directory before the authorized_keys file.
The option -k renamed to -a to match another scripts.
Added verification if the VBoxManage exists.
2014-04-05 16:16:12 -03:00
Fabrício Godoy
6bdaf88b80 New script to create VirtualBox VDI 2014-04-05 16:11:11 -03:00
Michael Marineau
58bac50d91 fix(vm_image_util): Remove fstab from PXE initrd
Using fstab made overriding it with kernel command line options like
root=/some/disk not work properly. A generator handles it now.
2014-04-04 16:58:43 -07:00
Michael Marineau
1bbe32e17e Merge pull request #215 from marineam/tiger
fix(set_lsb_release): Code name was not epic enough.
2014-04-04 12:31:30 -07:00
Michael Marineau
06e03e912e fix(set_lsb_release): Code name was not epic enough. 2014-04-04 11:32:31 -07:00
Jonathan Boulle
e01a1f70c3 Merge pull request #2 from jonboulle/master
Clean up CONTRIBUTING.md and other bits of template-project
2014-04-04 10:41:40 -07:00
Jonathan Boulle
2e4ea503b0 chore(contributing): clean up CONTRIBUTING.md and split out DCO 2014-04-04 10:40:37 -07:00
polvi
c15791ebea Merge pull request #211 from polvi/iso
feat(iso): add iso image format to image_to_vm
2014-03-31 18:44:46 -07:00
Michael Marineau
26af3bda4b Merge pull request #210 from marineam/roller
fix(core_roller_upload): Assorted minor script fixes.
2014-03-31 18:30:17 -07:00
Alex Polvi
e3156672ce refactor to use _write_cpio_common 2014-03-31 16:08:29 -07:00
Alex Polvi
0d3cd4b417 feat(iso): add iso image format to image_to_vm 2014-03-31 15:49:57 -07:00
Michael Marineau
e2aaed1619 Merge pull request #209 from marineam/pxe
feat(vm_image_util): Add /usr/.noupdate flag file in PXE images.
2014-03-31 14:01:44 -07:00
Michael Marineau
9b8f739fd0 fix(core_roller_upload): Update to new roller HTTPS URL. 2014-03-31 11:18:53 -07:00
Michael Marineau
cd00e6eafe Merge pull request #212 from marineam/gce
fix(vm_image_util): Default to larger vm (8GB) disk layout for GCE
2014-03-29 14:41:14 -07:00
Michael Marineau
17d22228f8 fix(vm_image_util): Default to larger vm (8GB) disk layout for GCE
GCE was using the base 3GB layout which isn't very useful for actual
machines.
2014-03-29 14:22:01 -07:00
Michael Marineau
50bc0ffefd fix(core_roller_upload): Assorted minor script fixes. 2014-03-28 17:46:27 -07:00
Michael Marineau
835cb59837 Merge pull request #208 from marineam/oem
Rework how OEM packages are installed
2014-03-28 17:44:15 -07:00
Michael Marineau
691c588c75 fix(build_packages): Simplify emerge command, use board-packages ebuild.
The extra "dependency check" doesn't appear to be all that useful, so
don't waste time on it. Remove some unused command line options for
selecting which packages to build. Use new board-packages ebuild which
currently just includes 'coreos' and 'coreos-dev' but later can include
extra things like 'python-oem' which doesn't land in the base image.
2014-03-27 22:37:28 -07:00
Michael Marineau
e0cfea50fb fix(vm_image_util): Require OEM packages to be aware of /usr/share/oem
Installing to a temporary directory and then copying over the final
contents of /usr/share/oem allows more complicated OEM packages such as
python to be configured with --prefix=/usr/share/oem while previously
the atypical use of ROOT=/usr/share/oem would have complicated things.
2014-03-27 22:17:32 -07:00
Michael Marineau
a78c5fb665 fix(vm_image_util): Keep most partitions mounted read-only.
This ensures that the only partition being modified is OEM.
2014-03-27 21:52:40 -07:00
Michael Marineau
a6328f7c2b feat(vm_image_util): Add /usr/.noupdate flag file in PXE images.
This can be used by update_engine as a quick test to determine if it is
running on a system that it can handle. This avoids needing something
like the 'coreos.diskless' kernel command line flag.
2014-03-27 15:41:41 -07:00
Brandon Philips
7b6e547751 Merge pull request #206 from philips/fixup_core_upload_update
feat(core_roller_upload): initial commit
2014-03-26 05:56:20 -07:00
Brandon Philips
42770b6c00 feat(core_roller_upload): initial commit
TODO: get rollerctl releases installed in here too.
2014-03-26 05:55:26 -07:00
Michael Marineau
893ca360dd Merge pull request #207 from marineam/fix
fix(vm_image_util): Do not generate a machine UUID.
2014-03-25 19:54:17 -07:00