Bug#558042: generated grub.cfg uses /boot with separate boot partition
Vincent Danjean
vdanjean at debian.org
Sun Nov 29 10:26:25 UTC 2009
Hi,
In the latest patch, you need to use a "if ...;then ...; fi" construct
and not a "... && ...". Else you will have an error (that will stop
the script if it is executed with -e) if the test is false.
[ "$rel_dirname" = "/" ] && rel_dirname=
should be replaced by
if [ "$rel_dirname" = "/" ]; then rel_dirname= ; fi
Regards,
Vincent
--
Vincent Danjean GPG key ID 0x9D025E87 vdanjean at debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87
Unofficial packages: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://perso.debian.org/~vdanjean/debian unstable main
More information about the Pkg-grub-devel
mailing list