Package: os-prober
Version: 1.42
I have a partition with a menu.lst file containing the following line:
title * Lenny2 Debian 5.0.5, 2.6.26-2-amd64 on /dev/disk/by-label/root
When running update-grub, this produces a very long garbage entry in grub.cfg:
menuentry bin boot cdrom dev
It looks it would be enough to enclose set -- $line between set -f and set
+f to prevent wildcard expansion and solve this problem.
The patch below seems to work for me, and produced a correct menuentry in
grub.cfg:
menuentry * Lenny2 Debian 5.0.5, 2.6.26-2-amd64 on
Mi wrote:
It looks it would be enough to enclose set -- $line between set -f and
set +f to prevent wildcard expansion and solve this problem.
Yes, I've committed such a fix to numerous places in os-prober git
already. Sorry for the duplicate work; thanks for your analysis!
--
see shy jo
3 matches
Mail list logo