28179 Commits

Author SHA1 Message Date
Michael Marineau
5ddaeb074b Merge pull request #205 from marineam/binhost
fix(toolchain_util): Correct default binhost ordering.
2014-03-24 11:33:27 -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
0a4e6716b4 Merge pull request #204 from marineam/prune
add(prune_images): Add a little script to clean up build directory
2014-03-23 20:19:48 -07:00
Michael Marineau
7c0e821953 Merge pull request #202 from marineam/pxe
PXE images
2014-03-23 20:19:41 -07:00
Michael Marineau
3676a510b2 Merge pull request #475 from marineam/usr
PXE and other updates
2014-03-23 20:19:35 -07:00
Michael Marineau
0d328b8c6f bump(coreos-base/coreos-init): Update for PXE/PAM fixes. 2014-03-23 20:11:02 -07:00
Michael Marineau
9d7945df93 add(prune_images): Add a little script to clean up build directory 2014-03-23 20:07:45 -07:00
Michael Marineau
5357390bb6 Merge pull request #203 from marineam/vhd
VHD disk images
2014-03-23 18:29:50 -07:00
Michael Marineau
307b740f6e Merge pull request #98 from marineam/qemu
bump(app-emulation/qemu): sync with upstream
2014-03-23 18:29:24 -07:00
Michael Marineau
b3b31a2ec6 bump(coreos-base/coretest): Include latest fixes 2014-03-23 17:32:31 -07:00
Michael Marineau
934675d19b fix(build_image): Add auto-enter-chroot call
This makes build_image and image_to_vm behave like build_packages, where
if you call the script outside of the SDK's chroot it will automatically
reexecute itself inside of the chroot.
2014-03-23 20:17:05 -04: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
bff5b9c1de bump(app-emulation/qemu): sync with upstream
Packages updated:
  app-emulation/qemu
  sys-firmware/ipxe
  sys-firmware/seabios
2014-03-23 15:58:59 -07:00
Michael Marineau
b507e746a8 fix(sys-apps/shadow): Install configs to /usr and symlinks to /etc
This ensures logging in still works after booting with an empty /etc.

Remove some pkg_pre/postinst fixups that we don't need.
2014-03-23 13:41:29 -07:00
Michael Marineau
c221074bae bump(sys-kernel/bootengine): PXE related updates 2014-03-23 11:54:31 -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
2b9355d63d fix(profiles): Disable pam in -usr images.
pam complicates our tiny little OS, I don't think we actually have a
need for pam so instead of fixing it to move configs to /usr just
disable it. If someone comes up with a need we can fix pam later.
2014-03-22 21:49:34 -07:00
Michael Marineau
7487cee327 fix(coreos-base/coreos): Add glibc as explicit run-time dependency
Turns out the only package that was pulling in glibc as a run-time
dependency in our images was pam. This breaks when pam is disabled. :)
2014-03-22 21:46:04 -07:00
Michael Marineau
68af44d961 fix(oem/ami): Fix uploading AMI id files, broken by a55f566b. 2014-03-22 15:19:07 -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
fd6fc2a144 fix(sys-kernel/coreos-kernel): Remove root= from built in flags.
This is no longer required and is incorrect for usr images.
2014-03-22 12:32:16 -07:00
Brandon Philips
b8b1af1b94 Merge pull request #472 from philips/more-gce-oem-setup
feat(coreos-base/oem-gce): support cloudconfig
2014-03-22 09:17:40 -07:00
Brandon Philips
9dc97bccb5 fix(coreos-base/oem-gce): use only one into
Suggestion by @marineam.
2014-03-22 09:13:44 -07:00
Brandon Philips
f8f054c1d7 fix(coreos-base/oem-*): be consistent about sh -e
Use sh -e everywhere to be safe.
2014-03-22 09:12:20 -07:00
Greg Kroah-Hartman
8605bf1677 Merge pull request #459 from x-clone/master
Requesting UDF support
2014-03-22 04:25:52 +00:00
Michael Marineau
e24791c6ac Merge pull request #473 from marineam/parted
drop(sys-block/parted): Moved to portage-stable
2014-03-21 20:36:15 -07:00
Michael Marineau
524bf4761f Merge pull request #97 from marineam/parted
bump(sys-block/parted): sync with upstream
2014-03-21 20:36:07 -07:00
Michael Marineau
99948ab983 Merge pull request #201 from marineam/sdk
fix(make_chroot): Simplify chroot user creation.
2014-03-21 20:04:56 -07:00
Michael Marineau
3e39c612eb fix(make_chroot): Simplify chroot user creation.
The commands useradd/usermod will silently skip adding users to
secondary groups that are not in /etc/group. The idea being that the
tools should not create groups that conflict with existing LDAP/NIS
groups but why trying to do so isn't a fatal error I don't know.

Overall the code is rather complicated and tries to modify instead of
add when possible to allow running the SDK as the 'core' user. To keep
things simple gut this code, make the 'core' user special, and add
secondary groups via the 'gpasswd' command so that errors are reported
instead of silently ignored.

One functional change: the default groups have changed to kvm and
portage. The old list excluded kvm and included lots of extra cruft.
2014-03-21 19:46:32 -07:00
Michael Marineau
19047b6ee1 drop(sys-block/parted): Moved to portage-stable 2014-03-21 16:19:47 -07:00
Michael Marineau
e6d67d10bb bump(sys-block/parted): sync with upstream 2014-03-21 16:12:48 -07:00
Brian Waldon
0f4ad3e0c4 Merge pull request #471 from bcwaldon/bump-coreos-cloudinit
bump(coreos-cloudinit): Upgrade to v0.2.2
2014-03-21 15:05:47 -07:00
Brandon Philips
729fe0e6ae feat(coreos-base/oem-gce): support cloudconfig
With this pull request we can support a cloudconfig sent to the
user-data metadata key. Tested etcd and fleet bootstrapping and ssh key
insertion.
2014-03-21 15:02:53 -07:00
Brian Waldon
bb7ef79b3d bump(coreos-cloudinit): Upgrade to v0.2.2 2014-03-21 14:54:02 -07:00
Brandon Philips
a7fc7060f4 Merge pull request #469 from philips/remove-docker-dependency-on-network.target
fix(app-emulation/docker): don't require network.target
2014-03-21 13:50:42 -07:00
Brandon Philips
8a4a98c55f fix(app-emulation/docker): don't require network.target
This isn't required since docker is socket activated now. Also, for some
reason vagrant isn't starting network.target after a reboot so we "fix"
that too.
2014-03-21 11:36:23 -07:00
Michael Marineau
c6fad7f423 Merge pull request #468 from marineam/update-test
bump(coreos-base/coretest): Assorted test fixes/updates
2014-03-21 10:48:14 -07:00
Michael Marineau
dd5bb055ec Merge pull request #200 from marineam/ami
fix(oem/ami): Add support for building release AMIs for amd64-usr
2014-03-21 10:26:07 -07:00
Michael Marineau
02425ef63e fix(oem/ami): Explicitly start etcd and fleet. 2014-03-21 09:19:56 -07:00
Michael Marineau
b474d074b4 bump(coreos-base/coretest): Assorted test fixes/updates 2014-03-21 09:15:24 -07:00
polvi
49831a2dcf Merge pull request #467 from polvi/rackspace-oem
fix(oem-rackspace): add coreos-setup-environment for rackspace
2014-03-21 06:38:13 -07:00
Brandon Philips
fe357a7be0 Merge pull request #464 from philips/oem-gce-cloud-config
Fixes for GCE
2014-03-20 22:19:59 -07:00
Alex Polvi
a4f8460e65 bump cloudinit 2014-03-21 03:55:49 +00:00
Alex Polvi
f7aa6084b7 fix(oem-rackspace): add coreos-setup-environment for rackspace 2014-03-21 03:54:35 +00:00
Alex Polvi
94e3404c2c Merge branch 'rackspace-oem' of https://github.com/polvi/coreos-overlay into rackspace-oem 2014-03-21 03:35:16 +00:00
Alex Polvi
462635d603 wip, start coreos-setup-environment in the right order 2014-03-20 20:34:29 -07:00