Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
packages
Commits
486475b4
Commit
486475b4
authored
Jan 07, 2019
by
Robin Sonnabend
Browse files
Add more debug output
parent
2ad65407
Pipeline
#576
failed with stage
in 5 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
scripts/build.py
View file @
486475b4
...
...
@@ -69,9 +69,11 @@ def build_package(repo_dir, package_dir, name,
print
(
os
.
listdir
())
if
additional_content
is
not
None
:
print
(
"applying additional content"
)
os
.
chdir
(
workdir
)
print
(
os
.
listdir
())
for
content
in
additional_content
:
print
(
"applying {}"
.
format
(
content
))
os
.
chdir
(
content
[
"target_dir"
])
print
(
os
.
listdir
())
if
"patch_dir"
in
content
:
...
...
@@ -80,6 +82,10 @@ def build_package(repo_dir, package_dir, name,
apply_patches
(
abs_patch_dir
)
elif
"git_url"
in
content
:
run_checked
([
"git"
,
"clone"
,
content
[
"git_url"
]])
else
:
print
(
"Unknown kind of additional content: {}"
.
format
(
content
))
command
=
[
"debchange"
,
"--preserve"
]
...
...
Write
Preview
Supports
Markdown
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