diff options
author | Martin Väth <martin@mvath.de> | 2013-10-12 21:12:31 +0200 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2015-10-11 10:48:59 +0200 |
commit | 5d21146b66819048d79903a55a151e52fc64749c (patch) | |
tree | 8f7da4a59d3c1d8a91d1f9f194285e38e81fd29d /sys-block/zram-init/zram-init-2.6.ebuild | |
parent | Bump firewall-mv (diff) | |
download | mv-5d21146b66819048d79903a55a151e52fc64749c.tar.gz mv-5d21146b66819048d79903a55a151e52fc64749c.tar.bz2 mv-5d21146b66819048d79903a55a151e52fc64749c.zip |
Add fvwm-crystal. Use readme.gentoo.eclass
Diffstat (limited to 'sys-block/zram-init/zram-init-2.6.ebuild')
-rw-r--r-- | sys-block/zram-init/zram-init-2.6.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys-block/zram-init/zram-init-2.6.ebuild b/sys-block/zram-init/zram-init-2.6.ebuild index e47e141e..e44497da 100644 --- a/sys-block/zram-init/zram-init-2.6.ebuild +++ b/sys-block/zram-init/zram-init-2.6.ebuild @@ -4,7 +4,7 @@ EAPI=5 RESTRICT="mirror" -inherit eutils systemd vcs-snapshot +inherit eutils readme.gentoo systemd vcs-snapshot DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zram" HOMEPAGE="https://github.com/vaeth/zram-init/" @@ -15,6 +15,12 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" +DISABLE_AUTOFORMATTING="true" +DOC_CONTENTS="To use zram, activate it in your kernel and add it to default runlevel: + rc-config add zram default +If you use systemd enable zram_swap, tmp, and/or var_tmp with systemctl. +You might need to modify /etc/modprobe.d/zram.conf" + src_prepare() { epatch_user } @@ -28,11 +34,5 @@ src_install() { doins modprobe.d/* insinto /usr/share/zsh/site-functions doins zsh/* -} - -pkg_postinst() { - elog "To use zram, activate it in your kernel and add it to default runlevel:" - elog " rc-config add zram default" - elog "If you use systemd enable zram_swap, tmp, and/or var_tmp with systemctl." - elog "You might need to modify /etc/modprobe.d/zram.conf" + readme.gentoo_src_install } |