runc-docker_git: use SRCREV instead of SRCREV_runc-docker
PATCH 1/1 runc-docker_git: use SRCREV instead of SRCREV_runc-docker
runc.inc sets PV based on "${RUNC_VERSION}+git${SRCREV}", which is set correctly by runc-opencontainers but not by runc-docker (PV was set to 1.0.0-rc3+gitINVALID-r0 instead of using the SRCREV hash).
--- recipes-containers/runc/runc-docker_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/runc/runc-docker_git.bb +1 -1
@@ -2,7 +2,7 @@ include runc.inc # Note: this rev is before the required protocol field, update when all components # have been updated to match. -SRCREV_runc-docker = "9d6821d1b53908e249487741eccd567249ca1d99" +SRCREV = "9d6821d1b53908e249487741eccd567249ca1d99" SRC_URI = "git://github.com/docker/runc.git;nobranch=1;name=runc-docker \ file://0001-Update-to-runtime-spec-198f23f827eea397d4331d7eb048d.patch \ file://0002-Remove-Platform-as-no-longer-in-OCI-spec.patch \
Signature · 1 line
2.7.4
Quoted 3 lines · Ricardo Salveti
runc.inc sets PV based on "${RUNC_VERSION}+git${SRCREV}", which is set correctly by runc-opencontainers but not by runc-docker (PV was set to 1.0.0-rc3+gitINVALID-r0 instead of using the SRCREV hash).
Then I'll revert the .inc
As I mentioned before, I'm keeping the named SRCREVs. I didn't notice that on the way in.
Cheers,
Bruce
Quoted 27 lines
Signed-off-by Ricardo Salveti <[email protected]>--- recipes-containers/runc/runc-docker_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-containers/runc/runc-docker_git.bb +1
-2@@ -2,7 +2,7 @@ include runc.inc # Note: this rev is before the required protocol field, update when all components # have been updated to match. -SRCREV_runc-docker = "9d6821d1b53908e249487741eccd567249ca1d99" +SRCREV = "9d6821d1b53908e249487741eccd567249ca1d99" SRC_URI = "git://github.com/docker/runc.git;nobranch=1;name=runc-docker \ file://0001-Update-to-runtime-spec-198f23f827eea397d4331d7eb048d.patch \ file://0002-Remove-Platform-as-no-longer-in-OCI-spec.patch \ --2.7.4
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 10 lines · Bruce Ashfield
Quoted 3 lines · Ricardo Salveti
runc.inc sets PV based on "${RUNC_VERSION}+git${SRCREV}", which is set correctly by runc-opencontainers but not by runc-docker (PV was set to 1.0.0-rc3+gitINVALID-r0 instead of using the SRCREV hash).
Then I'll revert the .inc
As I mentioned before, I'm keeping the named SRCREVs. I didn't notice that on the way in.
I see the issue. I won't take this patch, but will fix things up a different way.
Bruce
Quoted 38 lines
Cheers,
Bruce
Quoted 22 lines
Signed-off-by Ricardo Salveti <[email protected]>--- recipes-containers/runc/runc-docker_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-containers/runc/runc-docker_git.bb +1
-2@@ -2,7 +2,7 @@ include runc.inc # Note: this rev is before the required protocol field, update when all components # have been updated to match. -SRCREV_runc-docker = "9d6821d1b53908e249487741eccd567249ca1d99" +SRCREV = "9d6821d1b53908e249487741eccd567249ca1d99" SRC_URI = "git://github.com/docker/runc.git;nobranch=1;name=runc-docker \ file://0001-Update-to-runtime-spec-198f23f827eea397d4331d7eb048d.patch \ file://0002-Remove-Platform-as-no-longer-in-OCI-spec.patch \ --2.7.4
Quoted 5 lines
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 8 lines · Bruce Ashfield
Quoted 6 lines · Bruce Ashfield
Quoted 3 lines · Ricardo Salveti
runc.inc sets PV based on "${RUNC_VERSION}+git${SRCREV}", which is set correctly by runc-opencontainers but not by runc-docker (PV was set to 1.0.0-rc3+gitINVALID-r0 instead of using the SRCREV hash).
Quoted 7 lines
Quoted 4 lines
Then I'll revert the .inc
As I mentioned before, I'm keeping the named SRCREVs. I didn't notice that on the way in.
I see the issue. I won't take this patch, but will fix things up a different way.
Cool, I didn't know if the idea was to use named SRCREV, but handing that differently in the .inc should also fix the problem.
Thanks!
Signature · 1 line
Ricardo Salveti
Quoted 12 lines · Ricardo Salveti
Quoted 10 lines · Bruce Ashfield
Quoted 8 lines · Bruce Ashfield
Quoted 3 lines · Ricardo Salveti
runc.inc sets PV based on "${RUNC_VERSION}+git${SRCREV}", which is set correctly by runc-opencontainers but not by runc-docker (PV was set to 1.0.0-rc3+gitINVALID-r0 instead of using the SRCREV hash).
Then I'll revert the .inc
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
As I mentioned before, I'm keeping the named SRCREVs. I didn't notice that on the way in.
I see the issue. I won't take this patch, but will fix things up a different way.
Cool, I didn't know if the idea was to use named SRCREV, but handing that differently in the .inc should also fix the problem.
yah. I broke it quite some time ago when I had to split the docker and open containers runc.
I should have switched to using SRCPV then .. which I just did now (and tested both the docker and open-containers variants of runc).
Cheers,
Bruce
Quoted 4 lines
Thanks!
--
Ricardo Salveti
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 20 lines · Bruce Ashfield
Quoted 18 lines · Ricardo Salveti
Quoted 15 lines · Bruce Ashfield
Quoted 10 lines · Bruce Ashfield
Quoted 3 lines · Ricardo Salveti
runc.inc sets PV based on "${RUNC_VERSION}+git${SRCREV}", which is set correctly by runc-opencontainers but not by runc-docker (PV was set to 1.0.0-rc3+gitINVALID-r0 instead of using the SRCREV hash).
Then I'll revert the .inc
As I mentioned before, I'm keeping the named SRCREVs. I didn't notice that on the way in.
I see the issue. I won't take this patch, but will fix things up a different way.
Quoted 8 lines
Quoted 2 lines
Cool, I didn't know if the idea was to use named SRCREV, but handing that differently in the .inc should also fix the problem.
yah. I broke it quite some time ago when I had to split the docker and open containers runc.
I should have switched to using SRCPV then .. which I just did now (and tested both the docker and open-containers variants of runc).
Awesome, just tested your patch and all good from my side as well.
Thanks for the fix!
Cheers,
Signature · 1 line
Ricardo Salveti