Ensure 'owner' user is created in correct place 99/188999/3 accepted/tizen/unified/20180917.195213 submit/tizen/20180914.113308
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Fri, 14 Sep 2018 08:57:39 +0000 (10:57 +0200)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Mon, 17 Sep 2018 14:00:08 +0000 (16:00 +0200)
This commit unifies standard 'owner' user creation to
generic script provided by meta-generic.

Change-Id: I8cb14fa89fbfeda9e0cd1d89ac0cdccd0c3e48f1
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
mobile.yaml
scripts/mobile-base.post [deleted file]

index 53dc40a..8f6383e 100755 (executable)
@@ -72,7 +72,7 @@ Wayland:
         - Mobile Telephony
     PostScripts:
         - generic-base
-        - mobile-base
+        - generic-users
         - generic-console-tools
         - mobile-packaging
         - mobile-adaptation
@@ -116,7 +116,7 @@ Wayland-64:
         - Mobile Telephony
     PostScripts:
         - generic-base
-        - mobile-base
+        - generic-users
         - generic-console-tools
         - mobile-packaging
         - mobile-adaptation
@@ -162,7 +162,7 @@ Emulator32-wayland:
         - Moblile dotNet Runtime
     PostScripts:
         - generic-base
-        - mobile-base
+        - generic-users
         - generic-console-tools
         - mobile-packaging
         - generic-adaptation
@@ -206,7 +206,7 @@ Emulator64-wayland:
         - Moblile dotNet Runtime
     PostScripts:
         - generic-base
-        - mobile-base
+        - generic-users
         - generic-console-tools
         - mobile-packaging
         - generic-adaptation
@@ -232,7 +232,7 @@ Headless:
         - Mobile Headless
     PostScripts:
         - generic-base
-        - mobile-base
+        - generic-users
         - generic-console-tools
         - mobile-packaging
         - generic-adaptation
diff --git a/scripts/mobile-base.post b/scripts/mobile-base.post
deleted file mode 100644 (file)
index f738e14..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-echo "############### mobile-base.post ################"
-
-######### multiuser mode: create additional users and fix their homedirs
-
-if ! generic_base_user_exists owner; then
-       gum-utils --offline --add-user --username=owner --usertype=admin --usecret=tizen
-fi
-