Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flatdeb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Ludovico de Nittis
flatdeb
Commits
64dc6871
Commit
64dc6871
authored
Nov 28, 2019
by
Simon McVittie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
collect-dbgsym: Be more verbose
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
bd8f60a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
flatdeb/collect-dbgsym
flatdeb/collect-dbgsym
+11
-3
flatdeb/debos-runtimes.yaml
flatdeb/debos-runtimes.yaml
+1
-1
No files found.
flatdeb/collect-dbgsym
View file @
64dc6871
...
...
@@ -120,6 +120,7 @@ def main():
parser
=
argparse
.
ArgumentParser
(
description
=
'Install corresponding -dbgsym packages if available'
,
)
parser
.
add_argument
(
'--debug'
,
action
=
'store_true'
,
default
=
False
)
parser
.
add_argument
(
'sysroot'
)
args
=
parser
.
parse_args
()
...
...
@@ -240,10 +241,17 @@ def main():
for
binary_stanza
in
same_name
:
logger
.
info
(
'Available version:
\n
%s'
,
binary_stanza
)
options
=
[
'-y'
,
'-m'
]
if
args
.
debug
:
options
.
append
(
'-oDebug::pkgDepCache::AutoInstall=true'
)
options
.
append
(
'-oDebug::pkgDepCache::Marker=true'
)
options
.
append
(
'-oDebug::pkgPolicy=true'
)
options
.
append
(
'-oDebug::pkgProblemResolver=true'
)
options
.
append
(
'-oDebug::pkgProblemResolver::ShowScores=true'
)
subprocess
.
run
(
in_chroot
+
[
'apt-get'
,
'-y'
,
'-q'
,
'-q'
,
'-m'
,
'install'
,
]
+
list
(
to_get
),
in_chroot
+
[
'apt-get'
]
+
options
+
[
'install'
]
+
list
(
to_get
),
check
=
True
,
)
...
...
flatdeb/debos-runtimes.yaml
View file @
64dc6871
...
...
@@ -97,7 +97,7 @@ actions:
command
:
|
set -e
echo
"$RECIPEDIR/collect-dbgsym" "$ROOTDIR"
"$RECIPEDIR/collect-dbgsym"
{{ if $apt_debug }}--debug{{ end }}
"$ROOTDIR"
{{
end
}}
# We do this as a separate step in case it involves removing any
# of the common packages, or replacing automatic debug symbols with
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment