[atv2] automate nightly build install
#1
Hello,

here an attempt to facilitate latest night build install....

Code:
AppleTV:~ root# cat upgrade.sh

mirror_url=http://mirrors.xbmc.org/nightlies/darwin/atv2

null=$(/usr/bin/wget $mirror_url 2>&1)
$(grep master index.html | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' > index.txt)

namefile=$(head -1 index.txt | cut -f2 -d\ )

while true; do
    read -p "Do you want to upgrade to '$namefile' ?(y/n)" yn
    case $yn in
        [Yy]* ) wget $mirror_url/$namefile ; dpkg -i $namefile ; rm $namefile ; break;;
        [Nn]* ) break ;;
        * ) echo "Please answer yes or no.";;
    esac
done

$(rm index.txt ; rm index.html)

AppleTV:~ root#

It download the index page from mirror web,
then strip the html code and take the first line.
If the proposed selection is accepted the it start the download and finally install the build.

A.

Refence:
http://wiki.xbmc.org/index.php?title=How...Apple_TV_2
Reply
#2
Here's what I'm using:
http://forum.xbmc.org/showthread.php?tid=108142

Best regards,
Durniplot
Reply
#3
durniplot Wrote:Here's what I'm using:
http://forum.xbmc.org/showthread.php?tid=108142

Best regards,
Durniplot

Me too
Reply
#4
Hello,

There is a new "nightly build" out! (2 october 2011).

But this "trick" continues always to install the buid "xbmc-20110930-2138fb0-master-atv2.deb" (second-last line instead last line). Why? Sad

P.S. Sorry for my english.
Reply
#5
A wise man once said:

http://forum.xbmc.org/showpost.php?p=869...stcount=14
Reply
#6
jd2157 Wrote:A wise man once said:

http://forum.xbmc.org/showpost.php?p=869...stcount=14

My problem is that doesn't work manually..

When I try to write: "wget xbmc-20111003-fc543cb-master-atv2.deb" (for example)

I get this message:

" wget xbmc-20111003-fc543cb-master-atv2.deb
--2011-10-03 20:55:50-- http://xbmc-20111003-fc543cb-master-atv2.deb/
Resolving xbmc-20111003-fc543cb-master-atv2.deb... failed: nodename nor servname provided, or not known. "


Why? :confused2: Help!
Reply
#7
Uccio Wrote:My problem is that doesn't work manually..

When I try to write: "wget xbmc-20111003-fc543cb-master-atv2.deb" (for example)

I get this message:

" wget xbmc-20111003-fc543cb-master-atv2.deb
--2011-10-03 20:55:50-- http://xbmc-20111003-fc543cb-master-atv2.deb/
Resolving xbmc-20111003-fc543cb-master-atv2.deb... failed: nodename nor servname provided, or not known. "


Why? :confused2: Help!

no comment

Code:
wget http://mirrors.xbmc.org/nightlies/darwin/atv2/xbmc-20111003-fc543cb-master-atv2.deb
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#8
Uccio Wrote:My problem is that doesn't work manually..

When I try to write: "wget xbmc-20111003-fc543cb-master-atv2.deb" (for example)

I get this message:

" wget xbmc-20111003-fc543cb-master-atv2.deb
--2011-10-03 20:55:50-- http://xbmc-20111003-fc543cb-master-atv2.deb/
Resolving xbmc-20111003-fc543cb-master-atv2.deb... failed: nodename nor servname provided, or not known. "

Take a close look at the instructions and screen shot of the nightly install here:

http://wiki.xbmc.org/index.php?title=Ins...htly_build

It should be fairly easy to see what you're doing wrong, i.e. your wget command isn't right.
Reply

Logout Mark Read Team Forum Stats Members Help
[atv2] automate nightly build install0