diff options
author | yang.zhang <y0169.zhang@samsung.com> | 2016-03-16 17:33:37 +0800 |
---|---|---|
committer | yang.zhang <y0169.zhang@samsung.com> | 2016-03-16 17:34:00 +0800 |
commit | 21a9a476339e3ff7dd1e1026a6d454d298515bc4 (patch) | |
tree | 851706abdcbe89517080dac22f081dc636e7272d /init_buildsystem | |
parent | 3d037309e5dc210de12c92657d69929524121658 (diff) | |
download | build-21a9a476339e3ff7dd1e1026a6d454d298515bc4.tar.gz build-21a9a476339e3ff7dd1e1026a6d454d298515bc4.tar.bz2 build-21a9a476339e3ff7dd1e1026a6d454d298515bc4.zip |
fix cpio introduce symlinks checking function
Change-Id: I17fe90f5b25a726c274c7b8e56510e1b14d5d9dc
Diffstat (limited to 'init_buildsystem')
-rwxr-xr-x | init_buildsystem | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init_buildsystem b/init_buildsystem index 4ceffda..6e83266 100755 --- 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 |