From f1be07d21054b32bb514f3e102ffa2a854353991 Mon Sep 17 00:00:00 2001 From: "Jang, Bongseo" Date: Sun, 23 Sep 2012 11:59:28 +0900 Subject: 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 --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh index 2106216..5b191f4 100644 --- a/scripts/build/kernel/linux.sh +++ b/scripts/build/kernel/linux.sh @@ -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 -- cgit v0.10.2-6-g49f6