<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 11, 2023 at 3:07 PM James <<a href="mailto:jam@tigger.ws">jam@tigger.ws</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><br><div><br><blockquote type="cite"><div>On 11 May 2023, at 7:19 pm, James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>> wrote:</div><br><div><div dir="ltr">So if I build the mythtv packages for Debian per:<div><a href="https://www.mythtv.org/wiki/Installing_MythTV_on_Debian" target="_blank">https://www.mythtv.org/wiki/Installing_MythTV_on_Debian</a><br></div><div><br></div><div>Except use the following script to to install the packages:</div><div><br></div><div><font style="box-sizing:border-box;font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)" color="#007777">#! /bin/bash<br style="box-sizing:border-box"></font><font style="box-sizing:border-box;font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)" color="#660066"></font><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"></span><br style="box-sizing:border-box;color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">rm /usr/share/my_mythtv_repo/*</span><br style="box-sizing:border-box;color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">mv ./*.deb /usr/share/my_mythtv_repo</span><br style="box-sizing:border-box;color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">mv ./*.dsc /usr/share/my_mythtv_repo</span><br style="box-sizing:border-box;color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">mv ./*.changes /usr/share/my_mythtv_repo</span><br style="box-sizing:border-box;color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">cd /usr/share/my_mythtv_repo</span><br style="box-sizing:border-box;color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz</span><br></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><br></span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">That works, but what is the process to update mythtv?  Is it something like?:</span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><br></span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">git pull</span></div><div><font face="Lato, Arial, sans-serif" color="#4f4c49"><span style="font-size:14px;background-color:rgb(246,246,246)">build-debs.sh</span></font></div><div><font face="Lato, Arial, sans-serif" color="#4f4c49"><span style="font-size:14px;background-color:rgb(246,246,246)">rerun the script above</span></font></div><div><font face="Lato, Arial, sans-serif" color="#4f4c49"><span style="font-size:14px;background-color:rgb(246,246,246)">sudo apt update && sudo apt upgrade</span></font></div></div></div></blockquote></div></div></blockquote><div><br></div><div>Yes, that's the way to go.</div><div>Additionally, I provide these packages to all of my frontends for installation.</div><div>They run the same OS version.<br></div><div><br></div><div>Consider to move the build process into a dedicated "chroot" environment or to a VM.</div><div>This reduces the amount of installed packages on the production server and provides <br></div><div>additional security.<br></div><div>Programs like "fakeroot" should not be installed globally on a production system.<br></div><div><br></div><div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div></div><div>Jim as I opined, building packages is just hard work and a waste of time (sure we are just having fun) but I find other things more interesting so I do </div><div>$ make -j 9 (cores + 1)</div>$ sudo make install<div>whenever you need to update</div><div>$ git pull</div><div>make n make install</div><div><br></div><div>James</div></div></blockquote><div><br></div><div><br></div><div>At least for Debian bookworm and python 3.11+, you probably will run into problems:<br></div><div>See this entry on the mailing list:<br></div><div><a href="http://lists.mythtv.org/pipermail/mythtv-dev/2023-March/079515.html">http://lists.mythtv.org/pipermail/mythtv-dev/2023-March/079515.html</a></div><div>or on gossamer threads:</div><div><a href="https://lists.archive.carbon60.com/mythtv/dev/643423">https://lists.archive.carbon60.com/mythtv/dev/643423</a></div><div><br></div><div>Roland<br></div></div></div>