28179 Commits

Author SHA1 Message Date
Brandon Philips
260bab751c chore(app-emulation/docker): add the new service file 2013-10-17 16:28:03 -07:00
Brandon Philips
b522d90d2d feat(app-emulation/docker): bump to docker 0.6.4 2013-10-17 15:57:32 -07:00
Michael Marineau
f6341fc31d fix(legacy_disk_layout.json): Omit unused partitions.
We don't need to reserve space on disk just to reserve partition
numbers. And now that partitions are aligned these blanks spots grew
from 512 bytes to 1MB which is not much but still silly.
2013-10-16 19:44:49 -07:00
Michael Marineau
03754b2d62 fix(cgpt.py): Add support for aligning partitions
When using anything other than classic spinning disks with 512 sectors
it is generally best to maintain some alignment with the underlying
physical sector or erase block size. The default alignment most
partitioning tools use these days is 1MB (2048 sectors). Also sometimes
qemu-img requires disk sizes to be aligned to 64KB.
2013-10-16 19:32:04 -07:00
Michael Marineau
ecca978053 fix(cgpt.py): Fix GPT reserved space calculations.
The existing code arbitrarily multiplies START_SECTOR by 512 converting
from blocks/sectors to bytes, but blocks was the correct unit to begin
with. Also the secondary GPT area is not considered but that was OK
because the bogus unit conversion oversized our disks by almost 16MB.

Instead of relying on bugs properly reserve 34 sectors at each end of
the disk. (Well, we could get away with only 33 at the end since it
doesn't have a MBR but meh.)
2013-10-16 18:30:46 -07:00
Michael Marineau
33394e780e bump(coreos-base/coreos-init): Fix resizing on disks >= 300GB 2013-10-16 17:29:06 -07:00
Michael Marineau
1e17818736 Merge pull request #122 from unclejack/build_library-vmx_utc_tz
fix(build_library): set tz to UTC in vmx template
2013-10-15 14:43:45 -07:00
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
polvi
799be0bcff Merge pull request #237 from polvi/oem-rackspace
add(coreos-base/oem-rackspace): added initial oem for rackspace
2013-10-14 12:19:04 -07:00
Alex Polvi
08c6e55231 fix ssh handling 2013-10-14 12:06:42 -07:00
Alex Polvi
522c846bcc use proper ssh key setup 2013-10-14 11:32:58 -07:00
Alex Polvi
4037db2a2a remove redundant resolv.conf setup 2013-10-14 11:22:52 -07:00
Alex Polvi
dcfcb00f5e feat(oem-rackspace): add rackspace as valid format option 2013-10-13 19:56:39 -07:00
Alex Polvi
98af20601f fix resolvconf.sh 2013-10-13 19:38:54 -07:00
Alex Polvi
9be7d7c130 add(coreos-base/oem-rackspace): added initial oem for rackspace 2013-10-13 19:23:50 -07:00
Brandon Philips
16119c8712 Merge pull request #236 from philips/etcd-0.1.2
feat(dev-db/etcd): bump to 0.1.2 release
2013-10-11 15:52:51 -07:00
Brandon Philips
a3d82af931 feat(dev-db/etcd): bump to 0.1.2 release 2013-10-11 15:30:17 -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
Michael Marineau
41d370493e Merge pull request #234 from marineam/ccache
Enable ccache
2013-10-07 13:47:32 -07:00
Michael Marineau
50697bd07b fix(profiles): Enable ccache by default.
This is such a huge win for repeated glibc and kernel compiles. :)
2013-10-07 12:39:10 -07:00
Michael Marineau
72eb0ed866 fix(profiles): Move FEATURES into profiles.
Move all obviously safe features into the coreos profiles to further
reduce the magic in make.conf, leave the more fast-and-loose options in
make.conf to keep them kinda "special".
2013-10-07 12:33:26 -07:00
Michael Marineau
75d67171b1 Merge pull request #58 from marineam/noclang
clean(sys-devel): Remove clang/llvm
2013-10-05 17:45:11 -07:00
Michael Marineau
e1b2acaf27 Merge pull request #233 from marineam/noclang
fix(coreos-base/hard-host-depends): Remove clang/llvm from SDK.
2013-10-05 17:44:55 -07:00
Michael Marineau
67f822a67b clean(sys-devel): Remove clang/llvm 2013-10-04 11:40:29 -07:00
Michael Marineau
8efddb70a4 fix(coreos-base/hard-host-depends): Remove clang/llvm from SDK.
Nothing should be using clang any more and just results in long compile
times when use flags change. Away with ye!
2013-10-04 11:32:25 -07:00
Brandon Philips
8295a79579 Merge pull request #57 from marineam/efitools
bump(app-crypt/efitools): sync with upstream
2013-10-03 15:50:42 -07:00
Michael Marineau
faf7bbaa89 bump(app-crypt/efitools): sync with upstream 2013-10-03 15:48:28 -07:00
Brandon Philips
9a49b6b628 Merge pull request #232 from philips/fix-blocking-local-target
fix(coreos-base/coreos-init): fix the blocking local.target
2013-10-03 15:19:55 -07:00
Brandon Philips
94b7b1ff06 fix(coreos-base/coreos-init): fix the blocking local.target 2013-10-03 15:18:04 -07:00
Brandon Philips
5b01b0b59f Merge pull request #56 from gregkh/app-crypt
feat(app-crypt/sbsigntool) update to latest upstream patches
2013-10-02 19:21:26 -07:00
Greg Kroah-Hartman
588150712b feat(app-crypt/sbsigntool) update to latest upstream patches
This fixes a bug in sbsigntool that would cause newer UEFI firmware
images to fail the signature check of the booting binary.  This would
always show up on any firmware that supported multi-key signatures of
binaries.
2013-10-02 19:17:05 -07:00
Brandon Philips
9b45892801 Merge pull request #55 from gregkh/app-crypt
feat(app-crypt/efitools) update to latest upstream version
2013-10-02 17:10:40 -07:00
Greg Kroah-Hartman
40396779be feat(app-crypt/efitools) update to latest upstream version 2013-10-02 16:52:45 -07:00
Brandon Philips
36b6776fc6 Merge pull request #230 from philips/docker-xz
fix(app-emulation/docker): docker now requires xz
2013-10-02 14:05:56 -07:00
Brandon Philips
014a61aab3 Merge pull request #231 from philips/fixup-local-enable
fix(coreos-base/coreos-init): fixup to use right systemctl path
2013-10-02 12:47:54 -07:00
Brandon Philips
bef65d7d85 fix(coreos-base/coreos-init): fixup to use right systemctl path 2013-10-02 12:47:12 -07:00