Commit Graph

2915 Commits

Author SHA1 Message Date
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
Greg Kroah-Hartman
75ac767130 feat(update_bootloaders.sh) add UEFI boot support
This creates the EFI/BOOT/ directory in the boot partition and copies a
version of the kernel into there so that UEFI bioses can boot directly
into the kernel, no bootloader needed.
2013-08-28 14:24:02 -07:00
Michael Marineau
2ae25567ea Merge pull request #99 from marineam/master
fix(image_to_vm): Add missing call to check_gsutil_opts.
2013-08-28 14:12:19 -07:00
Michael Marineau
f7e15d1444 fix(image_to_vm): Add missing call to check_gsutil_opts.
The --upload_path argument was not being properly handled because this
was missing, creating lots of 54.0.0+2013-08-28-1810 style directories
instead of master. Oops.
2013-08-28 14:00:12 -07:00
Michael Marineau
1539ff334e Merge pull request #98 from marineam/image-size
Image size
2013-08-28 12:25:56 -07:00
Brandon Philips
043dfeb868 Merge pull request #94 from philips/pxe-initial
Pxe initial
2013-08-28 12:09:41 -07:00
Brandon Philips
ce445512fd fix(build_library): fixup naming for the pxe image
based on @marineam's comments fixup the naming and ensure the output
files get picked up by the build system.
2013-08-28 12:04:55 -07:00
Michael Marineau
dfb7d8d115 fix(build_library): Drop default 'base' layout to 512MB for STATE.
This will further reduce the amount of dd'ing required when using block
devices.
2013-08-28 11:55:25 -07:00
Michael Marineau
8a488f890b fix(image_to_vm): Increase STATE in vagrant images to 16GB
Vagrant users are accustomed to much larger disk sizes so lets give it
to them. I'm leaving the others as-is since it is easier to grow than
shrink disks if anyone has a particular size they need.
2013-08-28 11:52:19 -07:00
Michael Marineau
9734ac017f feat(image_to_vm): Make disk layout configurable by VM type.
Use the smaller base format for 'raw' disk images since these will
usually be dd'd to a block device to create AMIs and what not. For
images using qcow2 and vmdk stick with the larger vm size.
2013-08-28 11:35:06 -07:00
Michael Marineau
7f64629664 Merge pull request #97 from marineam/vmware
feat(image_to_vm): Add 'vmware_insecure' image type.
2013-08-28 10:18:24 -07:00