summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprepare_widgets.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/prepare_widgets.sh b/prepare_widgets.sh
index 34bc6a3..edff487 100755
--- a/prepare_widgets.sh
+++ b/prepare_widgets.sh
@@ -14,19 +14,20 @@ vconftool $GOPTION set -t string db/setting/accessibility/font_name "HelveticaNe
########################################################################
# PC Specific Environment settings
-mkdir -p /opt/usr/apps
-mkdir -p /opt/share/applications
+
mkdir -p /opt/share/packages
rm /opt/dbspace/.wrt*
wrt_commons_create_clean_db.sh
wrt_reset_db.sh
pkg_initdb
+
+##### WA : To reduce database creation duration : https://review.tizen.org/gerrit/5452/
mkdir -p /usr/share/applications_tmp
mv /usr/share/applications/* /usr/share/applications_tmp/
mv /usr/share/applications_tmp/*tizen*.desktop /usr/share/applications/
ail_initdb
mv /usr/share/applications_tmp/* /usr/share/applications/
-for d in dbspace home usr; do find /opt/$d -exec chsmack -a '*' {} \; ; done;
-find /usr/lib64/ -exec chsmack -a _ {} \;
+
+##### WA : To allow multi-user launch ##########
chmod -R a+rw /opt/dbspace/