* Re: [PATCH] sourceipk.bbclass: Remove broken symbolic links
2013-09-23 21:48 [PATCH] sourceipk.bbclass: Remove broken symbolic links Franklin S. Cooper Jr
@ 2013-09-23 21:34 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2013-09-23 21:34 UTC (permalink / raw)
To: Franklin S. Cooper Jr; +Cc: meta-arago
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 <fcooper@ti.com>
> ---
> 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
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] sourceipk.bbclass: Remove broken symbolic links
@ 2013-09-23 21:48 Franklin S. Cooper Jr
2013-09-23 21:34 ` Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Franklin S. Cooper Jr @ 2013-09-23 21:48 UTC (permalink / raw)
To: meta-arago; +Cc: Franklin S. Cooper Jr
* 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 <fcooper@ti.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-23 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-23 21:48 [PATCH] sourceipk.bbclass: Remove broken symbolic links Franklin S. Cooper Jr
2013-09-23 21:34 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.