# HG changeset patch # User Jang, Bongseo # Date 1348369168 -32400 # Node ID f46a1d105896c89f697ff7f2c8ebb6b7b8403d5d # Parent 1e5fe55974bcacbb89c5ec7f34de8a2d25ca950a 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" Message-ID: <543e2981f2b723ecd850.1348370892@localhost.localdomain> PatchWork-ID: 186178 diff -r 1e5fe55974bc -r f46a1d105896 scripts/build/kernel/linux.sh --- a/scripts/build/kernel/linux.sh Sun Sep 23 11:53:02 2012 +0900 +++ b/scripts/build/kernel/linux.sh Sun Sep 23 11:59:28 2012 +0900 @@ -41,7 +41,7 @@ "${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