wok-next diff linux-zram/receipt @ rev 17784
Fix: disable llvm compiler version check
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Mar 14 21:36:00 2015 +0000 (2015-03-14) |
parents | db5b03f42dd9 |
children | 08cf996a2307 |
line diff
1.1 --- a/linux-zram/receipt Wed Jan 29 09:56:07 2014 +0100 1.2 +++ b/linux-zram/receipt Sat Mar 14 21:36:00 2015 +0000 1.3 @@ -32,7 +32,9 @@ 1.4 # Post install/remove commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 - chroot "$root/" depmod -a $VERSION-slitaz 1.8 + chroot "$root/" depmod -a $VERSION-slitaz && 1.9 + RAM=`cat /proc/meminfo | grep MemTotal | sed s/[^0-9]//g` && 1.10 + echo "SIZE_KB="$(($RAM/2)) > /etc/compcache.conf 1.11 } 1.12 1.13 post_remove()