wok-6.x diff slitaz-loram/receipt @ rev 5002
[h-k]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 15:46:04 2010 +0100 (2010-02-28) |
parents | d9ddcc6d973c |
children | fa0257184d3c |
line diff
1.1 --- a/slitaz-loram/receipt Sun Nov 08 12:55:54 2009 +0100 1.2 +++ b/slitaz-loram/receipt Sun Feb 28 15:46:04 2010 +0100 1.3 @@ -50,7 +50,7 @@ 1.4 $i echo -n "only... " 1.5 $i fi 1.6 $i FREEMEM=\$(free | awk '{ n = \$NF } END { print n }') 1.7 -$i if grep -q " extract-loram" /proc/cmdline && [ \$FREEMEM -gt \\ 1.8 +$i if ! grep -q " keep-loram" /proc/cmdline && [ \$FREEMEM -gt \\ 1.9 $i \$(du -s \$FS | awk '{ print (\$1*4)+40000 }') ]; then 1.10 $i echo -n "Extracting loram..." 1.11 $i . /etc/tazlito/loram.extract 1.12 @@ -95,6 +95,10 @@ 1.13 post_install() 1.14 { 1.15 set_patch "$1" 1.16 + cat <<EOF 1.17 +---- 1.18 +'tazlito gen-distro' will create a loram flavor while this package is installed. 1.19 +EOF 1.20 if [ ! -x $1/bin/funionfs -a ! -d $1/var/lib/tazpkg/installed/aufs ]; then 1.21 cat <<EOF 1.22 ---- 1.23 @@ -113,4 +117,8 @@ 1.24 pre_remove() 1.25 { 1.26 set_patch '' -R 1.27 + cat <<EOF 1.28 +---- 1.29 +'tazlito gen-distro' will work as expected now. 1.30 +EOF 1.31 }