[oe] [PATCH 1/4] conf/distro: remove unused variable CVS_TARBALL_STASH

Andreas Oberritter obi at opendreambox.org
Wed Dec 8 19:35:47 UTC 2010


On 12/08/2010 08:01 PM, Koen Kooi wrote:
> 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

> On 08-12-10 13:58, Andreas Oberritter wrote:
>> Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
>> ---
>>  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(-)
> 
>> diff --git a/conf/distro/angstrom-2008.1.conf b/conf/distro/angstrom-2008.1.conf
>> index ec03276..30ec35b 100644
>> --- a/conf/distro/angstrom-2008.1.conf
>> +++ b/conf/distro/angstrom-2008.1.conf
>> @@ -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"
>> diff --git a/conf/distro/include/oplinux.inc b/conf/distro/include/oplinux.inc
>> index 36eca58..6e6bddb 100644
>> --- a/conf/distro/include/oplinux.inc
>> +++ b/conf/distro/include/oplinux.inc
>> @@ -28,10 +28,6 @@ MAINTAINER = "Digital OPSiS Developers Team <oplinux-developers at digital-opsis.co
>>  # 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/"
> 
>>  #
>> diff --git a/conf/distro/include/slugos.inc b/conf/distro/include/slugos.inc
>> index c2a380d..07dfd65 100644
>> --- a/conf/distro/include/slugos.inc
>> +++ b/conf/distro/include/slugos.inc
>> @@ -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
>> diff --git a/conf/distro/kaeilos.conf b/conf/distro/kaeilos.conf
>> index 815d40f..84ea4e7 100644
>> --- a/conf/distro/kaeilos.conf
>> +++ b/conf/distro/kaeilos.conf
>> @@ -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"
>> diff --git a/conf/distro/shr.conf b/conf/distro/shr.conf
>> index 0258231..bf615f8 100644
>> --- a/conf/distro/shr.conf
>> +++ b/conf/distro/shr.conf
>> @@ -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" 
> 

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel at lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





More information about the Openembedded-devel mailing list