# HG changeset patch # User Christophe Lincoln # Date 1331865924 -3600 # Node ID 461c9664ef912e5a8e16aac6c0a71bf5fc88853c # Parent a2dbd6ef11fd7f4e8b533ce36d7b70f1fcb5b4bd cook fix stdr redirection and dont use script in cookiso diff -r a2dbd6ef11fd -r 461c9664ef91 cook --- a/cook Fri Mar 16 03:10:54 2012 +0100 +++ b/cook Fri Mar 16 03:45:24 2012 +0100 @@ -1085,7 +1085,7 @@ echo "Cook pkgdb: Creating all flavors" | log separator gettext -e "Recharging lists to use latest packages...\n" - tazpkg recharge 2>1 >/dev/null + tazpkg recharge >/dev/null 2>/dev/null # We need a custom tazlito config to set working dir to /home/slitaz. if [ ! -f "$live/tazlito.conf" ]; then diff -r a2dbd6ef11fd -r 461c9664ef91 cookiso --- a/cookiso Fri Mar 16 03:10:54 2012 +0100 +++ b/cookiso Fri Mar 16 03:45:24 2012 +0100 @@ -129,7 +129,8 @@ tazlito pack-flavor $flavor | tee -a $log tazlito get-flavor $flavor | tee -a $log # BUG: script sometimes screws up conspy on Tank - script -c "yes '' | tazlito gen-distro" -a $log + #script -c "yes '' | tazlito gen-distro" -a $log + yes '' | tazlito gen-distro 2&>1 | tee -a $log # Rename ISO and md5 mv -f $SLITAZ/distro/slitaz-$flavor.iso $iso/$name.iso cd $iso && md5sum $name.iso > $name.md5 @@ -145,7 +146,7 @@ do rsync $BWLIMIT -vtP -e "$SSH_CMD" \ $iso/slitaz-$string-$flavor.* \ - ${SSH_HOST}:$SSH_ISO/$string | tee $synclog + ${SSH_HOST}:$SSH_ISO/$string 2>&1 | tee $synclog done }