kernel/linux: symlink custom kernel source dir with '-f'

build fails to symlink to custom kernel dir when the build is not the first time
because of 'ln -s' without '-f' option.

Signed-off-by: "Jang, Bongseo" <graycells@gmail.com>
Message-ID: <543e2981f2b723ecd850.1348370892@localhost.localdomain>
PatchWork-ID: 186178
This commit is contained in:
Jang, Bongseo 2012-09-23 11:59:28 +09:00
parent dcd88fbd99
commit f1be07d210

View File

@ -41,7 +41,7 @@ do_kernel_get() {
"${CT_TARBALLS_DIR}/${custom_name}"
else
custom_name="linux-custom"
CT_DoExecLog DEBUG ln -s "${CT_KERNEL_LINUX_CUSTOM_LOCATION}" \
CT_DoExecLog DEBUG ln -sf "${CT_KERNEL_LINUX_CUSTOM_LOCATION}" \
"${CT_SRC_DIR}/${custom_name}"
fi
else # Not a custom tarball