NAK

On Mon, Sep 23, 2013 at 04:48:31PM -0500, Franklin S. Cooper Jr wrote:
> * Latest kernel sources included symbolic links that were broken and caused 
> the
>   tar command to fail.
> * Find and remove broken symlinks to avoid this issue.
> 
> Signed-off-by: Franklin S. Cooper Jr <[email protected]>
> ---
>  meta-arago-distro/classes/sourceipk.bbclass |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/meta-arago-distro/classes/sourceipk.bbclass 
> b/meta-arago-distro/classes/sourceipk.bbclass
> index 1ea0577..3b86b99 100644
> --- a/meta-arago-distro/classes/sourceipk.bbclass
> +++ b/meta-arago-distro/classes/sourceipk.bbclass
> @@ -166,6 +166,9 @@ sourceipk_do_create_srcipk() {
>              cp ${FILE} $tmp_dir/${SRCIPK_INSTALL_DIR}/
>          fi
>  
> +        # Remove any broken symlinks that causes tar to fail when encountered
> +        find -L $tmp_dir/${SRCIPK_INSTALL_DIR} -type l  -exec rm {} \;
> +
>          #Write the data tarball
>          tar -C $tmp_dir --owner=0 --group=0 -chzf $srcipk_dir/data.tar.gz .
>  
> -- 
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to