diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-21 21:00:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-21 21:00:58 +0100 |
commit | 8b2628ad8526c806375e7b157889e4274b70248b (patch) | |
tree | ccba8cd56af7e086131454d6062d5d31115791df /sys-apps/systemd-readahead/systemd-readahead-216.ebuild | |
parent | b620fb1b0929ff9657a2588aaa42b85e3021c102 (diff) |
gentoo resync : 21.10.2017
Diffstat (limited to 'sys-apps/systemd-readahead/systemd-readahead-216.ebuild')
-rw-r--r-- | sys-apps/systemd-readahead/systemd-readahead-216.ebuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sys-apps/systemd-readahead/systemd-readahead-216.ebuild b/sys-apps/systemd-readahead/systemd-readahead-216.ebuild index e29293a0a6cc..e256882d9165 100644 --- a/sys-apps/systemd-readahead/systemd-readahead-216.ebuild +++ b/sys-apps/systemd-readahead/systemd-readahead-216.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit systemd toolchain-funcs udev DESCRIPTION="Split of readahead systemd implementation" @@ -13,7 +13,7 @@ SLOT="0" KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="" -S=${WORKDIR}/systemd-${PV} +S="${WORKDIR}/systemd-${PV}" RDEPEND=">=sys-apps/systemd-217:=" DEPEND="${RDEPEND} @@ -26,7 +26,14 @@ DEPEND="${RDEPEND} virtual/pkgconfig " +PATCHES=( + # https://github.com/systemd/systemd/pull/2838 , bug #604614 + "${FILESDIR}/${P}-sysmacros.patch" +) + src_prepare() { + default + # systemd-notify no longer supports readahead playing sed -i -e 's:ExecStart=@SYSTEMD_NOTIFY@ --readahead=done:ExecStart=/bin/touch /run/systemd/readahead/done:' \ units/systemd-readahead-done.service.in || die |