summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJoonsub Lee <joon-sub.lee@samsung.com>2015-12-16 16:08:58 +0900
committerJoonsub Lee <joon-sub.lee@samsung.com>2015-12-16 16:22:36 +0900
commit4a587da994958e319bc69d277f95c5882df73b38 (patch)
tree8f088afa60cad81b60a6f6fbb8e042706bf649c9 /scripts
parentbd2fc33f02e4b5454f75d7be09121393393cd839 (diff)
downloadmeta-mobile-4a587da994958e319bc69d277f95c5882df73b38.tar.gz
meta-mobile-4a587da994958e319bc69d277f95c5882df73b38.tar.bz2
meta-mobile-4a587da994958e319bc69d277f95c5882df73b38.zip
Change-Id: I7325200542f446b9cc80b712272b69d6247e9a17 Signed-off-by: Joonsub Lee <joon-sub.lee@samsung.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mobile-adaptation-tm1.post7
-rw-r--r--scripts/mobile-base.post6
-rw-r--r--scripts/mobile-user.post9
3 files changed, 16 insertions, 6 deletions
diff --git a/scripts/mobile-adaptation-tm1.post b/scripts/mobile-adaptation-tm1.post
new file mode 100644
index 0000000..aee530b
--- /dev/null
+++ b/scripts/mobile-adaptation-tm1.post
@@ -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
+
diff --git a/scripts/mobile-base.post b/scripts/mobile-base.post
index 50e13b6..f738e14 100644
--- a/scripts/mobile-base.post
+++ b/scripts/mobile-base.post
@@ -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
index 0000000..bbdee48
--- /dev/null
+++ b/scripts/mobile-user.post
@@ -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
+