summaryrefslogtreecommitdiffstats
path: root/perl-install/patch/patch-nforce.pl
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-04-25 12:26:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-04-25 12:26:16 +0000
commit126777bc019a54afb4ec51299f2cf9d2841698aa (patch)
tree97f76e571902ead55ba138f1156a4b4f00b9b779 /perl-install/patch/patch-nforce.pl
parentf1f67448efc714873378dfeb8279fae68054a90a (diff)
downloaddrakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar
drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.gz
drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.bz2
drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.xz
drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.zip
re-sync after the big svn loss
Diffstat (limited to 'perl-install/patch/patch-nforce.pl')
-rw-r--r--perl-install/patch/patch-nforce.pl35
1 files changed, 0 insertions, 35 deletions
diff --git a/perl-install/patch/patch-nforce.pl b/perl-install/patch/patch-nforce.pl
deleted file mode 100644
index 35587ec75..000000000
--- a/perl-install/patch/patch-nforce.pl
+++ /dev/null
@@ -1,35 +0,0 @@
-use install_steps;
-use common;
-
-package install_steps;
-
-my $old_afterInstallPackages = \&afterInstallPackages;
-undef *afterInstallPackages;
-*afterInstallPackages = sub {
- &$old_afterInstallPackages;
-
- my ($o) = @_;
-
- # workaround nforce stuff.
- #
- # modules.pm uses /lib/modules/VERSION/modules*map to know which
- # sound drivers to use : this'll cause i810_audio to override
- # nvaudio since it exports the nvforce audio pci ids
- #
- # the right solution is to :
- #
- # - remove the nforce ids from i810_audio until the oss driver got
- # fixes implemented in alsa driver for nforce (snd-intel8x0.o)
- #
- # - ask nvidia to declare which pci ids they use and export them
- # for depmod :
- # MODULE_DEVICE_TABLE (pci, <name_of_the struct pci_device_id variable>);
-
- #- try to workaround nforce stuff.
- foreach (keys %{$o->{packages}{provides}{kernel}}) {
- my $p = $o->{packages}{depslist}[$_];
- my ($ext, $version, $release) = $p->name =~ /^kernel-([^\d\-]*)-?([^\-]*)\.([^\-\.]*)$/ or next;
- -s "$o->{prefix}/lib/modules/$version-$release$ext/kernel/drivers/sound/nvaudio.o.gz" and
- run_program::rooted($o->{prefix}, "cp -f /lib/modules/$version-$release$ext/kernel/drivers/sound/nvaudio.o.gz /lib/modules/$version-$release$ext/kernel/drivers/sound/i810_audio.o.gz");
- }
-};