30065 Commits

Author SHA1 Message Date
Michael Marineau
a28a8966e4 build_image: use dev and prod profile variants
Instead of gluing in a special PROD_INSTALL_MASK for all images use
profiles to configure the differences between the base build root,
production images, and developer images. This offers much more
flexibility and is needed for providing a full dev environment in
developer images.
2014-07-19 17:17:28 -07:00
Michael Marineau
4d3c198161 tools: remove support for parallel_emerge
Using parallel_emerge has been disabled by default for all commands
except build_image for quite a while now, build_image kept it just
because it was still a bit faster than normal emerge. Keeping
parallel_emerge complicates future changes to build_image so it needs to
drop it entirely. Since that means nothing uses it by default we might
as well just rip out support for it entirely.
2014-07-19 16:38:17 -07:00
Michael Marineau
3d8948d91f setup_board: copy portage's repos.conf files from the chroot 2014-07-19 16:10:34 -07:00
Michael Marineau
86ccf944f2 Merge pull request #755 from marineam/dev
Misc updates/fixes
2014-07-19 15:27:50 -07:00
Michael Marineau
5446f7f06a Merge pull request #301 from marineam/dev
Fixes/cleanups for package building
2014-07-19 15:27:43 -07:00
Michael Marineau
d8abb0dd28 systemd: fix build dependencies for man pages 2014-07-19 15:19:51 -07:00
Michael Marineau
097196a6af build_packages: break dependency loop between util-linux and systemd.
This is required to enable the udev use flag.
2014-07-19 15:07:00 -07:00
Michael Marineau
ed41ed035b coreos-init: update with some minor fixes
- Removes ld.so.cache generator, systemd 215 does this.
- Fix udev rule for GCE compatibility.
2014-07-19 14:59:56 -07:00
Michael Marineau
fa7075a057 iproute2: restore two mistakenly deleted patches
Commit 3d5e4758 pruned a little too deeply.
2014-07-19 14:46:27 -07:00
Michael Marineau
badd38240c profiles: do not disable perl's gdbm use flag
It appears turning off this flag does not actually prevent perl from
trying to build against gdbm. Enable the flag so dependencies are
consistent with perl's actual behavior.
2014-07-19 14:20:50 -07:00
Michael Marineau
6688883299 profiles: re-add udev to default USE flags
Reapply 943574b4, build_packages can handle the circular dependency that
this introduces between systemd and util-linux now.
2014-07-19 14:00:17 -07:00
Michael Marineau
6202ce1152 Merge pull request #754 from marineam/dev
crossdev: fix sysroot handling in pkg-config wrapper
2014-07-19 13:57:59 -07:00
Michael Marineau
9142f97454 Merge pull request #753 from marineam/cleanup
Cleanup old ebuilds
2014-07-19 13:57:48 -07:00
Michael Marineau
22f72462c6 crossdev: fix sysroot handling in pkg-config wrapper
The pkg-config wrapper re-implemented SYSROOT support because it didn't
work correctly in pkg-config before 0.24. That was released years ago so
it is time to update, custom code broke when paths were outside of /usr
so libraries installed to /lib64 broke things.

With this fixed we don't need to generate our own wrappers.

Upstream bug: https://bugs.gentoo.org/show_bug.cgi?id=517530
2014-07-19 13:28:52 -07:00
Michael Marineau
538b86bf5b chore(metadata): Regenerate cache 2014-07-19 13:27:20 -07:00
Michael Marineau
77b40ff38c chore(metadata): Regenerate cache 2014-07-19 13:27:19 -07:00
Michael Marineau
bd5fee44e8 cleanup: delete lots of unused and outdated ebuilds 2014-07-19 13:26:51 -07:00
Michael Marineau
73dd541387 Merge pull request #751 from marineam/core
update_engine: add support for post install oem hook
2014-07-19 13:23:26 -07:00
Greg Kroah-Hartman
516d7db8cb Merge pull request #752 from gregkh/kernel_update
Kernel update to 3.15.6 and enable NVME driver
2014-07-19 12:59:41 -07:00
Michael Marineau
dea299312e setup_board: remove extra pkg-config wrapper script
crossdev provides cross-pkg-config which respects $SYSROOT so we do not
need to do anything extra ourselves.
2014-07-19 11:37:03 -07:00
Greg Kroah-Hartman
cbb1669300 coreos-kernel: enable CONFIG_BLK_DEV_NVME
This should resolve bug #82
2014-07-18 21:43:16 -07:00
Greg Kroah-Hartman
bc7615eb45 coreos-kernel: bump to 3.15.6 2014-07-18 21:24:34 -07:00
Michael Marineau
f7870815c6 update_engine: add support for post install oem hook 2014-07-18 18:59:21 -07:00
Michael Marineau
99eacddd16 Merge pull request #750 from marineam/patch
systemd: slurp bugfixes in from master
2014-07-18 18:57:18 -07:00
Michael Marineau
6751c559c7 systemd: slurp bugfixes in from master
This pulls in all patches marked with a Backport note as well as a some
assorted networkd fixes. May this release be a little less crashy...
2014-07-18 18:45:00 -07:00
Alex Crawford
b0d02a3f1c Merge pull request #749 from crawford/dns
sys-apps/systemd: Remove default name servers
2014-07-18 18:34:11 -07:00
Alex Crawford
60ed6d57ba sys-apps/systemd: Remove default name servers 2014-07-18 16:50:43 -07:00
Michael Marineau
f08c78b4c8 Merge pull request #748 from marineam/core
systemd: enable capturing coredumps for inspection via coredumpctl
2014-07-18 16:39:32 -07:00
Michael Marineau
956e7fb444 systemd: enable capturing coredumps for inspection via coredumpctl
Gentoo disabled this functionality because coredumpctl didn't exist yet.
It does now and is pretty slick so lets enable this. Dumps are stored in
/var/lib/systemd/coredump by default. Optionally they can be stored in
the journal by modifying /etc/systemd/coredump.conf
2014-07-18 16:20:15 -07:00
Michael Marineau
f21a6b2a0d Merge pull request #747 from marineam/lvm
lvm2: update to 2.02.107
2014-07-15 20:27:28 -07:00
Michael Marineau
0bb9526316 Merge pull request #124 from marineam/lvm
bump(sys-fs/lvm2): sync with upstream
2014-07-15 20:27:15 -07:00
Michael Marineau
cea88e3f6d lvm2: update to 2.02.107
Newer ebuilds appear to fix some issues with systemd integration which
may or may not impact our systems but lvm isn't widely used with CoreOS
so no one has noticed. Most importantly though these sorts of errors are
gone:

    Configuration file /run/systemd/generator/lvm2-activation.service is
    marked world-inaccessible. This has no effect as configuration data
    is accessible via APIs without restrictions. Proceeding anyway.
2014-07-15 19:50:09 -07:00
Michael Marineau
4104d188dc bump(sys-fs/lvm2): sync with upstream
Packages updated:
  sys-block/thin-provisioning-tools
  sys-fs/lvm2
2014-07-15 19:46:49 -07:00
Michael Marineau
318deb186f Merge pull request #745 from marineam/resolv
systemd: add compatibility symlink for resolv.conf
2014-07-15 17:42:55 -07:00
Michael Marineau
0e677209da systemd: add compatibility symlink for resolv.conf
In 215 resolv.conf moved from /run/systemd/network to
/run/systemd/resolv but there isn't anything to fix references to the
old location (namely existing /etc/resolv.conf symlinks after upgrades).
Adding this rule ensures that those links or any other references
continue to work as they did before.
2014-07-15 17:34:17 -07:00
Michael Marineau
29412584a8 Merge pull request #300 from marineam/ami
ami: configure etcd with public addresses
2014-07-15 12:23:44 -07:00
Brandon Philips
710a40db6f app-emulation/docker: make the docker socket protected 2014-07-15 12:16:59 -07:00
Michael Marineau
d0d41a185f ami: configure etcd with public addresses
When I created the new AMI build host I just accepted the default
'wizard' security group which seems to have placed the host in a VPC.
There doesn't seem to be a way to fix this and as-is the build host
cannot access the private addresses on the test VMs it launches.
Switching to the public ones work fine though. Didn't notice this at
first because it is only a problem when etcd sends a redirect.
2014-07-15 12:12:43 -07:00
Michael Marineau
973f2c7bbc Merge pull request #742 from marineam/cleanup
Cleanup custom tmpfiles code
2014-07-15 11:49:44 -07:00
Michael Marineau
66fcc06f39 Merge pull request #743 from marineam/cryptsetup
profiles: enable cryptsetup support
2014-07-15 11:49:34 -07:00
Michael Marineau
2c34eb4489 eclass: remove cros-tmpfiles.eclass, replaced by systemd-tmpfiles 2014-07-15 00:39:53 -07:00
Michael Marineau
54f371db7f ca-certificates: replace cros-tmpfiles with systemd-tmpfiles
Reapply 93ec181e26540e65f8b7636a6d63be87affb49a4
2014-07-15 00:39:53 -07:00
Michael Marineau
e0ef57130a baselayout: replace cros-tmpfiles with systemd-tmpfiles
Reapply 7bc566630cb05d509371fa09435a08900057b308
2014-07-15 00:39:44 -07:00
Michael Marineau
ad992cd984 Merge pull request #744 from marineam/fix
baselayout: re-add rule for /var/run symlink
2014-07-15 00:32:00 -07:00
Michael Marineau
9176ad5f0e baselayout: re-add rule for /var/run symlink 2014-07-15 00:23:33 -07:00
Michael Marineau
ccdf2eee5b profiles: enable cryptsetup support 2014-07-14 21:58:36 -07:00
Michael Marineau
7025bd734d Merge pull request #299 from marineam/fix
update_chroot: fix transition to new os-release location
2014-07-14 18:25:17 -07:00
Michael Marineau
4b23a26667 update_chroot: fix transition to new os-release location
Previously /etc/os-release was installed both by set_lsb_release and
the baselayout package. Now it is only installed by set_lsb_release but
when baselayout is upgraded it removes /etc/os-release. So the first
update_chroot works but the second detects the chroot's version
incorrectly and tries to apply the one time updates in this directory.
Both of them are very old so we can just delete them. The second run
will now fix up /etc/os-release and we can all move on and be happy.
2014-07-14 17:59:15 -07:00
Michael Marineau
c9b4e1ff35 Merge pull request #298 from marineam/fix
bootstrap_sdk: setup /usr/lib correctly before calling set_lsb_release
2014-07-14 17:47:54 -07:00
Michael Marineau
1016bb323b bootstrap_sdk: setup /usr/lib correctly before calling set_lsb_release
os-release is now written to /usr/lib but that is likely a symlink to
/usr/lib64 so a little extra logic is required to avoid clobbering the
symlink.
2014-07-14 17:41:18 -07:00