summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2011-02-08 16:32:42 (GMT)
committer Jaromil <jaromil@dyne.org>2011-02-08 16:32:42 (GMT)
commit25e451fda7de98fa54b5b5c3d51ab8ad58af7fc2 (patch)
treee6326ae691b27e83b2aaf0ec2862ee10467f721b
parentf6e555b041c6c38da6beda40e74affcfbf6c6dbe (diff)
fixed missing libdl issue using opt.bin provided by B-Rad
-rwxr-xr-xtools/optware/assemble-app-bin.sh3
-rw-r--r--tools/optware/opt.tar.gzbin0 -> 540314 bytes
-rwxr-xr-xtools/optware/optware-install.sh10
3 files changed, 8 insertions, 5 deletions
diff --git a/tools/optware/assemble-app-bin.sh b/tools/optware/assemble-app-bin.sh
index fe2246a..b29918c 100755
--- a/tools/optware/assemble-app-bin.sh
+++ b/tools/optware/assemble-app-bin.sh
@@ -41,12 +41,13 @@ cp -v optware-*.sh $appdir/bin &&
cp -v wget $appdir/bin &&
cp -v ipkg.conf $appdir/etc &&
cp -v S99optware $appdir/etc/init.d &&
+cp -v opt.tar.gz $appdir
chmod a+x $appdir/etc/init.d/S99optware &&
cp -v README $appdir &&
sudo chown -R root:root $appdir
-dd if=/dev/zero of=$imagefile bs=1K count=256 &&
+dd if=/dev/zero of=$imagefile bs=1K count=1024 &&
/sbin/mkfs.ext3 -F $imagefile &&
/sbin/tune2fs -c 0 -i 0 $imagefile &&
mkdir -p $loopdir &&
diff --git a/tools/optware/opt.tar.gz b/tools/optware/opt.tar.gz
new file mode 100644
index 0000000..512b777
--- /dev/null
+++ b/tools/optware/opt.tar.gz
Binary files differ
diff --git a/tools/optware/optware-install.sh b/tools/optware/optware-install.sh
index 38ddd25..f1098aa 100755
--- a/tools/optware/optware-install.sh
+++ b/tools/optware/optware-install.sh
@@ -63,8 +63,10 @@ else
mount -o bind $USBROOT/opt /opt
fi
-install_package uclibc-opt_0.9.28-2_mipsel.ipk
-install_package ipkg-opt_0.99.163-10_mipsel.ipk
+# install_package uclibc-opt_0.9.28-2_mipsel.ipk
+# install_package ipkg-opt_0.99.163-10_mipsel.ipk
+
+tar xvzf /apps/wdlxtv_optware/opt.tar.gz -C /opt/
cp /apps/wdlxtv_optware/etc/ipkg.conf /opt/etc/ipkg.conf
@@ -72,8 +74,8 @@ export PATH=/apps/wdlxtv_optware/bin:/opt/bin:/opt/sbin:/bin
export LD_LIBRARY_PATH=/opt/lib:/opt/usr/lib
/opt/bin/ipkg update
-/opt/bin/ipkg -force-reinstall install uclibc-opt
-/opt/bin/ipkg -force-reinstall -force-defaults install ipkg-opt
+# /opt/bin/ipkg -force-reinstall install uclibc-opt
+# /opt/bin/ipkg -force-reinstall -force-defaults install ipkg-opt
optware-mount.sh