Skip to content

post-fetch command #122

@linacs

Description

@linacs

Hi,

a customer of mine is using Cooker to retrieve different layers including one from his hardware vendor. This vendor made some technical choices that are very intrusive and that we don't want. Sadly, they used strong expressions such as "=" inside layer.conf, or rogue includes. There are also some inherits that are no longer compatible with our Yocto's version. This is why there is no other choice than to apply a little patch after fetching the layer sources (otherwise, we would have to fork their layer, but that could be annoying later, when the layer will evolve, to maintain it).

We were thinking of a "postfetch" key inside the menu, which would be executed with a simple "system()" in Python, just after fetching the sources. In our case, it would be a "patch" command call. What do you think of it? That could prevent us to break the Cooker workflow into two commands (with this patch application between the two). The customer is ready to pay me to do it and mainstream it if you're alright with the idea.

Thanks,
Gilles

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions