diff options
author | Jason Zaman <perfinion@gentoo.org> | 2018-06-08 16:19:30 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2018-06-08 17:56:14 +0800 |
commit | 99fe9fe295ed09cd4b0e88bad39314d48dcefe8f (patch) | |
tree | ac38bae7346819fc1bc16942acc7408e59f46539 /sys-block/zram-init | |
parent | dev-python/beaker: s390 stable wrt bug #650904 (diff) | |
download | gentoo-99fe9fe295ed09cd4b0e88bad39314d48dcefe8f.tar.gz gentoo-99fe9fe295ed09cd4b0e88bad39314d48dcefe8f.tar.bz2 gentoo-99fe9fe295ed09cd4b0e88bad39314d48dcefe8f.zip |
sys-block/zram-init: install into /sbin
Closes: https://bugs.gentoo.org/657480
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-block/zram-init')
-rw-r--r-- | sys-block/zram-init/zram-init-7.1-r1.ebuild (renamed from sys-block/zram-init/zram-init-7.1.ebuild) | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys-block/zram-init/zram-init-7.1.ebuild b/sys-block/zram-init/zram-init-7.1-r1.ebuild index e27e24d952bc..e3dedd90a01c 100644 --- a/sys-block/zram-init/zram-init-7.1.ebuild +++ b/sys-block/zram-init/zram-init-7.1-r1.ebuild @@ -13,7 +13,8 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" IUSE="" -RDEPEND="!<sys-apps/openrc-0.13" +RDEPEND=">=app-shells/push-2.0 + !<sys-apps/openrc-0.13" DISABLE_AUTOFORMATTING="true" DOC_CONTENTS="To use zram, activate it in your kernel and add it to default runlevel: @@ -25,11 +26,10 @@ src_prepare() { use prefix || sed -i \ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \ -- sbin/* || die - eapply_user + default } src_install() { - dosbin sbin/* doinitd openrc/init.d/* doconfd openrc/conf.d/* systemd_dounit systemd/system/* @@ -37,7 +37,10 @@ src_install() { doins modprobe.d/* insinto /usr/share/zsh/site-functions doins zsh/* + dodoc AUTHORS ChangeLog README.md readme.gentoo_create_doc + into / + dosbin sbin/* } pkg_postinst() { |