Last active
March 27, 2016 07:28
-
-
Save ioistired/8dfbf14a76932fcc17cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/use/bin/env sh | |
# http://www.mobileread.com/forums/showthread.php?t=118472 | |
#First, remount root as read/write | |
mntroot rw | |
cd /opt | |
feed=http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable | |
wget $feed/ipkg-opt_0.99.163-10_arm.ipk | |
tar -xOvzf ipkg-opt_0.99.163-10_arm.ipk ./data.tar.gz | tar -C / -xzvf - | |
mkdir -p /opt/etc/ipkg | |
echo "src cross $feed" > /opt/etc/ipkg/feeds.conf | |
# Usage (with nano as example) | |
export PATH=$PATH:/opt/bin | |
ipkg update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment