X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=scripts%2Fgeneric-desktop-applications.post;h=5b639f48d910784f70f274abd4e35dba92c5eb7a;hb=refs%2Fheads%2Ftizen;hp=363457063959bc9d41807cd435c28c464eb21a58;hpb=9f334af2d98b2177c36edfd38e0e8880deeb0c5b;p=platform%2Fupstream%2Fmeta-generic.git diff --git a/scripts/generic-desktop-applications.post b/scripts/generic-desktop-applications.post index 3634570..5b639f4 100644 --- a/scripts/generic-desktop-applications.post +++ b/scripts/generic-desktop-applications.post @@ -1,28 +1,6 @@ #!/bin/sh echo "#################### generic-desktop-applications.post ####################" -function generic_desktop_applications_buxton_unprotect() { - chsmack -a '*' /var/lib/buxton2 || true - chsmack -a '*' /var/lib/buxton2/* || true - chmod 0777 /var/lib/buxton2 || true - chmod 0666 /var/lib/buxton2/* || true -} - -function generic_desktop_applications_buxton_protect() { - chmod 0600 /var/lib/buxton2/* || true - chmod 0700 /var/lib/buxton2 || true - chsmack -a System /var/lib/buxton2/* || true - chsmack -a System /var/lib/buxton2 || true -} - -# temp workaround to fill each user app_info database with global db infos -. /etc/tizen-platform.conf -generic_desktop_applications_buxton_unprotect -ail_initdb -pkg_initdb -pkgdir_tool --create --allglobalpkgs -generic_desktop_applications_buxton_protect - # depends on generic-base functions function generic_desktop_applications_fix_userhome() { user=$1 @@ -36,5 +14,6 @@ function generic_desktop_applications_fix_userhome() { # fix TC-320 for SDK . /etc/tizen-build.conf -[ "${TZ_BUILD_WITH_EMULATOR}" == "1" ] && generic_desktop_applications_fix_userhome developer +# Disable to run below line because this results in always failure, so it can be regarded as useless. +#[ "${TZ_BUILD_WITH_EMULATOR}" == "1" ] && generic_desktop_applications_fix_userhome developer