[elbe-devel] [PATCH 3/4] Change DB' project files to add the new licences

Torben Hohn torben.hohn at linutronix.de
Thu Mar 12 13:34:25 CET 2020


On Thu, Mar 05, 2020 at 12:23:38AM -0500, Olivier Dion wrote:


please add a commit log.

also prefix the subject with "db:"

explain, that its ok, when files dont exist.
i mean, *-sysroot files only exist, when sdk is built.

Is this function also called, when the sdk is built ?
becuase, you want the sdk files to be added, when the sdk is built.


> Signed-off-by: Olivier Dion <dion at linutronix.de>
> ---
>  elbepack/db.py | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)
> 
> diff --git a/elbepack/db.py b/elbepack/db.py
> index 8168301c..a8b48141 100644
> --- a/elbepack/db.py
> +++ b/elbepack/db.py
> @@ -834,13 +834,15 @@ class ElbeDB(object):
>                                        "application/xml",
>                                        "Current source.xml of the project")
>  
> -            _update_project_file(s, p.builddir, "licence.txt",
> -                                      "text/plain; charset=utf-8",
> -                                      "License file")
> +            for name in ["chroot", "target", "sysroot-target", "sysroot-host"]:
>  
> -            _update_project_file(s, p.builddir, "licence.xml",
> -                                      "application/xml",
> -                                      "xml License file")
> +                _update_project_file(s, p.builddir, "licence-%s.txt" % name,
> +                                     "text/plain; charset=utf-8",
> +                                     "License file")
> +
> +                _update_project_file(s, p.builddir, "licence-%s.xml" % name,
> +                                     "application/xml",
> +                                     "xml License file")
>  
>              _update_project_file(s, p.builddir, "validation.txt",
>                                        "text/plain; charset=utf-8",
> -- 
> 2.25.1
> 
> 
> _______________________________________________
> 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