[poky] PREMIRRORS in yocto, do they actually work?
Koen Kooi
koen at dominion.thruhere.net
Sun Jan 2 09:15:48 PST 2011
Op 2 jan 2011, om 18:08 heeft Koen Kooi het volgende geschreven:
> Hi,
>
> I would like to have the fetchter try my PREMIRROS first before trying to fetch from git. In OE I have the following in a bbclass:
>
> PREMIRRORS_append () {
> git://.*/.* http://www.angstrom-distribution.org/unstable/sources/
> }
>
> When used in OE that works, but in yocto it doesn't. So I tried to do it poky style in a .inc:
>
> PREMIRRORS_append = "\
> git://.*/.* http:/www.angstrom-distribution.org/sources/ \n"
>
> Which also doesn't work since it doesn't try to fetch from there, but it does mention "http:/www.angstrom-distribution.org/sources/" in the fetch error message when git read-tree fails.
And the actual error message:
DEBUG: Parsing /OE/tentacle/sources/angstrom-layers/BSP/TI/recipes-bsp/x-load/x-load_git.bb (full)
DEBUG: Executing task do_fetch
NOTE: package x-load-1_1.44+r16+gitr1c9276af4d6a5b7014a7630a1abeddf3b3177563-r16: task do_fetch: Started
DEBUG: Running export HOME="/home/koen"; export GIT_CONFIG="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/etc/gitconfig"; export PATH="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/armv7a-angstrom-linux-gnueabi/usr/bin/crossscripts:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux//bin:/OE/tentacle/sources/openembedded/scripts:/OE/tentacle/sources/bitbake/bin:/OE/tentacle/sources/bitbake/bin:/OE/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/OE/tentacle/sources/openembedded/scripts"; git log --pretty=oneline -n 1 1c9276af4d6a5b7014a7630a1abeddf3b3177563 -- 2> /dev/null | wc -l
ERROR: Task failed: Unknown fetch Error: http:/www.angstrom-distribution.org/sources/
NOTE: package x-load-1_1.44+r16+gitr1c9276af4d6a5b7014a7630a1abeddf3b3177563-r16: task do_fetch: Failed
I wiped before the build, DL_DIR, so the 'git log' is always going to fail.
regards,
Koen
More information about the poky
mailing list