summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-11 23:16:54 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-11 23:16:54 +0000
commitd488dbbcf96a1ba339b663cfec33d74302d7a0f8 (patch)
treedd8c2b6a69c5a633746bd59ae934e4c80f58f294 /mdk-stage1
parentdb73c71d9d6876cbf82136feded054d8c3511cd7 (diff)
downloaddrakx-d488dbbcf96a1ba339b663cfec33d74302d7a0f8.tar
drakx-d488dbbcf96a1ba339b663cfec33d74302d7a0f8.tar.gz
drakx-d488dbbcf96a1ba339b663cfec33d74302d7a0f8.tar.bz2
drakx-d488dbbcf96a1ba339b663cfec33d74302d7a0f8.tar.xz
drakx-d488dbbcf96a1ba339b663cfec33d74302d7a0f8.zip
do not modify modules.dep to load nls modules for fat, but inline in code (to keep a "clean" modules.dep)
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c
index 41fbb99f2..4967a2a6b 100644
--- a/mdk-stage1/mount.c
+++ b/mdk-stage1/mount.c
@@ -193,6 +193,8 @@ int my_mount(char *dev, char *location, char *fs, int force_rw)
#ifndef DISABLE_MEDIAS
if (!strcmp(fs, "vfat")) {
+ my_insmod("nls_cp437", ANY_DRIVER_TYPE, NULL, 1);
+ my_insmod("nls_iso8859_1", ANY_DRIVER_TYPE, NULL, 1);
my_insmod("vfat", ANY_DRIVER_TYPE, NULL, 1);
opts = "check=relaxed";
}