Bug#480254: grub-pc: post-install fails with grub linux cmdline (leaning toothpics)
Fabian Greffrath
greffrath at leat.rub.de
Fri May 9 07:51:39 UTC 2008
tags 480254 + patch
thanks
Jason Thomas schrieb:
> 's/^\(GRUB_CMDLINE_LINUX\)=.*/\1="root=/dev/hdc1 ro"/g'
> sed: -e expression #1, char 40: unknown option to `s'
Well, the current grub2_1.96+20080429-1.diff.gz contains the following
line in debian/grub-pc.postinst
sed -i /etc/default/grub -e "s/^\(GRUB_CMDLINE_LINUX\)=.*/\1=\"$RET\"/g"
which - I believe - will be fixed if single quotation marks were used
sed -i /etc/default/grub -e 's/^\(GRUB_CMDLINE_LINUX\)=.*/\1=\"$RET\"/g'
Cheers,
Fabian
More information about the Pkg-grub-devel
mailing list