* [meta-oe] cramfs: download source tarball from http server instead of cvs server
@ 2012-12-05 6:45 Zhenhua Luo
2012-12-05 8:58 ` Koen Kooi
0 siblings, 1 reply; 2+ messages in thread
From: Zhenhua Luo @ 2012-12-05 6:45 UTC (permalink / raw)
To: openembedded-devel; +Cc: B29882
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://anonymous@cramfs.cvs.sourceforge.net/cvsroot/cramfs;module=linux'. Unable to fetch URL from any source.
Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
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
diff --git a/meta-oe/recipes-support/cramfs/cramfs_1.1.bb b/meta-oe/recipes-support/cramfs/cramfs_1.1.bb
new file mode 100644
index 0000000..78060d8
--- /dev/null
+++ b/meta-oe/recipes-support/cramfs/cramfs_1.1.bb
@@ -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"
diff --git a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
deleted file mode 100644
index d9b6c06..0000000
--- a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
+++ /dev/null
@@ -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://anonymous@cramfs.cvs.sourceforge.net/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"
-
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-oe] cramfs: download source tarball from http server instead of cvs server
2012-12-05 6:45 [meta-oe] cramfs: download source tarball from http server instead of cvs server Zhenhua Luo
@ 2012-12-05 8:58 ` Koen Kooi
0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2012-12-05 8:58 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 05-12-12 07:45, Zhenhua Luo schreef:
> 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://anonymous@cramfs.cvs.sourceforge.net/cvsroot/cramfs;module=linux'.
> Unable to fetch URL from any source.
>
> Signed-off-by: Zhenhua Luo <b19537@freescale.com> ---
> 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-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-05 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-05 6:45 [meta-oe] cramfs: download source tarball from http server instead of cvs server Zhenhua Luo
2012-12-05 8:58 ` Koen Kooi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox