Skip to content

base: rc: aktualizr: Fix Yocto TMPDIR warning message#1567

Merged
angolini merged 1 commit intofoundriesio:mainfrom
detsch:fix-aklite-yocto-warning
Jan 30, 2025
Merged

base: rc: aktualizr: Fix Yocto TMPDIR warning message#1567
angolini merged 1 commit intofoundriesio:mainfrom
detsch:fix-aklite-yocto-warning

Conversation

@detsch
Copy link
Copy Markdown
Member

@detsch detsch commented Jan 29, 2025

asn1c tool places the full absolute path for the asn1 files inside comments of the generated source files. Make them relative to ${S} to avoid the warning messages during do_package_qa.

asn1c tool places the full absolute path for the asn1 files inside
comments of the generated source files. Make them relative to ${S} to
avoid the warning messages during do_package_qa.

Signed-off-by: Andre Detsch <[email protected]>
@quaresmajose
Copy link
Copy Markdown
Member

Using sed is prone to errors that go unnoticed. In my opinion I prefer the foundriesio/aktualizr#79 but lets get more opinions

@angolini
Copy link
Copy Markdown
Contributor

I understand and agree with #1567 (comment), but the reason for having it now is that the later PR was not working.

So I would accept this change as an intermediate amend to the problem, and have it reworked properly for future aklite versions (using newer versions of generation tool, or changing that tool)

It looks odd to worry so much about a path on a comment, but the reason behind it is reproducibility.

@detsch
Copy link
Copy Markdown
Member Author

detsch commented Jan 30, 2025

I understand and agree with #1567 (comment), but the reason for having it now is that the later PR was not working.

That is correct, the change in akltualizr was not enough to fix the issue. Best would be to make asn1c not generate the full path in the comment, but this is not an option.

@angolini angolini merged commit b42b167 into foundriesio:main Jan 30, 2025
@detsch detsch deleted the fix-aklite-yocto-warning branch January 31, 2025 18:44
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