5075 Commits

Author SHA1 Message Date
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
Michael Marineau
92499b727f add(build_container): New catalyst script for buildbot containers.
Does nothing more than build a slightly larger SDK tarball right now.
2013-08-29 17:35:07 -04:00
Michael Marineau
592bc59cca add(upload_ami_txt): Upload text file that contains the AMI id. 2013-08-29 14:24:06 -07:00
Michael Marineau
693bf2f815 fix(test_ami): Fix help text. 2013-08-29 13:59:30 -07:00
Michael Marineau
753e1ea820 Merge pull request #102 from marineam/sdk-depends
fix(sdk): Use coreos-devel/sdk-depends instead of hard-host-depends
2013-08-29 08:51:31 -07:00
Brandon Philips
28a049b288 Merge pull request #100 from gregkh/efi_kernel
feat(update_bootloaders.sh) add UEFI boot support
2013-08-29 08:17:43 -07:00
Michael Marineau
b3f77e88f9 Merge pull request #101 from marineam/master
fix(test_ami): Fix assorted mistakes from last review cycle.
2013-08-28 16:30:17 -07:00
Michael Marineau
29ccafbdba fix(sdk): Use coreos-devel/sdk-depends instead of hard-host-depends
coreos-devel/sdk-depends is a super-set of hard-host-depends and has a
somewhat better name.
2013-08-28 15:59:05 -07:00
Michael Marineau
cc2587921a fix(test_ami): Fix assorted mistakes from last review cycle.
This at least gets autotest running and logging into the hosts but none
of the tests are actually executed properly yet. One step at a time..
2013-08-28 15:37:09 -07:00