summaryrefslogtreecommitdiff
path: root/etc/recipe.yaml.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/recipe.yaml.in')
-rw-r--r--etc/recipe.yaml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/recipe.yaml.in b/etc/recipe.yaml.in
index 18cf132..d5db0d0 100644
--- a/etc/recipe.yaml.in
+++ b/etc/recipe.yaml.in
@@ -146,7 +146,7 @@ PostScripts:
sed -ri "s/(^blacklist i8042.*$)/#fix from base-general.post \1/" /etc/modprobe.d/blacklist.conf'
Name: generic-adaptation
-- Contents: "#!/bin/sh\necho \"#################### generic-users.post ####################\"\n\nif ! generic_base_user_exists owner; then\n # By default GUM will create users in /opt/etc/passwd, which is\n # additional users database suitable for end-user created accounts.\n # However, the 'owner' user is shipped by Tizen system itself and\n # it's its default user. Consequently, it should always be available\n # and thus, it should be added to /etc/passwd.\n conf=/etc/gumd/gumd.conf\n origf=${conf}.orig\n mv -v $conf $origf\n sed -e 's,^\\(PASSWD_FILE\\).*,\\1=/etc/passwd,' -e 's,^\\(SHADOW_FILE\\).*,\\1=/etc/shadow,' <$origf >$conf\n gum-utils --offline --add-user --username=owner --usertype=admin --usecret=tizen\n mv -v $origf $conf\nfi"
+- Contents: "#!/bin/sh\necho \"#################### generic-users.post ####################\"\n\nif ! generic_base_user_exists owner; then\n # By default GUM will create users in /opt/etc/passwd, which is\n # additional users database suitable for end-user created accounts.\n # However, the 'owner' user is shipped by Tizen system itself and\n # it's its default user. Consequently, it should always be available\n # and thus, it should be added to /etc/passwd.\n conf=/etc/gumd/gumd.conf\n origf=${conf}.orig\n mv -v $conf $origf\n sed -e 's,^\\(PASSWD_FILE\\).*,\\1=/etc/passwd,' -e 's,^\\(SHADOW_FILE\\).*,\\1=/etc/shadow,' <$origf >$conf\n gum-utils --offline --add-user --username=owner --usertype=admin\n sed 's/owner:x:5001/owner::5001/g' /etc/passwd > /etc/passwd_new\n mv /etc/passwd_new /etc/passwd\n mv -v $origf $conf\nfi"
Name: generic-users
- Contents: '#!/bin/sh