[elbe-devel] [PATCH v2 18/24] db: add sdk installer as output file

Torben Hohn torben.hohn at linutronix.de
Thu Feb 8 16:44:44 CET 2018


On Thu, Feb 08, 2018 at 02:17:04PM +0100, Manuel Traut wrote:
> make get_file/list_file recognize the sdk installer
> 
> Signed-off-by: Manuel Traut <manut at linutronix.de>

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

> ---
>  elbepack/db.py | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/elbepack/db.py b/elbepack/db.py
> index 4d7ea9ff..9ba0c58c 100644
> --- a/elbepack/db.py
> +++ b/elbepack/db.py
> @@ -839,6 +839,10 @@ class ElbeDB(object):
>                                        "application/x-xz-compressed-tar",
>                                        "sysroot for cross-toolchains")
>  
> +            self._update_project_file(s, p.builddir, "setup-sdk.sh",
> +                                      "application/x-shellscript",
> +                                      "SDK Installer")
> +
>              self._update_project_file(s, p.builddir, "chroot.tar.xz",
>                                        "application/x-xz-compressed-tar",
>                                        "chroot for 'native' development")
> @@ -855,7 +859,7 @@ class ElbeDB(object):
>              if os.path.isdir(pbresult_path):
>                  for f in os.listdir(pbresult_path):
>                      pfile = os.path.join("pbuilder", "result", f)
> -                    self._update_project_file(s, p.builddir, pfile
> +                    self._update_project_file(s, p.builddir, pfile,
>                                                "application/octet-stream",
>                                                "Pbuilder artifact")
>  
> -- 
> 2.15.1
> 

-- 
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: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20180208/97c50dc8/attachment.sig>


More information about the elbe-devel mailing list