On Thu, Dec 04, 2014 at 05:38:47PM +0800, Qian Lei wrote: > libjs-sizzle is a pure-javascript CSS selector engine > > Signed-off-by: Qian Lei <[email protected]> > --- > meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb | 21 > +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > create mode 100644 meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb > > diff --git a/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb > b/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb > new file mode 100644 > index 0000000..d773617 > --- /dev/null > +++ b/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb > @@ -0,0 +1,21 @@ > +SUMMARY = "Pure-JavaScript CSS selector engine" > +LICENSE = "GPLv2+ & MIT & BSD-3-Clause" > +LIC_FILES_CHKSUM = > "file://usr/share/doc/libjs-sizzle/copyright;md5=9b35efb1635ff8f06d1984376b06ee5a" > + > +SRC_URI = > "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/${BPN}_${PV}-1_all.deb;subdir=${BP}" > +SRC_URI[md5sum] = "d88d4ed02a2098e32ba057cc0c2724ba" > +SRC_URI[sha256sum] = > "604029bc97b6e84da7e9eba4cef8e822c80d9255cf3d9e1d0f7d53652b0986aa"
Fails to fetch: NOTE: recipe libjs-sizzle-1.9.3-r0: task do_fetch: Started WARNING: Checksum failure encountered with download of http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/libjs-sizzle_1.9.3-1_all.deb;subdir=libjs-sizzle-1.9.3 - will attempt other sources if available WARNING: Renaming /home/jenkins/oe/world/shr-core/downloads/libjs-sizzle_1.9.3-1_all.deb to /home/jenkins/oe/world/shr-core/downloads/libjs-sizzle_1.9.3-1_all.deb_bad-checksum_748b8805e21caed658f6765f7c491d46 ERROR: Fetcher failure for URL: 'http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/libjs-sizzle_1.9.3-1_all.deb;subdir=libjs-sizzle-1.9.3'. Checksum mismatch! File: '/home/jenkins/oe/world/shr-core/downloads/libjs-sizzle_1.9.3-1_all.deb' has md5 checksum 748b8805e21caed658f6765f7c491d46 when d88d4ed02a2098e32ba057cc0c2724ba was expected File: '/home/jenkins/oe/world/shr-core/downloads/libjs-sizzle_1.9.3-1_all.deb' has sha256 checksum 2a6468763c40a30f6f7d0df8906cd17aaebd6edaa5478aeaffd7b6b5fb8abd35 when 604029bc97b6e84da7e9eba4cef8e822c80d9255cf3d9e1d0f7d53652b0986aa was expected If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe: SRC_URI[md5sum] = "748b8805e21caed658f6765f7c491d46" SRC_URI[sha256sum] = "2a6468763c40a30f6f7d0df8906cd17aaebd6edaa5478aeaffd7b6b5fb8abd35" Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified. ERROR: Function failed: Fetcher failure for URL: 'http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/libjs-sizzle_1.9.3-1_all.deb;subdir=libjs-sizzle-1.9.3'. Unable to fetch URL from any source. > + > +SIZZLEDIR = "${datadir}/javascript/sizzle" > +SIZZLEDOCDIR = "${docdir}/libjs-sizzle" > + > +do_install() { > + install -d -m 0755 ${D}${SIZZLEDIR} > + install -m 0644 ${S}${SIZZLEDIR}/sizzle.js ${D}${SIZZLEDIR}/ > + install -m 0644 ${S}${SIZZLEDIR}/sizzle.min.js ${D}${SIZZLEDIR}/ > + > + install -d -m 0755 ${D}${SIZZLEDOCDIR} > + install -m 0644 ${S}${SIZZLEDOCDIR}/* ${D}${SIZZLEDOCDIR}/ > +} > + > +FILES_${PN} = "/usr/share/javascript/sizzle/" > -- > 1.8.3.1 > > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- Martin 'JaMa' Jansa jabber: [email protected]
signature.asc
Description: Digital signature
-- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
