[devel] (legion) packages/bootloader-utils: heads/master
Alexey Tourbin
at на altlinux.ru
Чт Фев 22 01:10:41 MSK 2007
On Sat, Feb 10, 2007 at 01:06:09PM +0300, Alexey Gladkov wrote:
> Update of /people/legion/packages/bootloader-utils.git
>
> Changes statistics since `0.3.1-alt1.1' follows:
> bootloader-utils-lilo-params-quoting.patch | 19 +++++++++++++++++++
> bootloader-utils.spec | 8 +++++++-
> 2 files changed, 26 insertions(+), 1 deletions(-)
>
> Changelog since `0.3.1-alt1.1' follows:
> commit 3c26b8cfb09e3291774cb56aa8f32c1e67ee9b00
> Author: Alexey Gladkov <legion на altlinux.org>
> Date: Sat Feb 10 13:06:04 2007 +0300
>
> 0.3.1-alt1.1.1
>
> - NMU:
> - quote lilo parameters.
>
> Signed-off-by: Alexey Gladkov <legion на altlinux.org>
>
> Full diff since `0.3.1-alt1.1' follows:
> diff --git a/bootloader-utils-lilo-params-quoting.patch b/bootloader-utils-lilo-params-quoting.patch
> new file mode 100644
> index 0000000..497b41d
> --- /dev/null
> +++ b/bootloader-utils-lilo-params-quoting.patch
> @@ -0,0 +1,19 @@
> +--- bootloader-utils/lilo.fix 2007-02-09 18:45:27 +0300
> ++++ bootloader-utils/lilo 2007-02-09 18:45:42 +0300
> +@@ -53,12 +53,12 @@ sub add_kernel {
> + my $label = kernel_label($version);
> + my $root = getroot();
> + /\/vmlinuz-\Q$version\E\s/
> + or $_ .= <<EOF;
> +-image=/boot/vmlinuz-$version
> +- initrd=/boot/initrd-$version.img
> +- label=$label
> +- root=$root
> ++image="/boot/vmlinuz-$version"
> ++ initrd="/boot/initrd-$version.img"
> ++ label="$label"
> ++ root="$root"
> + read-only
> + optional
> + EOF
> + return $_;
Теперь записи из lilo.conf будут неправильно удаляться, потому что
в шаблоне на удаление не продусмотрены кавчки.
Почему появилась нужда в кавычках?
----------- следущая часть -----------
Было удалено вложение не в текстовом формате...
Имя : отсутствует
Тип : application/pgp-signature
Размер : 189 байтов
Описание: отсутствует
Url : http://lists.altlinux.org/pipermail/devel/attachments/20070222/1c2b3e68/attachment.bin
Подробная информация о списке рассылки Devel