Skip to contentSkip to conversation

conf/distro: remove unused variable CVS_TARBALL_STASH

PATCH In review Andreas Oberritter 4 participants 9 messages Dec 8, 2010 – Dec 16, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 conf/distro: remove unused variable CVS_TARBALL_STASH

---
 conf/distro/angstrom-2008.1.conf |    5 -----
 conf/distro/include/oplinux.inc  |    4 ----
 conf/distro/include/slugos.inc   |    1 -
 conf/distro/kaeilos.conf         |    6 ------
 conf/distro/shr.conf             |    2 --
 5 files changed, 0 insertions(+), 18 deletions(-)
conf/distro/angstrom-2008.1.conf +0 -5
index ec03276..30ec35b 100644
@@ -50,11 +50,6 @@ FEED_BASEPATH = "feeds/unstable/${ANGSTROM_PKG_FORMAT}/${LIBC}/"
 # Uncomment this to fetch packaged-staging packages from the central angstrom server
 #PSTAGE_MIRROR = "${ANGSTROM_URI}/${FEED_BASEPATH}packaged-staging"
 
-#The angstrom-mirrors.bbclass should have everything, but we can use this as a fallback
-CVS_TARBALL_STASH ?= "\
-		     http://www.angstrom-distribution.org/unstable/sources/ \
-		    "
-
 
 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
 KERNEL = "kernel26"
conf/distro/include/oplinux.inc +0 -4
index 36eca58..6e6bddb 100644
@@ -28,10 +28,6 @@ MAINTAINER = "Digital OPSiS Developers Team <[email protected]
 # Packaging and output format
 IMAGE_FSTYPES = "tar.gz jffs2 ext2.gz cramfs squashfs squashfs-lzma cpio.gz"
 
-# Specifies a location to search for pre-generated tarballs when fetching
-# a cvs:// URI. Outcomment this, if you always want to pull directly from CVS.
-#CVS_TARBALL_STASH = "http://www.digital-opsis.com/oplinux/sources/"
-
 PREMIRRORS = "(ftp|http)://.*/.*/ http://source.digital-opsis.com/"
 
 #
conf/distro/include/slugos.inc +0 -1
index c2a380d..07dfd65 100644
@@ -109,7 +109,6 @@ DISTRO_EXTRA_DEPENDS ?= ""
 DISTRO_EXTRA_RDEPENDS ?= ""
 DISTRO_EXTRA_RRECOMMENDS ?= ""
 
-CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/"
 INHERIT += "nslu2-mirrors"
 
 #FIXME: HACK: REMOVE THIS
conf/distro/kaeilos.conf +0 -6
index 815d40f..84ea4e7 100644
@@ -48,12 +48,6 @@ EXTRA_IMAGECMD_ext2 = "-i 4096"
 FEED_BASEPATH = "feeds/unstable/${ANGSTROM_PKG_FORMAT}/${LIBC}/"
 
 
-#The angstrom-mirrors.bbclass should have everything, but we can use this as a fallback
-CVS_TARBALL_STASH ?= "\
-		     http://www.angstrom-distribution.org/unstable/sources/ \
-		    "
-
-
 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
 KERNEL = "kernel26"
 MACHINE_KERNEL_VERSION = "2.6"
conf/distro/shr.conf +0 -2
index 0258231..bf615f8 100644
@@ -79,8 +79,6 @@ ANGSTROM_BLACKLIST_pn-linux-ml403-mvista-2.6.x = "strange kernel, spank maintain
 ANGSTROM_BLACKLIST_pn-linux-davinci = "strange kernel, spank maintainer"
 
 
-CVS_TARBALL_STASH += "http://build.shr-project.org/sources/"
-
 #The shr-mirrors.bbclass repleaces this
 #PREMIRRORS = "(ftp|https?)$://.*/.* http://build.shr-project.org/sources/"
 INHERIT += "shr-mirrors" 
Signature · 1 line
1.7.2.3
#1 lore raw

PATCH 2/4 conf/local.conf.sample: remove unused variable CVS_TARBALL_STASH

---
 conf/local.conf.sample |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
conf/local.conf.sample +0 -4
index 1085163..ac42f29 100644
@@ -176,10 +176,6 @@ IMAGE_FSTYPES = "jffs2 tar"
 # Uncomment this if you want BitBake to emit the log if a build fails.
 BBINCLUDELOGS = "yes"
 
-# Specifies a location to search for pre-generated tarballs when fetching
-# a cvs:// URI. Outcomment this, if you always want to pull directly from CVS.
-#CVS_TARBALL_STASH = ""
-
 # Uncomment this if you want to install shared libraries directly under their SONAME,
 # rather than installing as the full version and symlinking to the SONAME.
 # PACKAGE_SNAP_LIB_SYMLINKS = "1"
Signature · 1 line
1.7.2.3
#2 lore raw

PATCH 3/4 usermanual: remove unused variable CVS_TARBALL_STASH

In reply to Andreas Oberritter
---
 docs/usermanual/reference/var_src_uri.xml |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
docs/usermanual/reference/var_src_uri.xml +0 -9
index c4f30a2..706452f 100644
@@ -351,15 +351,6 @@ SRC_URI[sha256sum] = &quot;36bdb85c97b39ac604bc58cb7857ee08295242c78a12848ef8a31
 
     <para>Related variables:<variablelist>
         <varlistentry>
-          <term>CVS_TARBALL_STASH</term>
-
-          <listitem>
-            <para>Used to specifies a location to search for pre-generated tar
-            archives to use instead of accessing cvs directly.</para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
           <term>CVSDIR</term>
 
           <listitem>
Signature · 1 line
1.7.2.3
#3 lore raw

PATCH 4/4 linux-omap-hah: remove unused variable CVS_TARBALL_STASH

In reply to Andreas Oberritter
---
 recipes/linux/linux-omap-hah_2.6.31.bb |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
recipes/linux/linux-omap-hah_2.6.31.bb +0 -2
index cc7fbf9..89fd8ea 100644
@@ -13,8 +13,6 @@ SRC_URI = "git://github.com/buglabs/bug20-2.6.31-omap.git;branch=master;protocol
 
 S = "${WORKDIR}/git"
 
-CVS_TARBALL_STASH = ""
-
 do_configure_prepend() {
 	cp arch/arm/configs/omap3_bug_defconfig ${WORKDIR}/defconfig
 }
Signature · 1 line
1.7.2.3
#5 lore raw
In reply to Andreas Oberritter

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

And it isn't used in bitbake either?

Quoted 74 lines · Andreas Oberritter
---
 conf/distro/angstrom-2008.1.conf |    5 -----
 conf/distro/include/oplinux.inc  |    4 ----
 conf/distro/include/slugos.inc   |    1 -
 conf/distro/kaeilos.conf         |    6 ------
 conf/distro/shr.conf             |    2 --
 5 files changed, 0 insertions(+), 18 deletions(-)
conf/distro/angstrom-2008.1.conf +0 -5
index ec03276..30ec35b 100644
@@ -50,11 +50,6 @@ FEED_BASEPATH = "feeds/unstable/${ANGSTROM_PKG_FORMAT}/${LIBC}/"
 # Uncomment this to fetch packaged-staging packages from the central angstrom server
 #PSTAGE_MIRROR = "${ANGSTROM_URI}/${FEED_BASEPATH}packaged-staging"
 
-#The angstrom-mirrors.bbclass should have everything, but we can use this as a fallback
-CVS_TARBALL_STASH ?= "\
-		     http://www.angstrom-distribution.org/unstable/sources/ \
-		    "
-
 
 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
 KERNEL = "kernel26"
conf/distro/include/oplinux.inc +0 -4
index 36eca58..6e6bddb 100644
@@ -28,10 +28,6 @@ MAINTAINER = "Digital OPSiS Developers Team <[email protected]
 # Packaging and output format
 IMAGE_FSTYPES = "tar.gz jffs2 ext2.gz cramfs squashfs squashfs-lzma cpio.gz"
 
-# Specifies a location to search for pre-generated tarballs when fetching
-# a cvs:// URI. Outcomment this, if you always want to pull directly from CVS.
-#CVS_TARBALL_STASH = "http://www.digital-opsis.com/oplinux/sources/"
-
 PREMIRRORS = "(ftp|http)://.*/.*/ http://source.digital-opsis.com/"
 
 #
conf/distro/include/slugos.inc +0 -1
index c2a380d..07dfd65 100644
@@ -109,7 +109,6 @@ DISTRO_EXTRA_DEPENDS ?= ""
 DISTRO_EXTRA_RDEPENDS ?= ""
 DISTRO_EXTRA_RRECOMMENDS ?= ""
 
-CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/"
 INHERIT += "nslu2-mirrors"
 
 #FIXME: HACK: REMOVE THIS
conf/distro/kaeilos.conf +0 -6
index 815d40f..84ea4e7 100644
@@ -48,12 +48,6 @@ EXTRA_IMAGECMD_ext2 = "-i 4096"
 FEED_BASEPATH = "feeds/unstable/${ANGSTROM_PKG_FORMAT}/${LIBC}/"
 
 
-#The angstrom-mirrors.bbclass should have everything, but we can use this as a fallback
-CVS_TARBALL_STASH ?= "\
-		     http://www.angstrom-distribution.org/unstable/sources/ \
-		    "
-
-
 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
 KERNEL = "kernel26"
 MACHINE_KERNEL_VERSION = "2.6"
conf/distro/shr.conf +0 -0
index 0258231..bf615f8 100644

conf/distro/shr.conf ANGSTROM_BLACKLIST_pn-linux-ml403-mvista-2.6.x = "strange kernel, spank maintain · line 84

Quoted 8 lines
conf/distro/shr.conf +0 -2
@@ -79,8 +79,6 @@ ANGSTROM_BLACKLIST_pn-linux-ml403-mvista-2.6.x = "strange kernel, spank maintain
 ANGSTROM_BLACKLIST_pn-linux-davinci = "strange kernel, spank maintainer"
 
 
-CVS_TARBALL_STASH += "http://build.shr-project.org/sources/"
-
 #The shr-mirrors.bbclass repleaces this
 #PREMIRRORS = "(ftp|https?)$://.*/.* http://build.shr-project.org/sources/"
 INHERIT += "shr-mirrors" 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFM/9XwMkyGM64RGpERAindAJ9FJeNOloPLf/v2Jv9RKr7JW366ZwCdGimT bFe9TDngOxtkNwXsFz+zsaE=
=wRqx
-----END PGP SIGNATURE-----

#6 lore raw
Quoted 1 line · Koen Kooi

And it isn't used in bitbake either?

BitBake master and 1.10 don't use it. Now that you've asked, I checked older versions and saw that 1.8 still uses the variable.

Reasons for creating the patches were a) BitBake ignoring my CVS_TARBALL_STASH variable and b) the existence of PREMIRRORS and MIRRORS, which provide more flexible functionality.

What's your opinion to solve this inconsistency between BitBake versions?

Regards,
Andreas

Quoted 78 lines · Andreas Oberritter
Quoted 75 lines
---
 conf/distro/angstrom-2008.1.conf |    5 -----
 conf/distro/include/oplinux.inc  |    4 ----
 conf/distro/include/slugos.inc   |    1 -
 conf/distro/kaeilos.conf         |    6 ------
 conf/distro/shr.conf             |    2 --
 5 files changed, 0 insertions(+), 18 deletions(-)
conf/distro/angstrom-2008.1.conf +0 -5
index ec03276..30ec35b 100644
@@ -50,11 +50,6 @@ FEED_BASEPATH = "feeds/unstable/${ANGSTROM_PKG_FORMAT}/${LIBC}/"
 # Uncomment this to fetch packaged-staging packages from the central angstrom server
 #PSTAGE_MIRROR = "${ANGSTROM_URI}/${FEED_BASEPATH}packaged-staging"
 
-#The angstrom-mirrors.bbclass should have everything, but we can use this as a fallback
-CVS_TARBALL_STASH ?= "\
-		     http://www.angstrom-distribution.org/unstable/sources/ \
-		    "
-
 
 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
 KERNEL = "kernel26"
conf/distro/include/oplinux.inc +0 -4
index 36eca58..6e6bddb 100644
@@ -28,10 +28,6 @@ MAINTAINER = "Digital OPSiS Developers Team <[email protected]
 # Packaging and output format
 IMAGE_FSTYPES = "tar.gz jffs2 ext2.gz cramfs squashfs squashfs-lzma cpio.gz"
 
-# Specifies a location to search for pre-generated tarballs when fetching
-# a cvs:// URI. Outcomment this, if you always want to pull directly from CVS.
-#CVS_TARBALL_STASH = "http://www.digital-opsis.com/oplinux/sources/"
-
 PREMIRRORS = "(ftp|http)://.*/.*/ http://source.digital-opsis.com/"
 
 #
conf/distro/include/slugos.inc +0 -1
index c2a380d..07dfd65 100644
@@ -109,7 +109,6 @@ DISTRO_EXTRA_DEPENDS ?= ""
 DISTRO_EXTRA_RDEPENDS ?= ""
 DISTRO_EXTRA_RRECOMMENDS ?= ""
 
-CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/"
 INHERIT += "nslu2-mirrors"
 
 #FIXME: HACK: REMOVE THIS
conf/distro/kaeilos.conf +0 -6
index 815d40f..84ea4e7 100644
@@ -48,12 +48,6 @@ EXTRA_IMAGECMD_ext2 = "-i 4096"
 FEED_BASEPATH = "feeds/unstable/${ANGSTROM_PKG_FORMAT}/${LIBC}/"
 
 
-#The angstrom-mirrors.bbclass should have everything, but we can use this as a fallback
-CVS_TARBALL_STASH ?= "\
-		     http://www.angstrom-distribution.org/unstable/sources/ \
-		    "
-
-
 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
 KERNEL = "kernel26"
 MACHINE_KERNEL_VERSION = "2.6"
conf/distro/shr.conf +0 -0
index 0258231..bf615f8 100644
@@ -79,8 +79,6 @@ ANGSTROM_BLACKLIST_pn-linux-ml403-mvista-2.6.x = "strange kernel, spank maintain
 ANGSTROM_BLACKLIST_pn-linux-davinci = "strange kernel, spank maintainer"
Quoted 6 lines

conf/distro/shr.conf ANGSTROM_BLACKLIST_pn-linux-ml403-mvista-2.6.x = "strange kernel, spank maintain · line 84

Quoted 5 lines
conf/distro/shr.conf +0 -2
-CVS_TARBALL_STASH += "http://build.shr-project.org/sources/"
-
 #The shr-mirrors.bbclass repleaces this
 #PREMIRRORS = "(ftp|https?)$://.*/.* http://build.shr-project.org/sources/"
 INHERIT += "shr-mirrors" 

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#7 lore raw

Ping.

I think we should at least remove this variable from local.conf.sample and from the documentation, because bitbake >= 1.10 does not support it (patches 2 and 3).

http://patches.openembedded.org/patch/15/
http://patches.openembedded.org/patch/17/

Quoted 110 lines · Andreas Oberritter
Quoted 1 line · Koen Kooi

And it isn't used in bitbake either?

BitBake master and 1.10 don't use it. Now that you've asked, I checked older versions and saw that 1.8 still uses the variable.

Reasons for creating the patches were a) BitBake ignoring my CVS_TARBALL_STASH variable and b) the existence of PREMIRRORS and MIRRORS, which provide more flexible functionality.

What's your opinion to solve this inconsistency between BitBake versions?

Regards,
Andreas

Quoted 78 lines · Andreas Oberritter
Quoted 75 lines
---
 conf/distro/angstrom-2008.1.conf |    5 -----
 conf/distro/include/oplinux.inc  |    4 ----
 conf/distro/include/slugos.inc   |    1 -
 conf/distro/kaeilos.conf         |    6 ------
 conf/distro/shr.conf             |    2 --
 5 files changed, 0 insertions(+), 18 deletions(-)
conf/distro/angstrom-2008.1.conf +0 -5
index ec03276..30ec35b 100644
@@ -50,11 +50,6 @@ FEED_BASEPATH = "feeds/unstable/${ANGSTROM_PKG_FORMAT}/${LIBC}/"
 # Uncomment this to fetch packaged-staging packages from the central angstrom server
 #PSTAGE_MIRROR = "${ANGSTROM_URI}/${FEED_BASEPATH}packaged-staging"
 
-#The angstrom-mirrors.bbclass should have everything, but we can use this as a fallback
-CVS_TARBALL_STASH ?= "\
-		     http://www.angstrom-distribution.org/unstable/sources/ \
-		    "
-
 
 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
 KERNEL = "kernel26"
conf/distro/include/oplinux.inc +0 -4
index 36eca58..6e6bddb 100644
@@ -28,10 +28,6 @@ MAINTAINER = "Digital OPSiS Developers Team <[email protected]
 # Packaging and output format
 IMAGE_FSTYPES = "tar.gz jffs2 ext2.gz cramfs squashfs squashfs-lzma cpio.gz"
 
-# Specifies a location to search for pre-generated tarballs when fetching
-# a cvs:// URI. Outcomment this, if you always want to pull directly from CVS.
-#CVS_TARBALL_STASH = "http://www.digital-opsis.com/oplinux/sources/"
-
 PREMIRRORS = "(ftp|http)://.*/.*/ http://source.digital-opsis.com/"
 
 #
conf/distro/include/slugos.inc +0 -1
index c2a380d..07dfd65 100644
@@ -109,7 +109,6 @@ DISTRO_EXTRA_DEPENDS ?= ""
 DISTRO_EXTRA_RDEPENDS ?= ""
 DISTRO_EXTRA_RRECOMMENDS ?= ""
 
-CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/"
 INHERIT += "nslu2-mirrors"
 
 #FIXME: HACK: REMOVE THIS
conf/distro/kaeilos.conf +0 -6
index 815d40f..84ea4e7 100644
@@ -48,12 +48,6 @@ EXTRA_IMAGECMD_ext2 = "-i 4096"
 FEED_BASEPATH = "feeds/unstable/${ANGSTROM_PKG_FORMAT}/${LIBC}/"
 
 
-#The angstrom-mirrors.bbclass should have everything, but we can use this as a fallback
-CVS_TARBALL_STASH ?= "\
-		     http://www.angstrom-distribution.org/unstable/sources/ \
-		    "
-
-
 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
 KERNEL = "kernel26"
 MACHINE_KERNEL_VERSION = "2.6"
conf/distro/shr.conf +0 -0
index 0258231..bf615f8 100644
@@ -79,8 +79,6 @@ ANGSTROM_BLACKLIST_pn-linux-ml403-mvista-2.6.x = "strange kernel, spank maintain
 ANGSTROM_BLACKLIST_pn-linux-davinci = "strange kernel, spank maintainer"
Quoted 6 lines

conf/distro/shr.conf ANGSTROM_BLACKLIST_pn-linux-ml403-mvista-2.6.x = "strange kernel, spank maintain · line 84

Quoted 5 lines
conf/distro/shr.conf +0 -2
-CVS_TARBALL_STASH += "http://build.shr-project.org/sources/"
-
 #The shr-mirrors.bbclass repleaces this
 #PREMIRRORS = "(ftp|https?)$://.*/.* http://build.shr-project.org/sources/"
 INHERIT += "shr-mirrors" 

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel