diff options
author | Joonsub Lee <joon-sub.lee@samsung.com> | 2015-12-16 16:08:58 +0900 |
---|---|---|
committer | Joonsub Lee <joon-sub.lee@samsung.com> | 2015-12-16 16:22:36 +0900 |
commit | 4a587da994958e319bc69d277f95c5882df73b38 (patch) | |
tree | 8f088afa60cad81b60a6f6fbb8e042706bf649c9 /scripts | |
parent | bd2fc33f02e4b5454f75d7be09121393393cd839 (diff) | |
download | meta-mobile-4a587da994958e319bc69d277f95c5882df73b38.tar.gz meta-mobile-4a587da994958e319bc69d277f95c5882df73b38.tar.bz2 meta-mobile-4a587da994958e319bc69d277f95c5882df73b38.zip |
Adjust post scriptssubmit/tizen_mobile/20151216.072301
Change-Id: I7325200542f446b9cc80b712272b69d6247e9a17
Signed-off-by: Joonsub Lee <joon-sub.lee@samsung.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mobile-adaptation-tm1.post | 7 | ||||
-rw-r--r-- | scripts/mobile-base.post | 6 | ||||
-rw-r--r-- | scripts/mobile-user.post | 9 |
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 + |