- To: Michael Krufky <mkrufky@xxxxxxxxxxx>
- Subject: Re: [linuxtv-commits] [hg:v4l-dvb] Improve make install to work properly with a distro that use non-standard dir for V4L/DVB modules
- From: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
- Date: Thu, 30 Oct 2008 07:00:15 -0200 (BRST)
- In-reply-to: <4903BBEB.4070103@xxxxxxxxxxx>
- User-agent: Alpine 2.00 (LFD 1167 2008-08-23)
On Sat, 25 Oct 2008, Michael Krufky wrote:
> Mauro,
>
> I did a fresh hg clone of the master branch. I built the entire tree, so all
> drivers were compiled. Still, not all of the modules were removed.
I can't see why it did a partial removal of the modules, provided that you
had compiled everything.
You need to check if the proper lines to remove those modules were
properly generated. To do this, you should do:
$ grep find v4l/Makefile.media
The better is if you try to fix the line at the Makefile.media, then
backport the changes into the script that generates it.
>
> You asked for the output of "make rminstall" ... output follows:
> After the above, these are the modules that still remain in ubuntu/media:
> /lib/modules/2.6.24-21-generic/ubuntu/media
> /lib/modules/2.6.24-21-generic/ubuntu/media/sms1xxx
> /lib/modules/2.6.24-21-generic/ubuntu/media/cx88
> /lib/modules/2.6.24-21-generic/ubuntu/media/gspcav1
> /lib/modules/2.6.24-21-generic/ubuntu/media/usbvideo
> /lib/modules/2.6.24-21-generic/ubuntu/media/saa7134
> /lib/modules/2.6.24-21-generic/ubuntu/media/quickcam
> /lib/modules/2.6.24-21-generic/ubuntu/media/au0828
> /lib/modules/2.6.24-21-generic/ubuntu/media/ov511
> /lib/modules/2.6.24-21-generic/ubuntu/media/stk11xx
The script won't remove the old directories, even if they're empty.
> /lib/modules/2.6.24-21-generic/ubuntu/media/gspcav1/gspca.ko
This won't be removed, since there's no module named "gspca.ko"
with gspca v2.
In this specific case, maybe we could add the previous locations of the
old gspca at obsolete.txt, in a way that module removal will happen with
other distros as well.
I'm not sure how easy is this, since I think some versions of gspca also
have a subdir under drivers/media/video/gspca and some
modules, while other versions used to be at drivers/media/video.
Maybe we might need to check also on the previous locations, like
drivers/usb.
Hmm... maybe an specific find rule for gspca? This requires more
discussion.
> /lib/modules/2.6.24-21-generic/ubuntu/media/quickcam/quickcam.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/ov511/ov511_decomp.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/ov511/ov518_decomp.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/stk11xx/stk11xx.ko
Those drivers don't exist with the above names on V4L/DVB tree. Probably,
they are merging some out-of-tree drivers.
> /lib/modules/2.6.24-21-generic/ubuntu/media/sms1xxx/sms1xxx.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/usbvideo/uvcvideo.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/au0828/au0828.ko
I can find those 3 files at the removal script generated on my
Makefile.media. You'll need to play with the script to understand what's
going wrong.
Cheers,
Mauro
_______________________________________________
v4l-dvb-maintainer mailing list
v4l-dvb-maintainer@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/v4l-dvb-maintainer
[Linux Media]
[Older V4L]
[Linux DVB]
[Video Disk Recorder]
[Asterisk]
[Photo]
[DCCP]
[Netdev]
[Xorg]
[Util Linux NG]
[Xfree86]
[Free Photo Albums]
[Fedora Users]
[Fedora Women]
[ALSA Users]
[ALSA Devel]
[SSH]
[Linux USB]
 |
 |
-->