summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-15 17:44:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-15 17:44:05 +0000
commit0584a406ed7215cc70fa96b6c53771dd47addff8 (patch)
tree761d05bbf5d86b842c54aa78112638d9c1467bb1 /rescue
parent568483493b3c580e60a39b3e672eeb6974f483c8 (diff)
downloaddrakx-0584a406ed7215cc70fa96b6c53771dd47addff8.tar
drakx-0584a406ed7215cc70fa96b6c53771dd47addff8.tar.gz
drakx-0584a406ed7215cc70fa96b6c53771dd47addff8.tar.bz2
drakx-0584a406ed7215cc70fa96b6c53771dd47addff8.tar.xz
drakx-0584a406ed7215cc70fa96b6c53771dd47addff8.zip
factorize the distrib version
Diffstat (limited to 'rescue')
-rw-r--r--rescue/Makefile2
-rwxr-xr-xrescue/make_rescue_img1
-rw-r--r--rescue/tree/etc/issue2
3 files changed, 3 insertions, 2 deletions
diff --git a/rescue/Makefile b/rescue/Makefile
index c08d21c75..bbcf73e5b 100644
--- a/rescue/Makefile
+++ b/rescue/Makefile
@@ -6,7 +6,7 @@ install: rescue.clp
cp -f $< $(STAGE2_DEST)
rescue.clp: list list.$(ARCH) drvinst guessmounts lsparts rescue-doc make_rescue_img
- ./make_rescue_img
+ DISTRIB_DESCR=$(DISTRIB_DESCR) ./make_rescue_img
clean:
rm -f rescue.clp kernel_read_part
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img
index a3a946a12..d1d96afeb 100755
--- a/rescue/make_rescue_img
+++ b/rescue/make_rescue_img
@@ -56,6 +56,7 @@ foreach (cat_("dirs")) {
_ "cp -a tree/* $tmp";
_ "find $tmp -name 'CVS*' | xargs rm -rf";
_ "perl devices.pl $tmp/dev";
+substInFile { s/DISTRIB_DESCR/$ENV{DISTRIB_DESCR}/ } "$tmp/etc/issue";
install_raw(keyboard::loadkeys_files());
my %keytable_conflicts;
diff --git a/rescue/tree/etc/issue b/rescue/tree/etc/issue
index 7dba2360b..93f718d51 100644
--- a/rescue/tree/etc/issue
+++ b/rescue/tree/etc/issue
@@ -18,7 +18,7 @@
      

-Mandrakelinux release 10.2
+DISTRIB_DESCR
Use loadkeys to change your keyboard layout (eg: loadkeys fr)
Use modprobe to load modules (eg: modprobe snd-card-fm801)