Adjust post scripts 66/54566/3 submit/tizen_mobile/20151216.072301
authorJoonsub Lee <joon-sub.lee@samsung.com>
Wed, 16 Dec 2015 07:08:58 +0000 (16:08 +0900)
committerJoonsub Lee <joon-sub.lee@samsung.com>
Wed, 16 Dec 2015 07:22:36 +0000 (16:22 +0900)
Change-Id: I7325200542f446b9cc80b712272b69d6247e9a17
Signed-off-by: Joonsub Lee <joon-sub.lee@samsung.com>
ks/mobile-wayland-armv7l-tm1.yaml
mobile.yaml
scripts/mobile-adaptation-tm1.post [new file with mode: 0644]
scripts/mobile-base.post
scripts/mobile-user.post [new file with mode: 0644]

index 639cfa0..68305b4 100644 (file)
@@ -13,4 +13,6 @@ Repos:
     - mobile-target-TM1
 Groups:
     - Mobile Adaptation TM1
+PostScripts:
+    - mobile-adaptation-tm1
 ExtraPackages: []
index acf9f58..682e163 100644 (file)
@@ -82,6 +82,7 @@ Wayland:
         - mobile-web-framework
         - mobile-bluetooth
         - mobile-mbr-3parts
+        - mobile-user
     Repos: []
     NoChrootScripts:
         - buildname
@@ -127,6 +128,7 @@ Wayland-64:
         - mobile-web-framework
         - mobile-bluetooth
         - mobile-mbr-3parts
+        - mobile-user
     Repos: []
     NoChrootScripts:
         - buildname
@@ -174,6 +176,7 @@ Emulator32-wayland:
         - generic-crosswalk
         - mobile-web-framework
         - mobile-bluetooth
+        - mobile-user
     Repos: []
     NoChrootScripts:
         - buildname
@@ -221,6 +224,7 @@ Emulator64-wayland:
         - generic-crosswalk
         - mobile-web-framework
         - mobile-bluetooth
+        - mobile-user
     Repos: []
     NoChrootScripts:
         - buildname
diff --git a/scripts/mobile-adaptation-tm1.post b/scripts/mobile-adaptation-tm1.post
new file mode 100644 (file)
index 0000000..aee530b
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+echo "#################### mobile-adaptation-tm1.post ####################"
+
+# remove exported dzImage and dzImage-recovery
+rm /boot/kernel/dzImage
+rm /boot/kernel/dzImage-recovery
+
index 50e13b6..f738e14 100644 (file)
@@ -7,9 +7,3 @@ if ! generic_base_user_exists owner; then
        gum-utils --offline --add-user --username=owner --usertype=admin --usecret=tizen
 fi
 
-for user in alice bob carol guest; do
-       if ! generic_base_user_exists $user; then
-               gum-utils --offline --add-user --username="$user" --usertype=normal --usecret=tizen
-       fi
-done
-
diff --git a/scripts/mobile-user.post b/scripts/mobile-user.post
new file mode 100644 (file)
index 0000000..bbdee48
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+echo "############### mobile-user.post ################"
+
+for user in alice bob carol guest; do
+ if ! generic_base_user_exists $user; then
+  gum-utils --offline --add-user --username="$user" --usertype=normal --usecret=tizen
+ fi
+done
+