28179 Commits

Author SHA1 Message Date
Brandon Philips
596aaaed9f Merge pull request #760 from philips/docker-socket-permissions
app-emulation/docker: make the docker socket protected
2014-07-21 18:05:18 -07:00
Michael Marineau
0e05e89db9 update_engine: work around broken locksmith version 2014-07-21 16:53:30 -07:00
Michael Marineau
2a004f0081 qemu: set DHCP hostname based on image name and version
Provides an easy way to test this setting hostname from DHCP, most other
systems rely on it.
2014-07-21 16:43:48 -07:00
Michael Marineau
dd1e509b00 systemd: report errors when setting hostname from dhcp 2014-07-21 16:28:48 -07:00
Michael Marineau
5a5e2c91ae toolchain-binutils.eclass: sync with upstream
Fixes compatibility with a new portage patch that filters EROOT from the
ebuild environment. This newer version sets EROOT as needed in each
phase function so it is safe from filtering.
2014-07-20 22:10:33 -07:00
Michael Marineau
4e97f0b84c portage: Add patch to filter EROOT from ebuild environment
EROOT must always be derived from ROOT, preserving it causes binary
packages to break in mysterious and often silent ways.

Upstream: https://bugs.gentoo.org/show_bug.cgi?id=490014
2014-07-20 21:36:43 -07:00
Michael Marineau
986845608a setup_board: fix compiling toolchains from scratch
Commit 0d29e735 broke this by not properly initializing the toolchain
ebuild flags when binary packages were disabled.
2014-07-20 21:32:53 -07:00
Michael Marineau
859cea0306 build_library: fix compatibility with latest crossdev version 2014-07-20 21:32:53 -07:00
Michael Marineau
f8e5fe779b Merge pull request #756 from marineam/dev
bootengine: fix install when $ROOT is /
2014-07-20 17:07:45 -07:00
Michael Marineau
a9bcccd3a1 eclass: set default portage user and group
The PORTAGE_USERNAME and PORTAGE_GRPNAME variables are not exported by
default. The SDK uses them to get portage to run builds as the
developer's uid/gid instead of portage:portage. When running outside of
the SDK use the default portage user and group.
2014-07-20 17:05:06 -07:00
Michael Marineau
0388251549 bootengine: fix install when $ROOT is / 2014-07-20 16:25:29 -07:00
Michael Marineau
946797f5d9 Merge pull request #302 from marineam/dev
Developing in dev images
2014-07-19 21:00:39 -07:00
Michael Marineau
f9e03a8e6f build_image: add repos.conf and binpkgs url to dev images
Needed for portage 2.2. Sync URIs are included but not very useful yet
because portage only can do `git pull` but not `git clone`. An extra
helper script will be required to do the initial clone it seems.

Binary packages may be useful for re-installing a package with a
different INSTALL_MASK. Can be used to install debug symbols.
2014-07-19 19:20:51 -07:00
Michael Marineau
07cb281d6a build_image: install the complete system package set in dev images
dev images, now with fancy tools like `make`!
2014-07-19 17:29:05 -07:00
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