update-rc.d: Switch from a tag to a sepcific revision
PATCH 1/1 update-rc.d: Switch from a tag to a sepcific revision
Unfortunately the git fetcher cannot resolve a named tag into a revision without network access. Since its desireable for OE-Core to function in a networkless environment, we need to specify the revision in the recipe which corresponds to the 0.7 tag.
[YOCTO #1140]
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-core/update-rc.d/update-rc.d_0.7.bb | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
meta/recipes-core/update-rc.d/update-rc.d_0.7.bb +4 -1
@@ -7,7 +7,10 @@ LIC_FILES_CHKSUM = "file://update-rc.d;beginline=5;endline=15;md5=148a48321b10eb PR = "r4" -SRC_URI = "git://github.com/philb/update-rc.d.git;tag=update-rc.d_${PV};protocol=git \ +# Revision corresponding to tag update-rc.d_0.7 +SRCREV = "eca680ddf28d024954895f59a241a622dd575c11" + +SRC_URI = "git://github.com/philb/update-rc.d.git;protocol=git \ file://add-verbose.patch;striplevel=1" S = "${WORKDIR}/git"
Signature · 1 line
1.7.4.1
Quoted 8 lines · Richard Purdie
Unfortunately the git fetcher cannot resolve a named tag into a revision without network access. Since its desireable for OE-Core to function in a networkless environment, we need to specify the revision in the recipe which corresponds to the 0.7 tag.
[YOCTO #1140]
Signed-off-by Richard Purdie <[email protected]>
Acked-by Joshua Lock <[email protected]>
Quoted 20 lines
--- meta/recipes-core/update-rc.d/update-rc.d_0.7.bb | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)meta/recipes-core/update-rc.d/update-rc.d_0.7.bb +4
-1@@ -7,7 +7,10 @@ LIC_FILES_CHKSUM = "file://update-rc.d;beginline=5;endline=15;md5=148a48321b10eb PR = "r4" -SRC_URI = "git://github.com/philb/update-rc.d.git;tag=update-rc.d_${PV};protocol=git \ +# Revision corresponding to tag update-rc.d_0.7 +SRCREV = "eca680ddf28d024954895f59a241a622dd575c11" + +SRC_URI = "git://github.com/philb/update-rc.d.git;protocol=git \ file://add-verbose.patch;striplevel=1" S = "${WORKDIR}/git"
Signature · 3 lines
Joshua Lock
Yocto Project "Johannes Factotum"
Intel Open Source Technology Centre