From 0584a406ed7215cc70fa96b6c53771dd47addff8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 15 Jan 2005 17:44:05 +0000 Subject: factorize the distrib version --- rescue/Makefile | 2 +- rescue/make_rescue_img | 1 + rescue/tree/etc/issue | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'rescue') 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) -- cgit v1.2.1