sourceipk.bbclass: Remove broken symbolic links
PATCH 1/1 sourceipk.bbclass: Remove broken symbolic links
* 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(-)
meta-arago-distro/classes/sourceipk.bbclass +3 -0
@@ -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 .
Signature · 1 line
1.7.0.4
NAK
Quoted 30 lines · 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 <[email protected]>--- meta-arago-distro/classes/sourceipk.bbclass | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)meta-arago-distro/classes/sourceipk.bbclass +3
-0@@ -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 .Signature · 6 lines
1.7.0.4 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago