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

Manuel Traut manut at linutronix.de
Thu Feb 8 14:17:04 CET 2018


make get_file/list_file recognize the sdk installer

Signed-off-by: Manuel Traut <manut 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




More information about the elbe-devel mailing list