[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: r48657 - in trunk/packages/os-prober: debian os-probes/init/common



Colin Watson wrote:
>   - Tighten check for whether we're running in d-i; anna-install isn't
>     quite enough because if you're running d-i code outside d-i it's
>     sometimes reasonable to install a shim for anna-install.

> -	if type anna-install >/dev/null 2>&1; then
> +	if type anna-install >/dev/null 2>&1 && [ -d /lib/debian-installer ]; then

This still feels very ad-hoc. What about looking for
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
in /etc/lsb-release? Or are derived distros changing that?

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: