projects
/
tools
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d03730
)
fix cpio introduce symlinks checking function
author
yang.zhang
<y0169.zhang@samsung.com>
Wed, 16 Mar 2016 09:33:37 +0000
(17:33 +0800)
committer
yang.zhang
<y0169.zhang@samsung.com>
Wed, 16 Mar 2016 09:34:00 +0000
(17:34 +0800)
Change-Id: I17fe90f5b25a726c274c7b8e56510e1b14d5d9dc
init_buildsystem
patch
|
blob
|
history
diff --git
a/init_buildsystem
b/init_buildsystem
index 4ceffda66ac2fb1341c0a206db09bc2e7ef0a6ff..6e832663aca358c25def26727abc54e19d29a653 100755
(executable)
--- a/
init_buildsystem
+++ b/
init_buildsystem
@@
-195,6
+195,7
@@
preinstall()
else
unsafe_preinstall_check
CPIO="cpio --extract --unconditional --preserve-modification-time --make-directories --no-absolute-filenames --quiet"
+ cpio --help 2>/dev/null | grep -q -e --extract-over-symlinks && CPIO="$CPIO --extract-over-symlinks"
TAR="tar -x"
fi
if test -e "$BUILD_ROOT/.init_b_cache/rpms/$1.rpm" ; then