diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-10-02 14:37:46 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-10-02 14:37:46 +0000 |
commit | 60a9ce00147bb95f25f0f52356b9a9fde3b89538 (patch) | |
tree | b887c3e705dd9196015035e18e3c7a053b4cdc8f /perl-install/patch | |
parent | 75fa89cd19fb95f8e7efd2bf8803a3143989d3f4 (diff) | |
download | drakx-backup-do-not-use-60a9ce00147bb95f25f0f52356b9a9fde3b89538.tar drakx-backup-do-not-use-60a9ce00147bb95f25f0f52356b9a9fde3b89538.tar.gz drakx-backup-do-not-use-60a9ce00147bb95f25f0f52356b9a9fde3b89538.tar.bz2 drakx-backup-do-not-use-60a9ce00147bb95f25f0f52356b9a9fde3b89538.tar.xz drakx-backup-do-not-use-60a9ce00147bb95f25f0f52356b9a9fde3b89538.zip |
update from oem patch
Diffstat (limited to 'perl-install/patch')
-rw-r--r-- | perl-install/patch/patch-nforce.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/patch/patch-nforce.pl b/perl-install/patch/patch-nforce.pl index 62bee8d42..35587ec75 100644 --- a/perl-install/patch/patch-nforce.pl +++ b/perl-install/patch/patch-nforce.pl @@ -10,7 +10,7 @@ undef *afterInstallPackages; my ($o) = @_; - #- workaround nforce stuff. + # 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 @@ -25,11 +25,11 @@ undef *afterInstallPackages; # 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 - unlink "$o->{prefix}/lib/modules/$version-$release$ext/kernel/drivers/sound/i810_audio.o.gz"; + 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"); } - }; |