[meta-oe,1/2] libjs-jquery-icheck: Use hardcoded SHA for srcrev

Message ID 20220211174628.2525008-1-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/2] libjs-jquery-icheck: Use hardcoded SHA for srcrev | expand

Commit Message

Khem Raj Feb. 11, 2022, 5:46 p.m. UTC
Using tags is not good since it will fail to fetch with no network
turned on

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb b/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
index f14b619a94..31c3534b88 100644
--- a/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
+++ b/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
@@ -5,11 +5,9 @@  HOMEPAGE = "http://fronteed.com/iCheck"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://icheck.js;start_line=1;end_line=8;md5=404078d7de9f05ed64d364274f790055"
 
-DEPENDS = "virtual/libc"
+SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV}"
 
-SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV};tag=${PV}"
-
-FILES:${PN} += "${datadir}/javascript/jquery-icheck"
+SRCREV = "c8c1af84e4b90b4aea31466aad09bf877619e943"
 
 S = "${WORKDIR}/git"
 
@@ -40,3 +38,5 @@  do_install() {
         install -m 0644 ${S}/skins/square/* ${D}${datadir}/javascript/jquery-icheck/skins/square/
 }
 
+FILES:${PN} += "${datadir}/javascript/jquery-icheck"
+