[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH 0/1] remove the unnecessary protocol parameters
From:       martin.jansa () gmail ! com (Martin Jansa)
Date:       2013-08-30 9:22:20
Message-ID: 20130830092220.GT3544 () jama
[Download RAW message or body]

On Fri, Aug 30, 2013 at 09:56:35AM +0800, jackie.huang at windriver.com wrote:
> From: Jackie Huang <jackie.huang at windriver.com>
> 
> What I did to remove these:
> I checked that we only use git and svn:
> $ find meta \( -name *.bb -o -name *.inc -o -name *.bbclass \) -exec sed -n \
> 's/.*"\(\w*:\/\/\).*\(;protocol=\w*\)/\1 \2/p' {} \; | sort | uniq git:// \
> ;protocol=git \ git:// ;protocol=git"
> git:// ;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
> git:// ;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
> git:// ;protocol=git" % (gstpkg_basename, branch))
> git:// ;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA};name=machine,meta"
> git:// ;protocol=http \
> svn:// ;protocol=http \
> svn:// ;protocol=http;module=trunk \
> svn:// ;protocol=svn"
> 
> So I think it's safe to simply remove ";protocol=git" and ";protocol=svn":
> 
> $ find meta \( -name *.bb -o -name *.inc -o -name *.bbclass \) -exec sed -i \
> 's/;protocol=git//; s/;protocol=svn//' {} \; 
> What left with protocol parameter after removal is:
> $ find meta \( -name *.bb -o -name *.inc -o -name *.bbclass \) -exec sed -n \
> 's/.*"\(\w*:\/\/\).*\(;protocol=\w*\)/\1 \2/p' {} \; | sort | uniq git:// \
> ;protocol=http \ svn:// ;protocol=http \
> svn:// ;protocol=http;module=trunk 
> 
> Please refer to "[OE-core] [PATCH] u-boot: update to 2013.07" for detail \
> discussions. 
> tested info:
> MACHINE ??= "qemux86-64"
> 
> $ bitbake world

Would you mind running the same in meta-openembedded?

I can do the "bitbake world" part.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130830/a2407f0f/attachment.sig>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic