Since I'm using many hours playing around (and using MythTV) I write this script to automatic update to latest source from git repo, and afterwards compiling a fresh install without resetting the settings.
Basicly I've created a script for my Backendserver and livingroom(64bit distro) and other rooms(32bit distro) - which can be downloadet here:
| mythbuild |
mythbuild_64 |
Its actually quite simple - but using NFS - I've called the script from the NAS each machines depending on the OS architechture, having the build placed under /root/mythtv. But the scripts is like this:
| # Go to dir cd /root/mythtv # update files. git pull # Build MythTV cd mythtv # Clearing Dist make distclean # building from scratch ./configure --prefix=/usr --enable-mmx --enable-audio-oss --enable-audio-alsa --disable-audio-jack --disable-audio-pulse --disable-altivec --disable-distcc --disable-ccache --enable-vdpau --enable-dvb --dvb-path=/usr/include --enable-lirc --enable-joystick-menu --enable-v4l --enable-ivtv --enable-xvmc --enable-xvmcw --enable-xvmc-vld --enable-firewire --enable-opengl-vsync --enable-xrandr --enable-xv --enable-x11 --with-bindings=perl,python --python=python2 && make -j 4 && make install # Finished building - go to plugins cd ../mythplugins/ # Clearing up the old installs files make dist-clean # Building from scratch ./configure --prefix=/usr --enable-all --enable-mytharchive --enable-mythbrowser --enable-mythgallery --enable-mythgame --enable-mythmusic --enable-mythnews --enable-mythvideo --enable-mythweather --enable-mythzoneminder && make -j 4 && make install # Finshing echo "finished building MyhtTV + Plugins" |