Try this script outside of scratchbox:
Code:
#!/bin/bash
if [[ "${1}" != "arm" && "${1}" != "i386" ]] ; then
echo 'Please specify arch: "arm" or "i386"' ;
exit 1;
fi
TARGET=${1}-F-$(date +"%V-%u")
if [[ $(expr match ${TARGET} "arm") -ne "0" ]] ; then
/scratchbox/login sb-conf st ${TARGET} -c cs2007q3-glibc2.5-arm7 -d debian-etch:perl:qemu -t qemu-arm-sb ;
/scratchbox/login sb-conf rootstrap ${TARGET} http://repository.maemo.org/stable/5.0/armel/maemo-sdk-rootstrap_5.0_armel.tgz ;
else
/scratchbox/login sb-conf st ${TARGET} -c cs2007q3-glibc2.5-i486 -d debian-etch:perl -t none ;
/scratchbox/login sb-conf rootstrap ${TARGET} http://repository.maemo.org/stable/5.0/i386/maemo-sdk-rootstrap_5.0_i386.tgz ;
fi
/scratchbox/login sb-conf select ${TARGET}
/scratchbox/login sb-conf install --etc --devkits
Note, you have to add binaries repository separately after running the script:
http://tablets-dev.nokia.com/eula/index.php