I found that the default Locale was set to ISO and that needs to be changed to UTF-8 for the ansible script to work correctly. Use the GUI version of the Raspberry PI Configuration app to change it.
We need to setup the dependencies and clone the repositories. You can get the background by looking at some MythTV wiki pages, but I'll give the instructions to follow from those pages.
https://www.mythtv.org/wiki/Build_from_Source
https://github.com/MythTV/packaging/tre ... /deb-light
https://github.com/MythTV/ansible
Get the dependencies:
Code: Select all
sudo apt install git ansible
git clone https://github.com/MythTV/ansible
cd ansible
./mythtv.yml --limit=localhost
cd
Code: Select all
mkdir ~/build
cd build
git clone https://github.com/MythTV/mythtv.git mythtv
cd mythtv
git checkout fixes/33
Code: Select all
cd ~/build
git clone https://github.com/MythTV/packaging.git
cd packaging
git checkout fixes/33
Code: Select all
~/build/packaging/deb-light/package.sh
Code: Select all
cd ~/build/mythtv/mythtv
../../packaging/deb-light/build_package.sh
Go get a beer while it compiles. It could take a while (1 hour 56 minutes on RPI4 overclocked to 2.0Ghz), so maybe several beers.
Code: Select all
cd ../..
Code: Select all
sudo apt install ./mythtv-light_33.1-12-gc4b7e4c433-0_arm64_bullseye.deb
I've found that you can avoid any install warnings by doing the following. After the .deb file is built you can perform these steps:
Code: Select all
sudo mkdir /usr/share/my_mythtv_repo
Code: Select all
sudo nano build_my_mythtv_repo.sh
Code: Select all
#! /bin/bash
rm /usr/share/my_mythtv_repo/*.
cp ./*.deb /usr/share/my_mythtv_repo
cd /usr/share/my_mythtv_repo
dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
Code: Select all
cd ~/build
sudo ./build_my_mythtv_repo.sh
Create /etc/apt/sources.list.d/my_mythtv_repo.list
Code: Select all
deb [trusted=yes] file:/usr/share/my_mythtv_repo ./
Code: Select all
sudo apt update
sudo apt install mythtv-light