From: Seung-Woo Kim Date: Wed, 23 Dec 2015 01:36:08 +0000 (+0900) Subject: Adjust files for tm1 X-Git-Tag: accepted/tizen/mobile/20151223.053318^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F55302%2F1;p=profile%2Fmobile%2Fmeta-mobile.git Adjust files for tm1 This patch remove dzImage-recovery from tm1 binary because it is never used by u-boot-tm1. Also it is possible that there are no dzImage and dzImage-recovery files, so add -f option to ignore the nonexistent case. Change-Id: I6dd8b519134f284cf813d93a7c570ae49f3a4f19 Signed-off-by: Joonsub Lee --- diff --git a/ks/mobile-wayland-armv7l-tm1.yaml b/ks/mobile-wayland-armv7l-tm1.yaml index 68305b4..58b1abc 100644 --- a/ks/mobile-wayland-armv7l-tm1.yaml +++ b/ks/mobile-wayland-armv7l-tm1.yaml @@ -8,7 +8,6 @@ Mic2Options: -d -f loop --pack-to=@NAME@.tar.gz FileName: mobile-wayland-armv7l-tm1 Attachment: - /boot/kernel/dzImage - - /boot/kernel/dzImage-recovery Repos: - mobile-target-TM1 Groups: diff --git a/scripts/mobile-adaptation-tm1.post b/scripts/mobile-adaptation-tm1.post index f5b8e36..83acdd6 100644 --- a/scripts/mobile-adaptation-tm1.post +++ b/scripts/mobile-adaptation-tm1.post @@ -2,8 +2,8 @@ echo "#################### mobile-adaptation-tm1.post ####################" # remove exported dzImage and dzImage-recovery -rm /boot/kernel/dzImage -rm /boot/kernel/dzImage-recovery +rm -f /boot/kernel/dzImage +rm -f /boot/kernel/dzImage-recovery # remove manuals, docs and headers rm -rf /usr/include