Skip to content

Conversation

lool
Copy link
Contributor

@lool lool commented Sep 11, 2025

  • refactor: Avoid repetition of file_name and _path
  • feat: Support pathnames in contents.xml

@lool
Copy link
Contributor Author

lool commented Sep 11, 2025

This is useful for e.g. Debian images which use ../rootfs.img and similar to share the payloads across boards.

@lumag
Copy link
Contributor

lumag commented Sep 11, 2025

Missing commit messages. The second one says 'properly', but doesn't define what is proper and what is incorrect currently.

Commonalize the logic to add XML elements with a file_name and file_path
to avoid duplication and to provide a single place for future
improvements notably on directory handling.

Signed-off-by: Loïc Minier <[email protected]>
Support pathnames (e.g. from partitions.xml) with file and directory
names by splitting them in file_name and file_path respectively, rather
than passing through the full path into file_name and hardcoding the
current directory (".") as file_path.

Signed-off-by: Loïc Minier <[email protected]>
@lool lool force-pushed the contents-xml-directory-name branch from 3e37a5b to a24084a Compare September 15, 2025 07:03
@lool
Copy link
Contributor Author

lool commented Sep 15, 2025

Missing commit messages. The second one says 'properly', but doesn't define what is proper and what is incorrect currently.

Thanks for the review, I've added a commit message where missing and reworded the other one

@lumag lumag merged commit cbd3b8e into qualcomm-linux:main Sep 17, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants