diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-15 17:44:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-15 17:44:05 +0000 |
commit | 0584a406ed7215cc70fa96b6c53771dd47addff8 (patch) | |
tree | 761d05bbf5d86b842c54aa78112638d9c1467bb1 /rescue | |
parent | 568483493b3c580e60a39b3e672eeb6974f483c8 (diff) | |
download | drakx-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/Makefile | 2 | ||||
-rwxr-xr-x | rescue/make_rescue_img | 1 | ||||
-rw-r--r-- | rescue/tree/etc/issue | 2 |
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 @@ [1;30;44m [43m [40m [47m [40m [43m [40m[2C [0m[255D -Mandrakelinux release 10.2 +DISTRIB_DESCR Use [1;33;40mloadkeys[0m to change your keyboard layout (eg: loadkeys fr) Use [1;33;40mmodprobe[0m to load modules (eg: modprobe snd-card-fm801) |