Bug#842315: Misdetects systemd with merged-usr

Michael Biebl biebl at debian.org
Fri Mar 17 20:46:23 UTC 2017


Hi Colin,

did you have a chance to look at Felipe's patch?
Seems fine to me. So if you plan another upload for stretch, it would be
nice to include this patch.

Regards,
Michael

On Fri, 28 Oct 2016 19:06:47 -0300 Felipe Sateler <fsateler at debian.org>
wrote:
> Package: grub-common
> Version: 2.02~beta3-1
> Followup-For: Bug #842315
> Control: tags -1 patch
> 
> Hi,
> 
> This patch fixes the issue. It is as simple as resolving the
> symlinks for the known names as well:
> 
> --- /etc/grub.d/10_linux	2016-10-28 19:02:21.057213089 -0300
> +++ 10_linux	2016-10-28 19:02:43.841806736 -0300
> @@ -349,7 +349,7 @@
>                "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
>    for supported_init in ${SUPPORTED_INITS}; do
>      init_path="${supported_init#*:}"
> -    if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" != "${init_path}" ]; then
> +    if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" != "$(readlink -f ${init_path})" ]; then
>        linux_entry "${OS}" "${version}" "init-${supported_init%%:*}" \
>  		  "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT} init=${init_path}"
>      fi
> 
> 


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20170317/6cab1fca/attachment.sig>


More information about the Pkg-grub-devel mailing list