[mythtv-users] MobileMyth v.7 Released - Better Late Than Never
Jon Heizer
jheizer at gmail.com
Sat Nov 8 22:38:20 UTC 2014
On Sat, Nov 8, 2014 at 10:05 AM, Eric Sharkey <eric at lisaneric.org> wrote:
> On Sat, Nov 8, 2014 at 2:09 AM, Jon Heizer <jheizer at gmail.com> wrote:
> > BUT I do not seem to get along with packaging at all. Everything is
> working
> > perfectly except on single files fails to copy. No idea why. :wall:
>
> I'm not following you, Jon. What failed?
>
> Other than the problems with dependent packages, I haven't had any
> issues using the .deb you provided.
>
> Eric
>
Since then I decided to do 2 things.
1. Changed where things install: Instead of just dumping to /var/www/ the
site goes to /usr/share/mobilemyth/web/, configs to /etc/mobilemyth and
logs to /var/log/mobilemyth. With this I can also peel out the cron jobs
where I have told people to make curl requests to certain pages and make
them proper stand alone executables than can sit in /usr/share/mobilemyth.
2. Changed over to use dpkg-buildpackage vs rolling my own with my own
scripts. I was hoping this would help me doing things more correct and
efficiently.
So have have all the code changes and packaging setup to handle all the
different directories and such and everything works except I end up with an
empty /etc/mobilemyth directory. No apache.conf. I played with it for
about 4 hours last night trying to figure out what I was doing wrong
without luck.
The debian/install consists of
src/etc/mobilemyth/ etc
src/usr/share/mobilemyth/ usr/share
src/var/log/mobilemyth/ var/log
I've tried a billion variations. Some of them I end up with apache.conf in
a directory of apache.conf.
I can see that when I run dpkg-buildpackage that it is copying the
apache.conf from the source directory into it's copy in the correct
location ( debian/mobilemyth/etc/mobilemyth/apache.conf
). I also see that it is adding it as an entry
under debian/mobilemyth/DEBIAN/conffiles not sure if that is causing it to
break or what.
In summary I took something that was pretty much working and made a mess of
it all.
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20141108/62243bb4/attachment.html>
More information about the mythtv-users
mailing list