summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2013-10-05 12:17:27 +0200
committerMartin Väth <martin@mvath.de>2015-10-11 10:48:59 +0200
commit7edc999acad2df9325ae1cf641423762535e5a24 (patch)
tree2ebfa87ef3dee3115a2727cdedae861196c10860 /sys-block
parentBump mv_perl (diff)
downloadmv-7edc999acad2df9325ae1cf641423762535e5a24.tar.gz
mv-7edc999acad2df9325ae1cf641423762535e5a24.tar.bz2
mv-7edc999acad2df9325ae1cf641423762535e5a24.zip
Bump mv_perl, zram-init
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/zram-init/ChangeLog7
-rw-r--r--sys-block/zram-init/Manifest2
-rw-r--r--sys-block/zram-init/zram-init-2.3.ebuild (renamed from sys-block/zram-init/zram-init-2.2.ebuild)11
3 files changed, 13 insertions, 7 deletions
diff --git a/sys-block/zram-init/ChangeLog b/sys-block/zram-init/ChangeLog
index 4c9d7f68..08f96230 100644
--- a/sys-block/zram-init/ChangeLog
+++ b/sys-block/zram-init/ChangeLog
@@ -2,13 +2,16 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*zram-init-2.3.ebuild (05 Oct 2013)
+
+ 05 Oct 2013; Martin Väth <martin@mvath.de>:
+ Version bump, remove old ebuild. Support further configs and systemd
+
*zram-init-2.2.ebuild (03 Jan 2013)
10 Sep 2013; Martin Väth <martin@mvath.de>:
Install zsh-completion unconditionally according to gentoo policy
- 03 Jan 2012; Martin Väth <martin@mvath.de>:
- Version bump, remove old ebuild.
*zram-init-2.1.ebuild (02 Mar 2012)
diff --git a/sys-block/zram-init/Manifest b/sys-block/zram-init/Manifest
index b0b91509..aac09e44 100644
--- a/sys-block/zram-init/Manifest
+++ b/sys-block/zram-init/Manifest
@@ -1 +1 @@
-DIST zram-init-2.2.tar.gz 2866 SHA256 6d23f408939ec0a9db79254cce196d75f09c4b0cf0843c9eeb90deb153f13653 SHA512 f0eeaaaadde2481409db70fc91fd64155b3cc344a967ccdb4822d65989306599fe6afdea8ab2bd00d23b215a43d654c9d1bfda6b26491ad2d27b6c1093ca8e82 WHIRLPOOL 34e79e8d3f536e174689bc215a193757120880588d2751ab0c30495f7a614f0bd496e5110ce11c7be50bd19d950c242a95a478348cddcc446b879e754e75fd42
+DIST zram-init-2.3.tar.gz 4173 SHA256 8079ade133dd9eb9f5d49a86269ceeff5d7637e47acf98bc3c7e40b710d04926 SHA512 0854a7e29a5be758694f443bca4a0c09782e1996dd0ce3079bcef4be481ef2e0efb3652cd02bb99ff9ac9dcaf3c20fdc10fd1ed90b2ad92e0ff1027320fe206e WHIRLPOOL 752470a21dc55433a82695550fc41f4f5bc9154ae5382d9b489b6ad48fccf06f020fa465cdf00ccbf51657cc28569230adc695ad075bbc64623fac7e93d7d5c9
diff --git a/sys-block/zram-init/zram-init-2.2.ebuild b/sys-block/zram-init/zram-init-2.3.ebuild
index fd582cc6..2456cd12 100644
--- a/sys-block/zram-init/zram-init-2.2.ebuild
+++ b/sys-block/zram-init/zram-init-2.3.ebuild
@@ -4,7 +4,7 @@
EAPI=5
RESTRICT="mirror"
-inherit eutils vcs-snapshot
+inherit eutils systemd vcs-snapshot
DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zram"
HOMEPAGE="https://github.com/vaeth/zram-init/"
@@ -23,13 +23,16 @@ src_install() {
dosbin sbin/*
doinitd openrc/init.d/*
doconfd openrc/conf.d/*
+ systemd_dounit systemd/system/*
+ insinto /etc/modprobe.d
+ doins etc/modprobe.d/*
insinto /usr/share/zsh/site-functions
doins zsh/*
}
pkg_postinst() {
- elog
elog "To use zram, activate it in your kernel and add it to default runlevel:"
- elog "rc-config add zram default"
- elog
+ 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"
}