From f2826cd44374003d2c117483c077cabb8b8089ca Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Fri, 16 Aug 2019 14:49:46 +0100 Subject: [PATCH] build-relocatable-install: Include a list of source packages involved Signed-off-by: Simon McVittie <smcv@collabora.com> --- build-relocatable-install.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build-relocatable-install.py b/build-relocatable-install.py index e0f50095b..87657f43f 100755 --- a/build-relocatable-install.py +++ b/build-relocatable-install.py @@ -427,6 +427,15 @@ def main(): cwd=os.path.join(installation, 'sources'), ) + with open( + os.path.join(installation, 'sources', 'sources.txt'), 'w' + ) as writer: + writer.write( + '#Source\t#Version\n' + ) + for source in sorted(source_to_download): + writer.write(source.replace('=', '\t') + '\n') + if not args.apt_get_source: os.makedirs( os.path.join(installation, 'sources', 'pressure-vessel'), -- GitLab