lirc-modules-source package doesn't install the /etc/lirc/lirc-modules-source.conf file.

Bug #28941 reported by Yann Rouillard
26
Affects Status Importance Assigned to Milestone
lirc (Ubuntu)
Fix Released
Medium
Mario Limonciello

Bug Description

The lirc-modules-source.conf postinstall script is incorrect and doesn't install the /etc/lirc/lirc-modules-source.conf file used during module compilation.

see bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342568

The last debian version partially corrects this problem but doesn't work when the /etc/lirc doesn't exist prior to the package installation.

This will be probably be solved in next debian package that we will need to merge.

Changed in lirc:
assignee: nobody → motu
Revision history for this message
Michael Heča (orgoj) wrote :

Confirm in lirc-modules-source 0.7.1pre2-11ubuntu1 on i386.

I think in lirc-modules-source.postinst need to invert file check to:
if [ "$1" = "configure" ] && [ ! -f /etc/lirc/$package.conf ]; then

lirc-modules-source.postrm contain duplicite content.

Changed in lirc:
status: Unconfirmed → Confirmed
Revision history for this message
DiCiCat (dicicat) wrote :

I confirm that the compilation of lirc modules is impossible with actual ubuntu lirc-module-source package.
Compilation is possible, without any other modifications, with the lirc-module-source 0.8.0-3 of the debian unstable.

Revision history for this message
Yann Rouillard (yann-pleiades) wrote :

the debian package is fine except for the lirc_gpio driver which doesn't compile correctly with the ubuntu kernel. I made the necessary modification and uploaded the package to revu. see bug #35456

Revision history for this message
Wiktor Grebla (greblus) wrote :

@Yann: I'm still using your package taken from revu. It builds fine using m-a, no kernel sources needed. The one which was recently backported (0.8.0-9) I'm unable to build. I've lost my patience...

The only annoying thing about your package is that I had to mark it "on hold", otherwise autoupdate wanted to update it :), but it's simple enough to fix.

Lirc is really an unfortunate package in Dapper. Well (IMHO) Dapper is a bit unfortunate/stagnant/unloved, but it's just my oppinion, hopefully the next
LTS will be in a better shape).

Revision history for this message
Yann Rouillard (yann-pleiades) wrote :

@Wiktor: I'm glad that at least someone use my package, I didn't work for nothing !

I agree with you for Dapper, unfortunately I am already on edgy, and personnaly I still don't have time to try to improve the lirc-modules-source package in dapper and to try to convince some MOTU to upload it.

Revision history for this message
Kees Cook (kees) wrote :

This appears to be fixed in edgy.

Changed in lirc:
assignee: motu → keescook
status: Confirmed → Fix Released
Revision history for this message
laga (laga) wrote :

As pointed out in bug #28941 by darthanubis (thanks!), this is still an issue. I have just been able to reproduce it by moving /etc/lirc away and running sudo m-a lirc-modules-source using the lirc-modules-source package found in gutsy.

Changed in lirc:
assignee: keescook → superm1
status: Fix Released → Confirmed
Revision history for this message
laga (laga) wrote :

Duh.

It's quiet normal that it stops working once I remove the config file, huh?

Please ignore my changes..

Changed in lirc:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.