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
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
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
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
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
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
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
331c194003
fix(set_lsb_release): Set bug report url.
2014-04-11 12:35:43 -07:00
Michael Marineau
add4519021
fix(build_image): Only use 'alpha' group in official builds.
2014-04-09 18:46:07 -07: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
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
06e03e912e
fix(set_lsb_release): Code name was not epic enough.
2014-04-04 11:32:31 -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
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
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
11aabd7bd0
fix(vm_image_util): Do not generate a machine UUID.
...
If QEMU is given a uuid systemd will detect that and in turn use it for
the machine-id. This made the bug causing the machine-id to be always
re-generated on boot harder to notice since it didn't happen on QEMU.
2014-03-25 14:23:23 -07:00
Michael Marineau
c489d2f7c8
Merge pull request #196 from marineam/no_kexec
...
feat(vm_image_util): Add qemu_no_kexec image type
2014-03-24 14:48:55 -07:00
Michael Marineau
dc1b3e32e9
fix(toolchain_util): Correct default binhost ordering.
...
Later hosts in the list override earlier hosts so the current version
must be listed after the older sdk version.
2014-03-24 11:17:26 -07:00
Michael Marineau
7c0e821953
Merge pull request #202 from marineam/pxe
...
PXE images
2014-03-23 20:19:41 -07:00
Michael Marineau
0a8f178002
feat(vm_image_util): Support other disk formats with Xen, such as vhd.
2014-03-23 17:15:36 -07:00
Michael Marineau
d4d06cfe57
feat(vm_image_util): Add new Rackspace target with VHD disk images.
2014-03-23 16:31:09 -07:00
Michael Marineau
5ab320d317
fix(vm_image_util): Fix typo in README
2014-03-23 11:43:36 -07:00
Michael Marineau
066bd23df8
feat(vm_image_util): Rework the qemu wrapper script to work for PXE
...
Now the script can be used with a disk image or a kernel/initrd.
Using a disk with the PXE kernel should work too but haven't tried it.
2014-03-22 22:28:10 -07:00
Michael Marineau
e151a33cee
fix(vm_image_util): Fix building squashfs for /usr
...
Taking a bit of a new approach to booting PXE images here for both
amd64-generic and amd64-usr. Instead of requiring the user to specify
squashfs and tmpfs on the kernel command line we can simply provide
defaults in the initrd's fstab.
2014-03-22 22:23:40 -07:00
Michael Marineau
441a982a39
fix(vm_image_util): Disable installing oem-pxe
...
It only installed /usr/share/oem/oem-release which we no longer use.
2014-03-22 14:27:48 -07:00
Michael Marineau
81367903bf
fix(vm_image_util): Package up /usr for pxe images.
2014-03-22 14:27:48 -07:00
Michael Marineau
26b5865b73
Merge pull request #199 from marineam/syslinux
...
fix(build_image): Switch to SYSLINUX for our EFI bootloader.
2014-03-19 20:39:35 -07:00