From 686c70f8f8b37ea58b04d339e15d4825924c67b9 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 19 May 2003 14:05:30 +0000 Subject: 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 --- perl-install/bootloader.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install') 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"); } -- cgit v1.2.1