diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-25 01:21:57 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-25 01:21:57 -0200 |
commit | 3c1b08410ee59c3b4f2ce840babb09c5a3beebd2 (patch) | |
tree | d5e2f5e02fc0b0dfb61a104cd8089c33798cc5a3 /INSTALL | |
parent | 122f8ca9fc2a1fb872708d4135f09d68585e7f0c (diff) | |
download | mediapointer-dvb-s2-3c1b08410ee59c3b4f2ce840babb09c5a3beebd2.tar.gz mediapointer-dvb-s2-3c1b08410ee59c3b4f2ce840babb09c5a3beebd2.tar.bz2 |
Improve make install to work properly with a distro that use non-standard dir for V4L/DVB modules
From: Mauro Carvalho Chehab <mchehab@redhat.com>
One distro stores kernel/drivers/media files on non-standard dirs.
I can't see any logical rule for, once having the kernel original dir
position, determine were the kernel driver were placed on that distro.
For example, they put xc5000.ko driver inside <foo>/media/au0828,
while the expected place would be something like
<foo>/media/common/tuners.
So, this patch do some tricks, when "make rminstall" or "make install"
is called:
1) detect if it is such distro;
2) if so, it will run something like:
find <foo>/media -name <module.ko> -exec rm '{}' \;
where <module.ko> is the official V4L/DVB name for the compiled modules,
and <foo> is the distro non-standard dir.
This should remove the new V4L/DVB .ko modules that are located at the
non-standard dir or inside one of its sub-directories.
NOTICE: If there are other V4L/DVB drivers there that (1) aren't inside
V4L/DVB tree; (2) weren't selected to compile; then those drivers will
likely stop working.
This patch doesn't affect the other distros.
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions