30065 Commits

Author SHA1 Message Date
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
polvi
10df5fd945 Merge pull request #466 from polvi/drop-etcd-start
feat(etcd): no more auto start-up, must be explicit
2014-03-20 20:19:50 -07:00
Alex Polvi
85b6920454 bump symlink 2014-03-20 19:47:25 -07:00
Alex Polvi
6d05456618 feat(etcd): no more auto start-up, must be explicit 2014-03-20 19:46:07 -07:00
Michael Marineau
a55f566b40 fix(oem/ami): Add support for building release AMIs for amd64-usr 2014-03-20 17:28:09 -07:00
polvi
1038d8bd50 Merge pull request #465 from polvi/ami-typo
fix(oem-ami): fix bad [Service] section
2014-03-20 16:17:36 -07:00
Alex Polvi
e4266dfd5d fix(oem-ami): fix bad [Service] section 2014-03-20 16:11:36 -07:00
Brandon Philips
40c707632d fix(sys-apps/systemd): explicitly route to the gateway
Fix sent and pending upstream.
2014-03-20 11:34:54 -07:00
Michael Marineau
26b5865b73 Merge pull request #199 from marineam/syslinux
fix(build_image): Switch to SYSLINUX for our EFI bootloader.
2014-03-19 20:39:35 -07:00
Michael Marineau
c0d7adbc80 Merge pull request #461 from marineam/syslinux
bump(sys-boot/syslinux): Add syslinux with EFI support.
2014-03-19 20:39:20 -07:00
Michael Marineau
e59e366770 Merge pull request #197 from marineam/release-files
cleanup(set_lsb_release): Rework release config setup
2014-03-19 20:39:08 -07:00
Michael Marineau
2f92bf567f Merge pull request #463 from marineam/release-files
Release files
2014-03-19 20:38:48 -07:00
Michael Marineau
b47a9a1e57 bump(coreos-base/gmerge): Update to latest in platform/dev repo 2014-03-19 20:11:07 -07:00
Brian Waldon
27320d5c36 Merge pull request #462 from bcwaldon/bump-coreos-cloudinit
bump(coreos-cloudinit): upgrade to version v0.2.1
2014-03-19 20:02:53 -07:00
Brian Waldon
dc105cd114 bump(coreos-cloudinit): upgrade to version v0.2.1 2014-03-19 19:09:40 -07:00