Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

old recipes fail because the source branches go away #231

Open
abaumfalk opened this issue Oct 22, 2021 · 4 comments
Open

old recipes fail because the source branches go away #231

abaumfalk opened this issue Oct 22, 2021 · 4 comments

Comments

@abaumfalk
Copy link

We experienced a fetcher failure when using the LTS-Kernel recipe linux_altera_ltsi_4.14.130.bb.
When operating without sstate and download caches the fetcher fails, because it cannot find the upstream branch socfpga-4.14.130-ltsi any longer at git://github.com/altera-opensource/linux-socfpga.git. It seems, that the maintainers of this repo frequently delete the old branches, even if they are LTS.
We have worked around this by creating a fork and re-adding the missing branches. It is essential for us, to keep the LTS-recipies functional for a long period of time.
Is there a better (recommended) way?

@dwesterg
Copy link
Contributor

dwesterg commented Oct 22, 2021 via email

@abaumfalk
Copy link
Author

Thank you for the quick reply.

Of course we would update the fork, if needed - but I would rather find a better solution in the long run.
Another problem with this workaround is, that older versions of our project will not work any longer "out of the box" now without using the download cache, which is not be available everywhere.

The repo in question is cleared of all branches that are no longer maintained. Your method or forking the repo is appropriate, but you should also be concerned with fixing newly reported bugs and CVEs with your fork.

--dalon

@cyanosp
Copy link

cyanosp commented Oct 26, 2021

I will just jump into this issue as it is related.
With 4.X gone there is also no rt branch left.
For now I use the recent version (5.10) and apply the patches myself, are there any plan for a new rt-yocto layer?

@mc-requtech
Copy link

A workaround is to set KBRANCH to "${SRCREV};nobranch=1". Then you can check out the commit (which is still in the repo due to a tag) even though it is on no branch.

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

No branches or pull requests

4 participants