Wind River Support Network

HomeDefectsLIN7-5574
Fixed

LIN7-5574 : CLONE - CLONE - wrl6 : archiver feature does not work properly

Created: Feb 2, 2016    Updated: Sep 8, 2018
Resolved Date: Feb 2, 2016
Previous ID: LIN6-10822
Found In Version: 7.0.0.12
Fix Version: 7.0.0.13
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config

Description

When using the feature/archiver the archive is created but the git repo inside the archive for the kernel points to another repository. 


The real source should be included : 
lrwxrwxrwx eanhedl/rnd       0 2015-03-07 21:59 ./git.indirectionsymlink -> /repo/eanhedl/build_xilinx-zynq_archiver/bitbake_build/downloads/git2/file...kernel-3.10.x-LB28_6.0_RCPL0013

this is wrong. The file git.indirectionsymlink is a symlink to my local build tree. This will not work! The file git.indirectionsymlink is a symlink to my local build tree. This will not work!

This is really high prio problem because the XMU03 product is GA now and we need to provide all FOSS.

Steps to Reproduce

We "configure" a standard "xilinx-zynq" BSP (or any other BSP like the qemuarm9)  platform build like this:

configure --with-template=feature/archiver --enable-build=production --enable-rootfs=glibc-std --enable-board=xilinx-zynq --enable-ccache=no --enable-parallel-pkgbuilds=6 --enable-jobs=40 --enable-prserver=no --enable-buildstats 

After a "make fs" the content of bitbake_build/tmp/deploy/sources/arm-wrs-linux-gnueabi/linux-windriver-3.10-r0 is this:
-rw-r--r--   2 eanhedl rnd 73057 Mar  7 21:59 file...kernel-3.10.x-LB28_6.0_RCPL0013.tar.gz

The content of the file "file...kernel-3.10.x-LB28_6.0_RCPL0013.tar.gz" is:
$ tar tvf file...kernel-3.10.x-LB28_6.0_RCPL0013.tar.gz 
drwx------ eanhedl/rnd       0 2015-03-07 21:59 ./
lrwxrwxrwx eanhedl/rnd       0 2015-03-07 21:59 ./git.indirectionsymlink -> /repo/eanhedl/build_xilinx-zynq_archiver/bitbake_build/downloads/git2/file...kernel-3.10.x-LB28_6.0_RCPL0013
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/info/
-rw-r--r-- eanhedl/rnd     240 2015-03-07 21:59 ./git/.git/info/exclude
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/refs/
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/refs/tags/
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/refs/remotes/
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/refs/remotes/origin/
-rw-r--r-- eanhedl/rnd      32 2015-03-07 21:59 ./git/.git/refs/remotes/origin/HEAD
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/refs/heads/
-rw-r--r-- eanhedl/rnd      41 2015-03-07 21:59 ./git/.git/refs/heads/master
-rw-r--r-- eanhedl/rnd     390 2015-03-07 21:59 ./git/.git/config
-rw-r--r-- eanhedl/rnd      73 2015-03-07 21:59 ./git/.git/description
-rw-r--r-- eanhedl/rnd      23 2015-03-07 21:59 ./git/.git/HEAD
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/branches/
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/hooks/
-rwxr-xr-x eanhedl/rnd    1239 2015-03-07 21:59 ./git/.git/hooks/prepare-commit-msg.sample
-rwxr-xr-x eanhedl/rnd    4898 2015-03-07 21:59 ./git/.git/hooks/pre-rebase.sample
-rwxr-xr-x eanhedl/rnd     896 2015-03-07 21:59 ./git/.git/hooks/commit-msg.sample
-rwxr-xr-x eanhedl/rnd    3611 2015-03-07 21:59 ./git/.git/hooks/update.sample
-rwxr-xr-x eanhedl/rnd     398 2015-03-07 21:59 ./git/.git/hooks/pre-applypatch.sample
-rwxr-xr-x eanhedl/rnd     452 2015-03-07 21:59 ./git/.git/hooks/applypatch-msg.sample
-rwxr-xr-x eanhedl/rnd     189 2015-03-07 21:59 ./git/.git/hooks/post-update.sample
-rwxr-xr-x eanhedl/rnd    1704 2015-03-07 21:59 ./git/.git/hooks/pre-commit.sample
-rw-r--r-- eanhedl/rnd  135952 2015-03-07 21:59 ./git/.git/packed-refs
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/logs/
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/logs/refs/
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/logs/refs/heads/
-rw-r--r-- eanhedl/rnd     323 2015-03-07 21:59 ./git/.git/logs/refs/heads/master
-rw-r--r-- eanhedl/rnd     323 2015-03-07 21:59 ./git/.git/logs/HEAD
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/objects/
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/objects/info/
-rw-r--r-- eanhedl/rnd     174 2015-03-07 21:59 ./git/.git/objects/info/alternates
drwxr-xr-x eanhedl/rnd       0 2015-03-07 21:59 ./git/.git/objects/pack/

The file git.indirectionsymlink is a symlink to my local build tree. This will not work!

Other Downloads


Live chat
Online