[elbe-devel] [PATCH 2/2] Change distro name in Makefile.mako

Torben Hohn torben.hohn at linutronix.de
Wed Jul 3 14:14:39 CEST 2019


On Tue, Jul 02, 2019 at 04:56:20PM +0200, dion at linutronix.de wrote:
> From: Olivier Dion <dion at linutronix.de>
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>


this is wrong.
the check is for the host distro,

because MACHINE=pc does not work properly, when the host is a vmware
machhine.

i dont remember the details right now.
please dig a bit yourself.

its either only relevant on stretch, and buster is fine,
or buster needs to be added to the filtered values.
> ---
>  elbepack/init/Makefile.mako | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/elbepack/init/Makefile.mako b/elbepack/init/Makefile.mako
> index 39e1cd55..ea94a363 100644
> --- a/elbepack/init/Makefile.mako
> +++ b/elbepack/init/Makefile.mako
> @@ -21,7 +21,7 @@ INTERPRETER?=${prj.text('interpreter', default=defs, key='interpreter')}
>  # http://lists.linutronix.de/pipermail/elbe-devel/2017-July/000541.html
>  VIRT=$(shell test -x /usr/bin/systemd-detect-virt && /usr/bin/systemd-detect-virt)
>  DIST=$(shell lsb_release -cs)
> -ifeq ($(filter-out vmware stretch, $(VIRT) $(DIST)),)
> +ifeq ($(filter-out vmware buster, $(VIRT) $(DIST)),)
>  MACHINE?=pc-i440fx-2.6
>  else
>  MACHINE?=pc
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list