summaryrefslogtreecommitdiffstats
path: root/lst
diff options
context:
space:
mode:
authorGiuseppe Ghibò <ghibo@mageia.org>2023-06-05 23:10:56 +0200
committerGiuseppe Ghibò <ghibo@mageia.org>2023-06-05 23:10:56 +0200
commitaf683ae3fc7c24f14dab15dc27a3b4c5577ab022 (patch)
tree1400f6e839e39dd7befcbfa5d7c24ee459bb2e12 /lst
parentd6061f3a691565b35b4104af91727dbcd4bb31fe (diff)
downloadldetect-lst-af683ae3fc7c24f14dab15dc27a3b4c5577ab022.tar
ldetect-lst-af683ae3fc7c24f14dab15dc27a3b4c5577ab022.tar.gz
ldetect-lst-af683ae3fc7c24f14dab15dc27a3b4c5577ab022.tar.bz2
ldetect-lst-af683ae3fc7c24f14dab15dc27a3b4c5577ab022.tar.xz
ldetect-lst-af683ae3fc7c24f14dab15dc27a3b4c5577ab022.zip
Duplicate modesetting in NVIDIA menu as aid for NVidia cards
Diffstat (limited to 'lst')
-rw-r--r--lst/Cards+4
1 files changed, 3 insertions, 1 deletions
diff --git a/lst/Cards+ b/lst/Cards+
index 20a74542..eac0e910 100644
--- a/lst/Cards+
+++ b/lst/Cards+
@@ -314,7 +314,9 @@ DRIVER nvxbox
LINE Option "UseFBDev" "1"
LINE Option "HWCursor" "0"
-# IMS
+# duplicate modesetting as aid for NVidia cards (to be choosen manually instead of nouveau)
+NAME NVIDIA Kernel Mode setting (Xorg modesetting)
+DRIVER modesetting
NAME IMS TwinTurbo-based cards
DRIVER vesa
51d546e5d749b47e2efce3ff651784fcc8c.zip'>drakx-9091151d546e5d749b47e2efce3ff651784fcc8c.zip
replace "_" with "N" and "__" with "N_"
rationale: - currently, we use _("xxx") as a shorthand for gettext("xxx"). It also used to call xgettext with --keyword=_ - alas, function &_ is global and not by package (notice esp. that _ is not exported in common.pm) - this lead to big ugly pb with packages defining their own &_, overriding common.pm's &_ - a fix is to set @::textdomains to add a new domain (the default being "libDrakX") but relying on the global "_" is still dangerous!
Diffstat (limited to 'perl-install/loopback.pm')
-rw-r--r--perl-install/loopback.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/loopback.pm b/perl-install/loopback.pm
index 6129e6c6d..5d1200d90 100644
--- a/perl-install/loopback.pm
+++ b/perl-install/loopback.pm
@@ -29,7 +29,7 @@ sub check_circular_mounts {
my $check; $check = sub {
my ($part, @seen) = @_;
push @seen, $part->{mntpoint} || return;
- @seen > 1 && $part->{mntpoint} eq $base_mntpoint and die _("Circular mounts %s\n", join(", ", @seen));
+ @seen > 1 && $part->{mntpoint} eq $base_mntpoint and die N("Circular mounts %s\n", join(", ", @seen));
if (my $part = fs::up_mount_point($part->{mntpoint}, $fstab)) {
#- '/' carrier is a special case, it will be mounted first
$check->($part, @seen) if !carryRootLoopback($part);