diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-19 14:05:30 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-19 14:05:30 +0000 |
commit | 686c70f8f8b37ea58b04d339e15d4825924c67b9 (patch) | |
tree | 3effa4d84bb032787dd1afadec532ac59bc27420 | |
parent | 5b2538065e8bd7804e2d2ab9c8a556ea653e8a3b (diff) | |
download | drakx-686c70f8f8b37ea58b04d339e15d4825924c67b9.tar drakx-686c70f8f8b37ea58b04d339e15d4825924c67b9.tar.gz drakx-686c70f8f8b37ea58b04d339e15d4825924c67b9.tar.bz2 drakx-686c70f8f8b37ea58b04d339e15d4825924c67b9.tar.xz drakx-686c70f8f8b37ea58b04d339e15d4825924c67b9.zip |
further fix #2826 (lilo failling to handle entry with spaces): replace
spaces by underscores in labels (image names are not likely to contain
spaces) to prevent the error
-rw-r--r-- | perl-install/bootloader.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 6d9b1047f..e6428ae92 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -823,6 +823,7 @@ sub install_silo { sub make_label_lilo_compatible { my ($label) = @_; $label = substr($label, 0, 15); #- lilo doesn't handle more than 15 char long labels + $label =~ s/ /_/g; #- lilo does not support blank character in image names, labels or aliases qq("$label"); } |