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 | |
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')
-rw-r--r-- | sys-block/zram-init/ChangeLog | 3 | ||||
-rw-r--r-- | sys-block/zram-init/zram-init-2.6.ebuild | 16 |
2 files changed, 11 insertions, 8 deletions
diff --git a/sys-block/zram-init/ChangeLog b/sys-block/zram-init/ChangeLog index 026556d3..f4a82de0 100644 --- a/sys-block/zram-init/ChangeLog +++ b/sys-block/zram-init/ChangeLog @@ -4,6 +4,9 @@ *zram-init-2.6.ebuild (11 Oct 2013) + 12 Oct 2013; Martin Väth <martin@mvath.de>: + Use readme.gentoo.eclass + 11 Oct 2013; Martin Väth <martin@mvath.de>: Version bump, remove old ebuild. Fixes umounting 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 } |