cramfs: download source tarball from http server instead of cvs server
cvs server is not available sometimes:
ERROR: Fetcher failure: Fetch command failed with exit code 1, output:
cvs [checkout aborted]: reading from server: Connection reset by peer
ERROR: Function failed: Fetcher failure for URL: 'cvs://[email protected]/cvsroot/cramfs;module=linux'. Unable to fetch URL from any source.
--- meta-oe/recipes-support/cramfs/cramfs_1.1.bb | 27 +++++++++++++++++++++++ meta-oe/recipes-support/cramfs/cramfs_cvs.bb | 30 -------------------------- 2 files changed, 27 insertions(+), 30 deletions(-) create mode 100644 meta-oe/recipes-support/cramfs/cramfs_1.1.bb delete mode 100644 meta-oe/recipes-support/cramfs/cramfs_cvs.bb
meta-oe/recipes-support/cramfs/cramfs_1.1.bb new file +27 -0
@@ -0,0 +1,27 @@ +DESCRIPTION = "Builds cramfs filesystems for embedded systems" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" +DEPENDS = "zlib" + +SRC_URI = "http://sourceforge.net/projects/cramfs/files/cramfs/1.1/${PN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "d3912b9f7bf745fbfea68f6a9b9de30f" +SRC_URI[sha256sum] = "133caca2c4e7c64106555154ee0ff693f5cf5beb9421ce2eb86baee997d22368" + +EXTRA_OEMAKE = "\ + 'CC=${CC}' \ + 'CFLAGS=${CFLAGS}' \ + 'LDFLAGS=${LDFLAGS}' \ +" + +do_compile_prepend() { + ln -sf GNUmakefile Makefile +} + +do_install() { + install -d ${D}${bindir} + install mkcramfs ${D}${bindir} + install cramfsck ${D}${bindir} +} + +BBCLASSEXTEND = "native"
meta-oe/recipes-support/cramfs/cramfs_cvs.bb deleted +0 -30
@@ -1,30 +0,0 @@ -DESCRIPTION = "Builds cramfs filesystems for embedded systems" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://${WORKDIR}/linux/COPYING;md5=9579385572eb40eded61dcb07e0038a4" -DEPENDS = "zlib" -SRCDATE = "20110110" -PV = "1.1+cvs${SRCDATE}" -PR = "r1" - -SRC_URI = "cvs://[email protected]/cvsroot/cramfs;module=linux" -S = "${WORKDIR}/linux/scripts/cramfs" - -EXTRA_OEMAKE = "\ - 'CC=${CC}' \ - 'CFLAGS=${CFLAGS}' \ - 'LDFLAGS=${LDFLAGS}' \ -" - - -do_compile_prepend() { - ln -sf GNUmakefile Makefile -} - -do_install() { - install -d ${D}${bindir} - install mkcramfs ${D}${bindir} - install cramfsck ${D}${bindir} -} - -BBCLASSEXTEND = "native" -
Signature · 1 line
1.7.9.5
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 05-12-12 07:45, Zhenhua Luo schreef:
Quoted 7 lines
cvs server is not available sometimes: ERROR: Fetcher failure: Fetch command failed with exit code 1, output: cvs [checkout aborted]: reading from server: Connection reset by peer ERROR: Function failed: Fetcher failure for URL:
'cvs://[email protected]/cvsroot/cramfs;module=linux'. Unable to fetch URL from any source.
Quoted 6 lines
Signed-off-by Zhenhua Luo <[email protected]> ---meta-oe/recipes-support/cramfs/cramfs_1.1.bb | 27
+++++++++++++++++++++++ meta-oe/recipes-support/cramfs/cramfs_cvs.bb | 30 ---------------------------PV = "1.1+cvs${SRCDATE}"
You're making PV go backwards which breaks upgrades. I think the easiest workaround is to add PE = 1.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQvwyaMkyGM64RGpERAp4AAJ4zRO5JKndrB0REumT6EXYnOZJtbACeI/CS toUKxqakaRyesxs1Ab2ImSI=
=CcN4
-----END PGP SIGNATURE-----