wok diff linux64-zram/receipt @ rev 23454

updated pulseaudio packages (12.2 -> 13.0)
author Hans-G?nter Theisgen
date Fri Apr 03 13:36:20 2020 +0100 (2020-04-03)
parents 86790a278e70
children f1020832b94b
line diff
     1.1 --- a/linux64-zram/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/linux64-zram/receipt	Fri Apr 03 13:36:20 2020 +0100
     1.3 @@ -21,8 +21,7 @@
     1.4  	install=$install/linux64
     1.5  	path=lib/modules/$VERSION-slitaz64/kernel
     1.6  	mkdir -p $fs/$path $fs/etc/init.d
     1.7 -	export src
     1.8 -	export install
     1.9 +	export src install
    1.10  	$wanted_stuff/list_modules.sh drivers/block/zram | \
    1.11  	while read module; do
    1.12  		dir=$path/$(dirname $module)
    1.13 @@ -37,12 +36,9 @@
    1.14  post_install()
    1.15  {
    1.16  	chroot "$root/" depmod -a $VERSION-slitaz64
    1.17 -	cat <<EOT
    1.18 -
    1.19 -You can add compressed swap according /etc/compcache.conf configuration with:
    1.20 -# /etc/init.d/compcache start
    1.21 -Or add compcache in the RUN_DAEMONS list of /etc/rcS.conf.
    1.22 -EOT
    1.23 +	grep ^RUN_DAEMONS "$1/etc/rcS.conf" | grep -q "compcache" || sed -i \
    1.24 +	  's/RUN_DAEMONS="/RUN_DAEMONS="compcache /' "$1/etc/rcS.conf"
    1.25 +	[ -z "$1" ] && /etc/init.d/compcache start
    1.26  }
    1.27  
    1.28  post_remove()