Skip to content
Snippets Groups Projects
Commit 446fac89 authored by Simon McVittie's avatar Simon McVittie
Browse files

build-relocatable-install: List source packages in binary tarball

parent 260f5717
No related branches found
No related tags found
No related merge requests found
......@@ -465,13 +465,8 @@ def main():
) as writer:
writer.write('{}\n'.format(args.version))
shutil.copytree(
os.path.join(installation, 'metadata'),
os.path.join(installation, 'sources'),
)
with open(
os.path.join(installation, 'sources', 'sources.txt'), 'w'
os.path.join(installation, 'metadata', 'sources.txt'), 'w'
) as writer:
writer.write(
'#Source\t#Version\n'
......@@ -479,6 +474,11 @@ def main():
for source in sorted(source_to_download):
writer.write(source.replace('=', '\t') + '\n')
shutil.copytree(
os.path.join(installation, 'metadata'),
os.path.join(installation, 'sources'),
)
if args.check_source_directory is None:
try:
v_check_call(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment