[elbe-devel] [PATCH 03/25] elbeproject: always validate binary repos

Torben Hohn torben.hohn at linutronix.de
Fri Dec 15 16:42:01 CET 2017


On Fri, Dec 08, 2017 at 07:08:34PM +0100, Manuel Traut wrote:
> it makes no sense, to only validate the repos if a bin-cdrom.iso
> should be generated. The repos are also needed to build the RFS.
> 
> Signed-off-by: Manuel Traut <manut at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

> ---
>  elbepack/elbeproject.py | 8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)
> 
> diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
> index f120ccc5..2232b4c1 100644
> --- a/elbepack/elbeproject.py
> +++ b/elbepack/elbeproject.py
> @@ -207,11 +207,9 @@ class ElbeProject (object):
>          self.write_log_header()
>  
>          # Validate Apt Sources
> -        m = ValidationMode.NO_CHECK
> -        if build_bin:
> -            m = ValidationMode.CHECK_BINARIES
> -            if build_sources:
> -                m = ValidationMode.CHECK_ALL
> +        m = ValidationMode.CHECK_BINARIES
> +        if build_sources:
> +            m = ValidationMode.CHECK_ALL
>          self.xml.validate_apt_sources ( m , self.arch )
>  
>  
> -- 
> 2.15.1
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Mit freundlichen Grüßen
Torben Hohn

Linutronix GmbH

Standort: Bremen

Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Firmensitz / Registered Office: D-88690 Uhldingen, Bahnhofstr. 3
Registergericht / Local District Court: Amtsgericht Freiburg i. Br.; HRB
Nr. / Trade register no.: 700 806

Geschäftsführer / Managing Directors: Heinz Egger, Thomas Gleixner

Eine Bitte von uns: Sollten Sie diese E-Mail irrtümlich erhalten haben,
benachrichtigen Sie uns in diesem Falle bitte sobald wie es Ihnen
möglich ist, durch Antwort-Mail. Vielen Dank!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20171215/e5d0382f/attachment.sig>


More information about the elbe-devel mailing list