Create debug packages by default
authorAnas Nashif <anas.nashif@intel.com>
Wed, 19 Jun 2013 17:16:49 +0000 (10:16 -0700)
committerGerrit Code Review <gerrit2@otctools.jf.intel.com>
Thu, 20 Jun 2013 09:41:44 +0000 (02:41 -0700)
Always create debuginfo packages to align with the build system
and how it is configured. Packages that might build fine in gbs
right now will fail in OBS because of the different build options
and not being able to generate debug packages with gbs.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
depanneur

index 92cbd69f5600cd0cae5593c5804fd6b0fd15c66d..55c4ce4d3509160701f95bddbf4f1073fdb2625c 100755 (executable)
--- a/depanneur
+++ b/depanneur
@@ -1301,6 +1301,7 @@ sub build_package {
         $redirect = "> /dev/null 2>&1";
     }
 
+    push @args, "--debug";
     push @args, "--root $scratch";
     if ($noinit == 1 && -e "$scratch/not-ready") {
         error("build root is not ready , --noinit is not allowed");