[OE-core] [PATCH 0/1] remove the unnecessary protocol parameters

Martin Jansa martin.jansa at gmail.com
Fri Aug 30 09:22:20 UTC 2013


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-0002.sig>


More information about the Openembedded-core mailing list