2013-10-09, 21:33
Hi apnar.
If you are still around, could you take a look and explain what is failing (and how to fix it) now in your excellent OpenELEC script...
Where it fails.
Original script...
If you are still around, could you take a look and explain what is failing (and how to fix it) now in your excellent OpenELEC script...
Where it fails.
Code:
inflating: xbmc-pvr-addons-master/xbmc/xbmc_vis_types.h
mv: invalid option -- '.'
Try 'mv --help' for more information.
md5sum: sources//-.tar.xz: No such file or directory
Original script...
Quote:There are a few ways to skin the cat for this one. I thought I'd share a small shell script I use to inject the latest cmyth into OpenELEC source. It's not as clean as the method suggested above, but there is no need for an http server and it can be easily run as a single script:
Code:
#!/bin/bash
# change path to where you keep your git clone
cd /tank/xbmc/openelec-git/OpenELEC.tv
source ./packages/mediacenter/xbmc-pvr-addons/meta
if [ ! -d ./sources/$PKG_NAME/ ]; then
mkdir -p ./sources/$PKG_NAME/
fi
wget --no-check-certificate https://github.com/fetzerch/xbmc-pvr-addons/archive/master.zip
unzip master.zip
mv xbmc-pvr-addons-master $PKG_NAME-$PKG_VERSION
tar -cJf $PKG_NAME-$PKG_VERSION.tar.xz $PKG_NAME-$PKG_VERSION
rm -r $PKG_NAME-$PKG_VERSION master.zip
mv $PKG_NAME-$PKG_VERSION.tar.xz ./sources/$PKG_NAME/
md5sum sources/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.xz > sources/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.xz.md5
echo "http://sources.openelec.tv/devel/$PKG_NAME-$PKG_VERSION.tar.xz" > ./sources/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.xz.url
rm -rf ./build.OpenELEC*/.stamps/xbmc-pvr-addons ./build.OpenELEC*/xbmc-pvr-addons-* ./build.OpenELEC*/image/.stamps/xbmc-pvr-addons