Adjust files for tm1 02/55302/1 accepted/tizen/mobile/20151223.053318 submit/tizen_mobile/20151223.043233
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 23 Dec 2015 01:36:08 +0000 (10:36 +0900)
committerJoonsub Lee <joon-sub.lee@samsung.com>
Wed, 23 Dec 2015 04:13:33 +0000 (13:13 +0900)
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 <joon-sub.lee@samsung.com>
ks/mobile-wayland-armv7l-tm1.yaml
scripts/mobile-adaptation-tm1.post

index 68305b4..58b1abc 100644 (file)
@@ -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:
index f5b8e36..83acdd6 100644 (file)
@@ -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