diff options
author | Denys Dmytriyenko <denys@ti.com> | 2015-11-09 23:19:03 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2015-11-09 14:32:50 -0500 |
commit | 634f676c8e7ce4e88fd5248b12e319b18f0ccd19 (patch) | |
tree | ef88347d000b3d4ad40f83cc209d5d4eb7f44bfc /recipes-kernel | |
parent | 7f96040e3a6e7e664ea23673953d9666cfcdc050 (diff) | |
download | meta-ti-634f676c8e7ce4e88fd5248b12e319b18f0ccd19.tar.gz |
multi-kernel: don't fail removing symlinks when config or commit changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/multi-kernel.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/linux/multi-kernel.inc b/recipes-kernel/linux/multi-kernel.inc index 64701ed4..0b7de915 100644 --- a/recipes-kernel/linux/multi-kernel.inc +++ b/recipes-kernel/linux/multi-kernel.inc | |||
@@ -84,8 +84,8 @@ do_compileconfigs () { | |||
84 | do_install | 84 | do_install |
85 | 85 | ||
86 | # Remove unused symlinks specific to configname | 86 | # Remove unused symlinks specific to configname |
87 | rm "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)/build" | 87 | rm -f "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)/build" |
88 | rm "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)/source" | 88 | rm -f "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)/source" |
89 | # In case no modules were installed, remove empty dirs | 89 | # In case no modules were installed, remove empty dirs |
90 | rmdir --ignore-fail-on-non-empty "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)/kernel" | 90 | rmdir --ignore-fail-on-non-empty "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)/kernel" |
91 | rmdir --ignore-fail-on-non-empty "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)" | 91 | rmdir --ignore-fail-on-non-empty "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)" |