User:Zavex/Setup
From MythTV Official Wiki
This is a page I am using to document setting up Mythbuntu 8.04
- Install mythbuntu from live CD
- Database
- restore database backup
- drop upnp table that is preventing database from upgrading successfully
- upgrade database using mythtv-setup
- Fix permissions on /myth directories
- Build and install packages
- Apply User:Zavex/patches to source packages from apt
- time dpkg-buildpackage -rfakeroot -us -uc -b
- install patched packages
- update sudoers file
- add line
%mythtv ALL=(root)NOPASSWD:/myth/scripts/setwakeuptime.sh,/sbin/halt,/usr/sbin/ntpdate,/etc/init.d/mythtv-backend,/usr/bin/ionice
- add line
- Fix startup and shutdown ACPI_Wakeup
- Fix hwclock update for fussy bios, modify
/etc/init.d/hwclock.sh
- Fix hwclock update for fussy bios, modify
- update lircrc file
- star and hash buttons
- modify /usr/bin/mythfrontend to configure mythwelcome to start
MYTHWELCOME=true
- disable powerbutton edit
/etc/acpi/powerbtn.sh
- enable WOL ([1])
- set backend to run with realtime ionice priority
- enable hdhomerun to be found on startup
- disable ubuntu roaming mode on the wired network so the network starts on boot and mythbackend can find hdhomerun
- Modify
/etc/init/mythtv-backend
adding following during start section
n=1 while [ "$(hdhomerun_config discover)" = "no devices found" -a $n -lt 30 ] do
echo "hdhomerun not found, retry $n" n=n+1 sleep 1
done