Difference between revisions of "User:Zavex/Setup"

From MythTV Official Wiki
Jump to: navigation, search
m
m
Line 7: Line 7:
 
##upgrade database using mythtv-setup
 
##upgrade database using mythtv-setup
 
# Fix permissions on /myth directories
 
# Fix permissions on /myth directories
# apt-get source mythtv
 
 
# Build and install packages
 
# Build and install packages
#* Apply [[User:Zavex/patches]]
+
#* Apply [[User:Zavex/patches]] to source packages from apt
 
#* time dpkg-buildpackage -rfakeroot -us -uc -b
 
#* time dpkg-buildpackage -rfakeroot -us -uc -b
 
#* install patched packages
 
#* install patched packages
Line 16: Line 15:
 
# Fix startup and shutdown [[ACPI_Wakeup]]
 
# Fix startup and shutdown [[ACPI_Wakeup]]
 
#* Fix hwclock update for fussy bios, modify <code>/etc/init.d/hwclock.sh</code>  
 
#* Fix hwclock update for fussy bios, modify <code>/etc/init.d/hwclock.sh</code>  
<pre>
+
#update lircrc file
      stop|restart|reload|force-reload)
+
#modify /usr/bin/mythfrontend to configure mythwelcome to start
 
+
#*<pre>MYTHWELCOME=true</pre>
==>        ACPITIME=`cat /proc/acpi/alarm`
 
                if [ "$HWCLOCKACCESS" != no ]
 
                then
 
                    if [ "$VERBOSE" != no ]
 
                    then
 
                        echo "Saving the System Clock time to the Hardware Clock..."
 
                    fi
 
                    [ "$GMT" = "-u" ] && GMT="--utc"
 
                        /sbin/hwclock --systohc $GMT $BADYEAR
 
                    if [ "$VERBOSE" != no ]
 
                    then
 
                        echo "Hardware Clock updated to `date`."
 
                    fi
 
==>              echo "$ACPITIME" > /proc/acpi/alarm
 
</pre>
 

Revision as of 19:59, 31 May 2008

This is a page I am using to document setting up Mythbuntu 8.04

  1. Install mythbuntu from live CD
  2. Database
    1. restore database backup
    2. drop upnp table that is preventing database from upgrading successfully
    3. upgrade database using mythtv-setup
  3. Fix permissions on /myth directories
  4. Build and install packages
    • Apply User:Zavex/patches to source packages from apt
    • time dpkg-buildpackage -rfakeroot -us -uc -b
    • install patched packages
  5. 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
  6. Fix startup and shutdown ACPI_Wakeup
    • Fix hwclock update for fussy bios, modify /etc/init.d/hwclock.sh
  7. update lircrc file
  8. modify /usr/bin/mythfrontend to configure mythwelcome to start
    • MYTHWELCOME=true