From b5c4edc3a773f77d8f44cd43c2427e993e381da5 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Tue, 20 Aug 2013 17:04:51 -0400 Subject: [PATCH] fix(app-emulation/docker): Re-add inherit systemd, dropped by mistake. Also add || die to actually catch errors for this sort of thing. --- .../docker/{docker-0.5.3.ebuild => docker-0.5.3-r1.ebuild} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename sdk_container/src/third_party/coreos-overlay/app-emulation/docker/{docker-0.5.3.ebuild => docker-0.5.3-r1.ebuild} (81%) diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.5.3.ebuild b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.5.3-r1.ebuild similarity index 81% rename from sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.5.3.ebuild rename to sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.5.3-r1.ebuild index 0f8734bced..476965f703 100644 --- a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.5.3.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.5.3-r1.ebuild @@ -3,6 +3,8 @@ EAPI=5 +inherit systemd + DESCRIPTION="Docker container management" HOMEPAGE="http://docker.io" SRC_URI="https://github.com/dotcloud/docker/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -26,6 +28,6 @@ src_install() { dobin ${S}/bin/${PN} keepdir /var/lib/${PN}/graph keepdir /var/lib/${PN}/containers - systemd_dounit "${FILESDIR}"/${PN}.service - systemd_enable_service multi-user.target ${PN}.service + systemd_dounit "${FILESDIR}"/${PN}.service || die + systemd_enable_service multi-user.target ${PN}.service || die }