summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/LinHES-config')
-rw-r--r--abs/core/LinHES-config/PKGBUILD10
-rwxr-xr-xabs/core/LinHES-config/install_functions.sh10
-rwxr-xr-xabs/core/LinHES-config/mv_install.py1
-rwxr-xr-xabs/core/LinHES-config/systemconfig.sh11
-rwxr-xr-xabs/core/LinHES-config/timezip.py7
5 files changed, 26 insertions, 13 deletions
diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index 2289196..3821d1b 100644
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=2.2
-pkgrel=21
+pkgrel=27
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
pkgdesc="Install and configure your system"
depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -101,17 +101,17 @@ build() {
install -m 0755 issue $startdir/pkg/etc/issue
}
-md5sums=('c1f6bd445284408767ab8ab4c4164aed'
+md5sums=('c737f8538aea20fcb5f3903957e80837'
'1a4694fcd694b362c339bda781ed0f3e'
'e36da536dd651ef182e7642337889e77'
'985891a43f7c4c983eb2a362162f1a0f'
'd7a8cd4a0060399ae22e69f74e04eb07'
- '7a45287a07145fde5aa664583d4f6fba'
- 'f88d2fb88339a4bf8ec9217a3fbcdef7'
+ 'd705eb26cd25862bf0e84cc9964bd3db'
+ 'c20f73d4da5d7e15e1f3eb85c7dcb49a'
'8ac1cfd2eca0f641737da0d0aca416a7'
'9ae8d79f620c6d19973c55c32a921874'
'95526b4d3dec6c9341088fb6511d831a'
- 'bf32873c56d04c45ff0682f4e345e517'
+ 'ecf9e5df20683a769c4a8a8f2d65de85'
'e459ed069317bccb20351f037a9df3d2'
'83be9a3bc72179909773479c74d13b38'
'6aff504ed5e860adc1b7317cd0780900'
diff --git a/abs/core/LinHES-config/install_functions.sh b/abs/core/LinHES-config/install_functions.sh
index 83a2bed..8f24835 100755
--- a/abs/core/LinHES-config/install_functions.sh
+++ b/abs/core/LinHES-config/install_functions.sh
@@ -148,11 +148,11 @@ if [ $found_remote -eq 1 ]
then
scan_for_hpg_receiver
fi
-printhl " Scanning for TatIR"
-if lsusb | grep 04d8:0004 > /dev/null 2>/dev/null
-then
- /usr/bin/PyroUsb.py > /dev/null 2>&1 &
-fi
+# printhl " Scanning for TatIR"
+# if lsusb | grep 04d8:0004 > /dev/null 2>/dev/null
+# then
+# /usr/bin/PyroUsb.py > /dev/null 2>&1 &
+# fi
if [ $found_remote -eq 1 ]
then
diff --git a/abs/core/LinHES-config/mv_install.py b/abs/core/LinHES-config/mv_install.py
index 9dcc7b7..694a0b8 100755
--- a/abs/core/LinHES-config/mv_install.py
+++ b/abs/core/LinHES-config/mv_install.py
@@ -7,6 +7,7 @@ try:
import parted
except:
print "module parted not found"
+ sys.exit(1)
def usage():
print "help text:"
diff --git a/abs/core/LinHES-config/systemconfig.sh b/abs/core/LinHES-config/systemconfig.sh
index 218f705..dce8c74 100755
--- a/abs/core/LinHES-config/systemconfig.sh
+++ b/abs/core/LinHES-config/systemconfig.sh
@@ -10,6 +10,17 @@ echo "----------------------start of systemconfig $@ ----------------------"
. $MV_ROOT/bin/networkconfig.sh
postfix=`cat ${BASE}/usr/local/share/mythtv/.releasetype`
+for i in larch liblarch larch-profiles larch-live
+do
+ pacman -Q $i
+ if [ $? == 0 ]
+ then
+ pacman -R $i --noconfirm
+ fi
+done
+
+ sed -i '/larch/d' /etc/pacman.conf
+
systemconfig.py -m $@
rc=$?
echo "systemconfig.py exit code $rc"
diff --git a/abs/core/LinHES-config/timezip.py b/abs/core/LinHES-config/timezip.py
index ca20921..4e494be 100755
--- a/abs/core/LinHES-config/timezip.py
+++ b/abs/core/LinHES-config/timezip.py
@@ -106,9 +106,10 @@ def selectvars():
result = cursor.fetchone()
try:
hobbitclient=result[0]
- except TypeError:
+ except:
+ hobbitclient="1"
+ else:
hobbitclient="1"
-
def insertvars():
@@ -184,7 +185,7 @@ def insertvars():
#hobbitclient
cursor.execute("select * from settings where value='HostServiceHobbitclient' and hostname=(%s)",(thishostname))
result = cursor.fetchone()
- if ( tz != ""):
+ if ( hobbitclient != ""):
if (result == None):
cursor.execute("INSERT INTO settings (value,data,hostname) VALUES ('HostServiceHobbitclient',(%s),(%s))",(hobbitclient,thishostname))
print "inserting hobbitcleint"