I just tried following the instructions at
http://wiki.debian.org/DebianOnFreeRunner to install Debian on my
Freerunner. Unfortunately it seems the version of tar/BusyBox in FSO M5
doesn't support the -z option so gunzip needs to be called explicitly:
r...@om-gta02:~# tar -v
BusyBox v1.13.2 (2009-02-02 16:15:04 UTC) multi-call binary
Usage: tar -[cxtvO] [-X FILE] [-f TARFILE] [-C DIR] [FILE(s)]...
The patch to fix this is:
--- install.sh.orig Tue Feb 3 20:40:26 2009
+++ install.sh Tue Feb 3 20:37:43 2009
@@ -306,7 +306,7 @@
echo "Downloading dosfstools package"
wget $DOSFSTOOLS_PACKAGE -O /tmp/dosfstools.deb
( cd /tmp; ar -x dosfstools.deb data.tar.gz )
- tar -xz -C / -f /tmp/data.tar.gz
+ gunzip -c /tmp/data.tar.gz | tar -x -C /
rm -f /tmp/data.tar.gz
rm -f /tmp/dosfstools.deb
fi
@@ -468,7 +468,7 @@
echo " * Downloading cdebootstrap package"
wget $CDEBOOTSTRAP_PACKAGE -O /tmp/cdebootstrap.deb
( cd /tmp; ar -x cdebootstrap.deb data.tar.gz )
-tar -xz -C / -f /tmp/data.tar.gz
+gunzip -c /tmp/data.tar.gz | tar -x -C /
rm -f /tmp/data.tar.gz
rm -f /tmp/cdebootstrap.deb
The installation now gets further but fails later on because it tries
to use -z again - the solution was to replace /bin/tar with the version
from http://packages.debian.org/sid/armel/tar/download .
--
Bruce Cran
_______________________________________________
smartphones-standards mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-standards