wok diff linux-zram/receipt @ rev 18743
linux*zram: add CONFIG_FILES
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 25 17:07:16 2015 +0100 (2015-12-25) |
parents | 08cf996a2307 |
children | 4197dd116ba7 |
line diff
1.1 --- a/linux-zram/receipt Mon Aug 17 11:03:13 2015 +0200 1.2 +++ b/linux-zram/receipt Fri Dec 25 17:07:16 2015 +0100 1.3 @@ -7,6 +7,7 @@ 1.4 MAINTAINER="devel@slitaz.org" 1.5 LICENSE="GPL2" 1.6 WEB_SITE="http://www.kernel.org/" 1.7 +CONFIG_FILES="/etc/compcache.conf" 1.8 WANTED="linux" 1.9 PROVIDE="compcache" 1.10 1.11 @@ -35,6 +36,13 @@ 1.12 chroot "$root/" depmod -a $VERSION-slitaz && 1.13 RAM=`cat /proc/meminfo | grep MemTotal | sed s/[^0-9]//g` && 1.14 echo "SIZE_KB="$(($RAM/2)) > /etc/compcache.conf 1.15 + cat <<EOT 1.16 +You can add compressed swap according /etc/compcache.conf configuration with: 1.17 + 1.18 +# /etc/init.d/compcache start 1.19 + 1.20 +Or add compcache in the RUN_DAEMONS list of /etc/rcS.conf. 1.21 +EOT 1.22 } 1.23 1.24 post_remove()