manifest_xml: support nested submanifests

Change-Id: I58f91c6b0db631bb7f55164f41d11d3a349ac94f
Signed-off-by: Guillaume Micouin-Jorda <gmicouin@netcourrier.com>
Signed-off-by: Hadamik Stephan <Stephan.Hadamik@continental-corporation.com>
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/392020
Reviewed-by: Ben PUJOL <pujolbe@gmail.com>
Reviewed-by: LaMont Jones <lamontjones@google.com>
Tested-by: Roberto Prado <roberto.prado.c@gmail.com>
Commit-Queue: Roberto Prado <roberto.prado.c@gmail.com>
Tested-by: LaMont Jones <lamontjones@google.com>
Reviewed-by: Roberto Prado <roberto.prado.c@gmail.com>
This commit is contained in:
Guillaume Micouin-Jorda 2023-11-09 15:13:17 +01:00 committed by LUCI
parent 6d821124e0
commit c984e8d4f6

View File

@ -305,7 +305,7 @@ class _XmlSubmanifest:
parent.repodir, parent.repodir,
linkFile, linkFile,
parent_groups=",".join(groups) or "", parent_groups=",".join(groups) or "",
submanifest_path=self.relpath, submanifest_path=os.path.join(parent.path_prefix, self.relpath),
outer_client=outer_client, outer_client=outer_client,
default_groups=default_groups, default_groups=default_groups,
) )