Commit Graph

3233 Commits

Author SHA1 Message Date
unclejack
655c9de59e fix(build_library): set tz to UTC in vmx template
VMware is using the local time zone by default for the clock.
This changes the vmx template in vm_image_util.sh to set it to UTC
instead.
2013-10-15 23:14:11 +03:00
Michael Marineau
b7bbbf9e71 Merge pull request #121 from marineam/copy-updates
add(copy_ami): Move ami copying step to new script for easier testing
2013-10-14 19:50:38 -07:00
Michael Marineau
aecedce889 add(copy_ami): Move ami copying step to new script for easier testing
Fix some copying issues:
- Don't set AMI permissions until it is out of the pending state
- Set name and description properly
- Handle each region in parallel, mostly (these Java apps use lots of
  CPU for some reason so parallelism is limited, hence the sleeps).

Less important but also included here:
- Add run.sh and test_ami2.sh which are currently used in my release
  process. The alternate test script is used because the autotest stuff
  in the other script is broken right now.
2013-10-14 17:36:59 -07:00
polvi
af9c881f72 Merge pull request #120 from polvi/ami-all
feat(all-amis): add uploading off all ami regions
2013-10-14 15:18:31 -07:00
Alex Polvi
e124560678 sneak in some permission stuff 2013-10-14 15:17:25 -07:00
Alex Polvi
21b7575714 fix whitespace 2013-10-14 14:05:28 -07:00
Alex Polvi
19008a43a7 feat(all-amis): add uploading off all ami regions 2013-10-14 14:03:36 -07:00
polvi
1a27058858 Merge pull request #119 from polvi/oem-rackspace
feat(oem-rackspace): add rackspace as valid format option
2013-10-14 13:16:56 -07:00
Alex Polvi
dcfcb00f5e feat(oem-rackspace): add rackspace as valid format option 2013-10-13 19:56:39 -07:00
polvi
47fcc1da5c Merge pull request #117 from polvi/ami-test
initial multi region support
2013-10-10 13:20:16 -07:00
Michael Marineau
b4066aaf01 Merge pull request #118 from marineam/misc
misc updates
2013-10-10 11:55:11 -07:00
Michael Marineau
5adbfd8a32 fix(catalyst): Move catalyst scripts from lib to build_library.
Just seems like a better place for them.
2013-10-10 11:47:09 -07:00
Michael Marineau
456af72625 fix(setup_board): Remove unused support for special amd64-host boards.
This was some scheme for building packages using the SDK profile instead
of the normal target board profiles. We use catalyst instead so remove
this dead code. Ordering cleaned up slightly as well.
2013-10-10 11:46:58 -07:00
Alex Polvi
908d3368ba initial multi region support 2013-10-09 16:24:57 -07:00
Michael Marineau
505ef86bbd Merge pull request #116 from marineam/qemush
fix(qemu_template): Fix getopts usage in qemu wrapper script.
2013-10-09 11:10:34 -07:00
Michael Marineau
c96af93ba6 fun(set_lsb_release): New code name for version 100 2013-10-08 18:43:26 -07:00
Michael Marineau
c6f20655db fix(qemu_template): Fix getopts usage in qemu wrapper script.
Previously shifts were added into the getopts loop to work around
differences between different sh implementations but that causes getopts
to end the loop early. Instead use an intermediate variable to work
around inconsistent OPTIND behavior and explicitly check for the --
separator. Tested in bash, dash, and ash.
2013-10-08 13:35:10 -07:00
Brandon Philips
aa44885d8c Merge pull request #115 from philips/fixup-pxe-instructions
fix(build_library): fix the pxe image instructions
2013-10-01 20:53:54 -07:00
Brandon Philips
178783f1c8 fix(build_library): fix the pxe image instructions
the args to the kernel have changed to state= and root=squashfs: also
make the boot be 1024Mb of RAM otherwise qemu falls over with initrds.
2013-09-30 17:05:55 -07:00
Michael Marineau
f2637ab8d0 Merge pull request #114 from marineam/image-cleanup
Image cleanup
2013-09-19 21:17:50 -07:00
Michael Marineau
6adc3d1d35 fix(build_image): Always use read-write for developer images. 2013-09-19 21:40:01 -04:00
Michael Marineau
be2926d8a3 fix(build_image): Exclude libc locales and info pages. 2013-09-19 21:32:48 -04:00
Michael Marineau
e15457054a fix(build_image): Replace two lingering pbzip2 references with lbzip2 2013-09-19 20:53:02 -04:00
Michael Marineau
e2b35bbae1 fix(build_image): Install dev packages into root, not /usr/local.
We don't have any particular reason for the weird hackery required to
install packages into /usr/local instead of root. The rootfs image is
already being modified a little might as well modify it a lot. :)
2013-09-19 20:43:59 -04:00
Michael Marineau
bd10c55521 cleanup(path-overrides): Remove unused directory 2013-09-19 19:05:34 -04:00
Michael Marineau
207cc2f6a3 cleanup(*): Remove unused/broken test and factory images 2013-09-19 19:04:54 -04:00
Michael Marineau
c86eb16098 fix(build_image): Remove defunct bootcache option.
From ChromeOS, not applicable to our systems.
2013-09-19 18:21:32 -04:00
Michael Marineau
9f98ce2aad Merge pull request #113 from philips/squashfs-init
feat(build_library): generate squashfs in cpio
2013-09-09 18:23:53 -07:00
Brandon Philips
05a4974836 fix(vm_image_util): remove /usr/share/oem prefix
remove this prefix from the PARTIIONED=0 builds
2013-09-09 18:06:40 -07:00
Brandon Philips
2605c6ca95 feat(vm_image_util): use bind mounts for pxe oem
solid cleanup idea from marineam to use bind mounts instead of copying
to generate the desired root layout.
2013-09-09 17:47:10 -07:00
Brandon Philips
f3413b473d feat(build_library): generate squashfs in cpio
squashfs is more efficient and plays well with namespaces. Switch to
generating a cpio with a single squashfs files.
2013-09-09 16:12:44 -07:00
Greg Kroah-Hartman
b9ea8b0eaa Merge pull request #112 from marineam/sign
feat(build_library): Add support for gpg signing DIGESTS
2013-09-06 20:56:50 -07:00
Michael Marineau
1d58a2e611 feat(build_library): Add support for gpg signing DIGESTS
For the sake of consistency with Gentoo the GPG signature is DIGESTS.asc
2013-09-06 17:06:52 -07:00
Brandon Philips
efde4940f9 Merge pull request #111 from marineam/gnupg
feat(sdk_lib): Bind mount GnuPG directories into the chroot.
2013-09-06 16:36:47 -07:00
Michael Marineau
d250db92cb feat(sdk_lib): Bind mount GnuPG directories into the chroot. 2013-09-06 16:16:28 -07:00
Greg Kroah-Hartman
772994d916 Merge pull request #110 from marineam/group
fix(make_chroot): Fix support for new users with existing groups.
2013-09-06 12:13:12 -07:00
Michael Marineau
e111aec543 fix(make_chroot): Fix support for new users with existing groups.
When a user creates a chroot and as a common primary group such as
'users' the groupadd command fails. Instead treat this the same as users
and only fail if the group exists but has a different (such as the
'users' group not using GID 100). Hopefully this works better.
2013-09-06 12:06:53 -07:00
Brandon Philips
e3523e80ab Merge pull request #109 from philips/quotes-in-lsb-release
fix(build_library): properly quote fields with spaces
2013-09-06 11:36:28 -07:00
Brandon Philips
c003b47772 fix(build_library): properly quote fields with spaces
quote COREOS_RELEASE_DESCRIPTION since it has spaces
2013-09-05 17:35:12 -07:00
Brandon Philips
1e0d00b7f1 Merge pull request #108 from marineam/pxe
fix(image_to_vm): Fix upload pxe, VM_GENERATED_FILES must be an abspath
2013-09-05 16:25:58 -07:00
Michael Marineau
b223b45800 fix(image_to_vm): Fix upload pxe, VM_GENERATED_FILES must be an abspath 2013-09-05 16:14:02 -07:00
Brandon Philips
310a31c03b Merge pull request #107 from marineam/pxe
PXE fix
2013-09-05 15:08:07 -07:00
Michael Marineau
bbacf2f0bd fix(image_to_vm): Mount source rootfs as ro when creating cpio.
When building with a write-protected root mounting as rw, the default,
fails.
2013-09-05 16:24:45 -04:00
Michael Marineau
c8d986d408 fix(image_to_vm): Cleanup must run as root.
Failures mid-build leave root-owned files behind.
2013-09-05 16:17:14 -04:00
Greg Kroah-Hartman
fac9052dd0 Merge pull request #106 from marineam/name
fix(set_lsb_release): New code name suggested by @gregkh
2013-09-04 14:57:11 -07:00
Michael Marineau
b52955ef00 fix(set_lsb_release): New code name suggested by @gregkh 2013-09-04 14:46:45 -07:00
Michael Marineau
73f5cbff40 Merge pull request #104 from marineam/build
add(build_container): New catalyst script for buildbot containers.
2013-09-02 10:29:03 -07:00
Greg Kroah-Hartman
d50fa07715 Merge pull request #105 from marineam/scsi
fix(image_to_vm): Use SCSI for VMware disks.
2013-09-02 08:51:34 -07:00
Michael Marineau
2d5a0a29e4 fix(image_to_vm): Use SCSI for VMware disks. 2013-09-01 17:23:59 -07:00
Michael Marineau
7e7f81c7e5 Merge pull request #103 from marineam/ami
Ami
2013-08-29 14:59:59 -07:00