platform/core/appfw/slp-pkgmgr.git
9 years agoCheck and make bin directory for ug packages 97/48097/3 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150914.123622 accepted/tizen/tv/20150914.123635 accepted/tizen/wearable/20150914.123645 submit/tizen/20150914.121938 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Sangyoon Jang [Mon, 14 Sep 2015 09:56:51 +0000 (18:56 +0900)]
Check and make bin directory for ug packages

Change-Id: Ic6a37a1bc5291d8bdc2a2f60a4b31d3a08324ead
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix get_size result file path 82/48082/2
Sangyoon Jang [Mon, 14 Sep 2015 06:59:05 +0000 (15:59 +0900)]
Fix get_size result file path

create result file at /tmp/pkgmgr/
set smack label to result file as "*"

note that this method(result to tmp file) will be changed later
(this is workaround)

Change-Id: I4cda27a0e3e06bcbe1a59d9e92d6b69b599884df
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRetry when sending request failed 29/48029/6 accepted/tizen/mobile/20150911.145618 accepted/tizen/tv/20150911.145628 accepted/tizen/wearable/20150911.145642 submit/tizen/20150911.111131
Sangyoon Jang [Fri, 11 Sep 2015 08:40:56 +0000 (17:40 +0900)]
Retry when sending request failed

Change-Id: Ia6c1bb0a9b71745158f8e43edb9d8c5acf711480
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix crash at client api 31/47631/2 accepted/tizen/mobile/20150908.004322 accepted/tizen/tv/20150908.004338 accepted/tizen/wearable/20150908.004329 submit/tizen/20150907.123637
Sangyoon Jang [Mon, 7 Sep 2015 08:43:41 +0000 (17:43 +0900)]
Fix crash at client api

check the handle is null when error case

Change-Id: Iaffd67391dd8ca36bafb76399d227bad43ce92a4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix checking privilege 19/47619/2 accepted/tizen/mobile/20150907.123205 accepted/tizen/tv/20150907.123352 accepted/tizen/wearable/20150907.123544 submit/tizen/20150907.060924
Sangyoon Jang [Mon, 7 Sep 2015 05:53:46 +0000 (14:53 +0900)]
Fix checking privilege

fix input parameter order

Change-Id: Iffaeb985ce5d57136c234da9cdbdf01c9a7f884d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix labeling rule on preloaded pkgs 16/47616/3
Sangyoon Jang [Mon, 7 Sep 2015 05:34:04 +0000 (14:34 +0900)]
Fix labeling rule on preloaded pkgs

the rules which are same with private pkgs:
<pkgid>/ -> User::Home
<pkgid>/shared -> User::Home
<pkgid>/data -> User::Pkg::<pkgid>
<pkgid>/cache -> User::Pkg::<pkgid>
<pkgid>/(others) -> User::Pkg::<pkgid>::RO

Change-Id: I26bb1b27df408cc089ec50608d156e54a2bcb310
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoInstall smack rule even if fails to get app's root path 51/47551/2 accepted/tizen/mobile/20150904.140106 accepted/tizen/tv/20150904.140323 accepted/tizen/wearable/20150904.140424 submit/tizen/20150904.085212
Sangyoon Jang [Fri, 4 Sep 2015 11:31:20 +0000 (20:31 +0900)]
Install smack rule even if fails to get app's root path

some preload applications are not installed at /usr/apps/<pkgid>,
but we should install smack rules for these applications.
these application should fix their installation path

Change-Id: I2acb315004b157f3a8bd251f62068ffdec055d19
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix closing dbus connection 17/47517/2
Sangyoon Jang [Fri, 4 Sep 2015 07:03:46 +0000 (16:03 +0900)]
Fix closing dbus connection

the connection should be freed using g_object_unref

Change-Id: I6f742bf3ca57b493949272ee2120325b312a1913
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix pkg_privilege 66/47466/2 accepted/tizen/mobile/20150903.233624 accepted/tizen/tv/20150903.233644 accepted/tizen/wearable/20150903.233652 submit/tizen/20150903.141204
Sangyoon Jang [Thu, 3 Sep 2015 13:26:58 +0000 (22:26 +0900)]
Fix pkg_privilege

install for each applications in the package

Change-Id: I7bd20883844537fd5671c9e9556f98ef6a49ea89
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd build requires to dbus-glib-1 73/47373/2 accepted/tizen/mobile/20150903.053520 accepted/tizen/tv/20150903.053644 accepted/tizen/wearable/20150903.053731 submit/tizen/20150903.001243
Sangyoon Jang [Thu, 3 Sep 2015 02:20:36 +0000 (11:20 +0900)]
Add build requires to dbus-glib-1

this is temporary patch for build break (caused by sync-manager)
this should be removed

Change-Id: I2240c941bd97261945296fa85f5804c6351b7e6a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix path type to SECURTY_MANAGER_PATH_RO 69/47369/2
Sangyoon Jang [Thu, 3 Sep 2015 01:23:36 +0000 (10:23 +0900)]
Fix path type to SECURTY_MANAGER_PATH_RO

SECURTY_MANAGER_PATH_PRIVATE is no longer available

Change-Id: Ib3f66164d1d656f2efd3efc725d4e1aa5a0ea630
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUse gdbus instead of dbus-glib 63/46763/6
Sangyoon Jang [Wed, 26 Aug 2015 01:41:13 +0000 (10:41 +0900)]
Use gdbus instead of dbus-glib

use gdbus at pkgmgr-server
use gdbus at pkgmgr-installer (sending signal)

TODO:
check privilege via dbus

Change-Id: I7892d1cd137f2f4ad9dc90439a47898fdf8b6d1d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix pkg_getsize, add checking clearcache privilege 75/46975/1 accepted/tizen/mobile/20150828.012429 accepted/tizen/tv/20150828.012456 accepted/tizen/wearable/20150828.012516 submit/tizen/20150827.124904
Sangyoon Jang [Thu, 27 Aug 2015 12:43:54 +0000 (21:43 +0900)]
Fix pkg_getsize, add checking clearcache privilege

send signal correctly in pkg_getsize
add handling clearcache request
add privilege for clear cache request

Change-Id: I9b3184ee04e7e5dfc9a50eee606bf48648e4d694
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix double free 99/46899/1
Sangyoon Jang [Thu, 27 Aug 2015 05:10:02 +0000 (14:10 +0900)]
Fix double free

Change-Id: Ib8871c2e103d4e1d3995ba39f3f4e5a011e7283d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoClean up repository, remove warnings 88/46488/4
Sangyoon Jang [Fri, 21 Aug 2015 05:35:37 +0000 (14:35 +0900)]
Clean up repository, remove warnings

remove ail, ail_vconf dependency
remove po files
remove unused tools
remove old apis:
  pkgmgr_get_pkg_list
  pkgmgr_info_new
  pkgmgr_info_new_from_file
  pkgmgr_info_get_string
  pkgmgr_info_free

Change-Id: I11fad0b2507f953b3ba6c30eeddc3b34fb40530e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoDon't try to kill running app on uninstall/move pkg 47/46547/2 accepted/tizen/mobile/20150824.134503 accepted/tizen/tv/20150824.134526 accepted/tizen/wearable/20150824.134535 submit/tizen/20150824.024939
Sangyoon Jang [Fri, 21 Aug 2015 11:25:30 +0000 (20:25 +0900)]
Don't try to kill running app on uninstall/move pkg

this should be done by installer

Change-Id: I520db7905b615e40cc5b9c77454d2873dd4421c3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd filter prop for support-disable on pkg_info 38/46438/6
Sangyoon Jang [Thu, 20 Aug 2015 08:36:01 +0000 (17:36 +0900)]
Add filter prop for support-disable on pkg_info

Change-Id: I459d356c6116e9949418a4532c24e510d8a20415
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix pkg_getsize.c 15/46415/6
Sangyoon Jang [Thu, 20 Aug 2015 05:55:51 +0000 (14:55 +0900)]
Fix pkg_getsize.c

add comments on getsize_type enums
revise pkg_getsize.c
add req_key when launch pkg_getsize

Change-Id: I7be4db21449f15c80ec7e104d328b4389c56c093
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix recovery file path 21/46421/3
Sangyoon Jang [Thu, 20 Aug 2015 07:10:59 +0000 (16:10 +0900)]
Fix recovery file path

Change-Id: Ica59f3ef842414846e6108f0aa86ed1beacfc69d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix pkg_privilege 45/46145/1 accepted/tizen/mobile/20150817.134152 accepted/tizen/tv/20150817.134535 accepted/tizen/wearable/20150817.134816 submit/tizen/20150817.084057
Sangyoon Jang [Mon, 17 Aug 2015 07:56:07 +0000 (16:56 +0900)]
Fix pkg_privilege

fix getting app root path
installer now creates directory as Tizen 2.3

Change-Id: Iacfde3ccd7811f7633bfcd80bdbed1a58dd067a2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd filter prop for package privilege on pkg_info 31/46131/2
Sangyoon Jang [Mon, 17 Aug 2015 06:22:34 +0000 (15:22 +0900)]
Add filter prop for package privilege on pkg_info

Change-Id: I2488acb4e45867c2825638e7284dc2645f8633f2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd ui-gadget install tool 85/45985/3 accepted/tizen/mobile/20150814.112852 accepted/tizen/tv/20150814.113012 accepted/tizen/wearable/20150814.112930 submit/tizen/20150814.080020
Sangyoon Jang [Thu, 13 Aug 2015 02:42:40 +0000 (11:42 +0900)]
Add ui-gadget install tool

add ui-gadget install tool
add filter prop for ui-gadget on pkg_info

Change-Id: I18a85e35b046b5fb4d0c1c466ddc2ea9fd8c4864
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix bug in pkg_info 75/45775/1 accepted/tizen/mobile/20150813.012025 accepted/tizen/tv/20150813.012036 accepted/tizen/wearable/20150813.012049 submit/tizen/20150811.103743 submit/tizen/20150812.102005 submit/tizen_mobile/20150812.025625
Sangyoon Jang [Tue, 11 Aug 2015 06:59:00 +0000 (15:59 +0900)]
Fix bug in pkg_info

fix double free when input invalid filter property

Change-Id: I20ef8a71af51b959482e25dc12fcc5b9024996e2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove obsolete apis 09/44809/3
Sangyoon Jang [Tue, 28 Jul 2015 05:58:18 +0000 (14:58 +0900)]
Remove obsolete apis

we should use pkgmgr-info apis instead of pkgmgr_pkginfo_* /
pkgmgr_appinfo_*
remove pkgmgr-dbinfo.h

Change-Id: I56b8931d547cba4b4cd262e863d88610ff19cf07
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoSet exec_label="User" on pkgcmd 40/45240/1
Sangyoon Jang [Tue, 4 Aug 2015 02:28:46 +0000 (11:28 +0900)]
Set exec_label="User" on pkgcmd

Change-Id: I155652d3d52e4ad40764cd094854be8f39ffafd9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix manifest installation for global app 10/44710/3 accepted/tizen/mobile/20150804.235122 accepted/tizen/tv/20150804.235130 accepted/tizen/wearable/20150804.235147 submit/tizen/20150804.080541
Sangyoon Jang [Mon, 27 Jul 2015 04:13:38 +0000 (13:13 +0900)]
Fix manifest installation for global app

root user is also for installation of global app

Change-Id: I4b231eb34623b0c4c65ff57e5542c8721fca5327
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoDon't stop when getting label failed during listing pkgs 82/43982/3 accepted/tizen/mobile/20150720.122059 accepted/tizen/tv/20150720.122205 accepted/tizen/wearable/20150720.122252 submit/tizen/20150720.072256
Sangyoon Jang [Thu, 16 Jul 2015 02:06:59 +0000 (11:06 +0900)]
Don't stop when getting label failed during listing pkgs

print "(null)" string instead of error return when failed to getting pkg
label during listing pkgs
pkg label is not mandatory

Change-Id: I463b6829e771f0a01dc7d58e4cf1ea147cf63caa
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRevise pkg_initdb 79/43679/5
Sangyoon Jang [Mon, 13 Jul 2015 07:40:14 +0000 (16:40 +0900)]
Revise pkg_initdb

pkg_initdb now initialize db for tizenglobalapp user and also regular users
add gumd useradd script(run pkg_initdb)

Change-Id: I9c566919fdf22adb10217efb98be6786ac196ab4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove some logs 92/43792/1
Sangyoon Jang [Tue, 14 Jul 2015 05:47:25 +0000 (14:47 +0900)]
Remove some logs

remove excessive pkgmgr signal logs
many clients print these logs, but these are not needed that much

Change-Id: I59154c3650c6ec55d31b9f79e821618c68b75d36
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove using removed vconf key 69/42769/1 accepted/tizen/mobile/20150708.015025 accepted/tizen/tv/20150708.015129 accepted/tizen/wearable/20150708.015222 submit/tizen/20150630.051205 submit/tizen/20150702.103311
Sangyoon Jang [Thu, 2 Jul 2015 07:26:16 +0000 (16:26 +0900)]
Remove using removed vconf key

Change-Id: I267cf170bf9419461af3aaae8289cc7ca2b339fa
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoSource update(pkg_getsize.c) from Tizen 2.4 40/42640/1 accepted/tizen/mobile/20150702.045227 accepted/tizen/tv/20150702.040118 accepted/tizen/wearable/20150702.040147 submit/tizen/20150702.000829
Sangyoon Jang [Wed, 1 Jul 2015 06:21:52 +0000 (15:21 +0900)]
Source update(pkg_getsize.c) from Tizen 2.4

add get_size dbus interfaces
fix client get_size api

Change-Id: Ib74400a978a2aefa17194e9240aa4e548438238c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix kill cmd 08/42608/1
Sangyoon Jang [Tue, 30 Jun 2015 12:50:20 +0000 (21:50 +0900)]
Fix kill cmd

iterate for apps of all types
set status 0 when exit when error occured

Change-Id: I6c0a7429df706f28d766010057f5ed8d89f7b684
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd privilege uninstall at pkg_privilege 96/42596/3
Sangyoon Jang [Tue, 30 Jun 2015 11:37:58 +0000 (20:37 +0900)]
Add privilege uninstall at pkg_privilege

Change-Id: I7d060f6964567e357ca3279afb32c8eb4bcdcdbe
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd dummy backend file 58/42358/1
Sangyoon Jang [Fri, 26 Jun 2015 10:23:38 +0000 (19:23 +0900)]
Add dummy backend file

to support request for rpm type packages
pkgmgr-server needs specific backend for package type of client request
(if someone wants to request about rpm type packages, pkgmgr-server
 needs rpm type backend. (e.g. checking app: pkgcmd -C -n org.tizen.helloworld)

Change-Id: I81950f0e0c316d1f931aa7bff6b65bb5e69e15c3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUse system default method on getting cynara info 30/42330/1
Sangyoon Jang [Fri, 26 Jun 2015 01:43:09 +0000 (10:43 +0900)]
Use system default method on getting cynara info

Change-Id: If6fdcbf485f18c28aa4d831b83d7eb246276cb05
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAllow pkginfo for root user 98/42298/2 accepted/tizen/mobile/20150626.064823 accepted/tizen/tv/20150626.064900 accepted/tizen/wearable/20150626.064940 submit/tizen/20150626.014106
Sangyoon Jang [Thu, 25 Jun 2015 10:28:21 +0000 (19:28 +0900)]
Allow pkginfo for root user

Change-Id: I22240ee608cb2197734ba21d50d1853256553b04
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix getting appcontrol info in pkg_info.c 07/40507/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150609.181913 accepted/tizen/3.0.2015.q2/common/20150615.091747 accepted/tizen/common/20150609.084316 accepted/tizen/common/20150609.084425 accepted/tizen/mobile/20150609.085835 accepted/tizen/tv/20150612.003516 accepted/tizen/wearable/20150609.085856 submit/tizen/20150605.041856 submit/tizen/20150605.044443 submit/tizen/20150605.114228 submit/tizen_3.0.2015.q2_common/20150609.170642 submit/tizen_3.0.2015.q2_common/20150615.075539 submit/tizen_common/20150608.135929 submit/tizen_tv/20150611.000000
Sangyoon Jang [Thu, 4 Jun 2015 11:44:47 +0000 (20:44 +0900)]
Fix getting appcontrol info in pkg_info.c

Change-Id: I3d7e11e6dadb379a6a3f5f0b53777b5732e6aa91
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoClean up dependency 58/40358/3 accepted/tizen/tv/20150612.003540 submit/tizen/20150604.015241 submit/tizen/20150609.020831 submit/tizen_tv/20150611.000001
Sangyoon Jang [Wed, 3 Jun 2015 02:53:21 +0000 (11:53 +0900)]
Clean up dependency

add buildrequires: glib, gio, gio-unix, xdgmime
remove unused buildrequires: ecore, appcore-efl
remove unused test code
remove unused tool

Change-Id: Ica276e4c0e88e1273fdeefe1a0ebf14c02f4153d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove notification from pkgmgr-server 05/40305/4 accepted/tizen/common/20150603.075243 accepted/tizen/mobile/20150603.082726 accepted/tizen/tv/20150603.083332 accepted/tizen/wearable/20150603.083032 submit/tizen/20150602.111023
Sangyoon Jang [Tue, 2 Jun 2015 06:50:58 +0000 (15:50 +0900)]
Remove notification from pkgmgr-server

TC-2519

remove notification dependency
(don't create popup by pkgmgr-server)

Change-Id: Ief86ac12d936b13e453d6164fca2ff535c8c5c30
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agopackaging: improves dependencies 55/40155/1 accepted/tizen/common/20150601.070539 accepted/tizen/mobile/20150601.044250 accepted/tizen/tv/20150601.044239 accepted/tizen/wearable/20150601.044303 submit/tizen/20150528.055123
José Bollo [Fri, 29 May 2015 13:44:52 +0000 (15:44 +0200)]
packaging: improves dependencies

Change-Id: Ie1acc790f15b473a42691c94005eb095efba5ff4
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agoFix for check, clearcache, getsize 98/39898/1 submit/tizen/20150526.104937
Sangyoon Jang [Tue, 26 May 2015 06:43:38 +0000 (15:43 +0900)]
Fix for check, clearcache, getsize

make dummy backend files for check, clearcache, getsize command

Change-Id: I319566464fc6e63a5ea663b3354c818bdacf235e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoInclude missing header 98/39198/1 accepted/tizen/common/20150520.083758 accepted/tizen/common/20150520.133325 accepted/tizen/tv/20150513.105543 submit/tizen/20150511.125750 submit/tizen_common/20150512.999999 submit/tizen_common/20150520.075535
Sangyoon Jang [Mon, 11 May 2015 12:52:18 +0000 (21:52 +0900)]
Include missing header

include "sys/types.h"

Change-Id: I487df72d7edddc08406939c613d9d95bbdedf29f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "Add target uid (which user event occured) into event signal" into tizen submit/tizen/20150511.111622
Semun Lee [Mon, 11 May 2015 11:15:50 +0000 (04:15 -0700)]
Merge "Add target uid (which user event occured) into event signal" into tizen

9 years agoFix smack labeling for preload apps 79/38979/2 accepted/tizen/common/20150506.091512 accepted/tizen/mobile/20150506.234703 accepted/tizen/tv/20150506.095556 accepted/tizen/wearable/20150506.095712 submit/tizen/20150506.051257
Sangyoon Jang [Wed, 6 May 2015 03:32:18 +0000 (12:32 +0900)]
Fix smack labeling for preload apps

Change-Id: I87b7df7c94c673f37c6adde7f4fdde637738a06c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "Remove cynara dependency from pkgmgr-client" into tizen
Semun Lee [Sat, 25 Apr 2015 02:20:28 +0000 (19:20 -0700)]
Merge "Remove cynara dependency from pkgmgr-client" into tizen

9 years agoRemove cynara dependency from pkgmgr-client 23/38623/1
Sangyoon Jang [Thu, 23 Apr 2015 07:08:51 +0000 (16:08 +0900)]
Remove cynara dependency from pkgmgr-client

fix comm/CMakeLists.txt

Change-Id: I566283a466947ccf9311b4113329b1916da3f86e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd target uid (which user event occured) into event signal 68/38568/1
Sangyoon Jang [Wed, 22 Apr 2015 07:28:08 +0000 (16:28 +0900)]
Add target uid (which user event occured) into event signal

Change-Id: I9030e4e83cc550deff5eebb9166a7e390c4e7afb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd a tool: pkg_privilege 98/38098/5 accepted/tizen/common/20150414.100259 accepted/tizen/mobile/20150415.015138 accepted/tizen/tv/20150415.012705 accepted/tizen/wearable/20150415.013912 submit/tizen/20150414.042835
Sangyoon Jang [Mon, 13 Apr 2015 04:14:29 +0000 (13:14 +0900)]
Add a tool: pkg_privilege

pkg_privilege is a tool for install privilege using security-manager api
pkg_initdb will run this tool

Change-Id: If82ab279a690f43385c4c616153ef885f1b4ea51
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoReplace security-server with cynara 33/37633/7 submit/tizen/20150414.040508
Sangyoon Jang [Wed, 1 Apr 2015 11:50:11 +0000 (20:50 +0900)]
Replace security-server with cynara

TODO:
use asynchronous api

remove unused files
this is temporary fix that using synchronous api
security-server will be removed from Tizen 3
security-manager and cynara are newly introduced into Tizen 3

Change-Id: I706d16c949d57a1a2eb80f163e7b8241b7f198f7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix for potential case of falling into infinite loop when pop queue 23/34723/2 accepted/tizen_3.0.2014.q4_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/3.0.2014.q4/common/20150302.111434 accepted/tizen/common/20150302.092812 accepted/tizen/mobile/20150313.083938 accepted/tizen/tv/20150213.093520 accepted/tizen/tv/20150313.083820 accepted/tizen/wearable/20150313.083851 submit/tizen/20150304.022845 submit/tizen_3.0.2014.q4_common/20150302.104050 submit/tizen_common/20150226.010729 submit/tizen_common/20150302.085223 submit/tizen_mobile/20150313.022842 submit/tizen_tv/20150213.071702 submit/tizen_tv/20150313.022842 submit/tizen_wearable/20150313.022842
Sangyoon Jang [Mon, 2 Feb 2015 02:29:35 +0000 (11:29 +0900)]
Fix for potential case of falling into infinite loop when pop queue

TC-2402

if backend's process takes very long times, the client who requests
something to server will get timeout because the server cannot receive
the request from client because it is busy for looping on queue_job

when received dbus request, add idler to handle it at the next event
loop iteration
(replace direct call of queue_job with add an idler)
and add again when backend exit to handle next queued request

remove unwanted local variable initializing

Change-Id: I854b0b90356d9d875951b053e2c090eae1192a6b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoSynchronize interactive installation popup timeouts 36/34636/1
Manuel Bachmann [Thu, 29 Jan 2015 18:18:23 +0000 (19:18 +0100)]
Synchronize interactive installation popup timeouts

Installation confirmation job was waiting for 10 seconds,
but the actual popup window could be shown infinitely,
letting the user click without purpose.

As notification-display-service now handles a "timeout"
parameter, send it so the popup window gracefully
disappears.

Change-Id: I48b5073726c970caa5ed30e52c812ad7f350bf19
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoMerge "Remove mutex on pm-queue" into tizen
Baptiste DURAND [Thu, 29 Jan 2015 08:54:46 +0000 (00:54 -0800)]
Merge "Remove mutex on pm-queue" into tizen

9 years agoHandle child exit status on mainloop context 60/34360/9
Sangyoon Jang [Mon, 26 Jan 2015 02:53:39 +0000 (11:53 +0900)]
Handle child exit status on mainloop context

handle child exit status using pipe
when signal catched, write exit status to pipe and handle it on
mainloop context

Change-Id: I5069cd8352a87df7cb96520c8523db8331229fc4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix pkg_info binary usage during image creation 81/34381/1 accepted/tizen/common/20150126.100506 accepted/tizen/wearable/20150128.040551 submit/tizen_common/20150126.100243 submit/tizen_mobile/20150129.000000 submit/tizen_mobile/20150213.000000 submit/tizen_tv/20150130.000000 submit/tizen_tv/20150130.050505 submit/tizen_wearable/20150127.000000
Baptiste DURAND [Mon, 26 Jan 2015 09:52:01 +0000 (10:52 +0100)]
Fix pkg_info binary usage during image creation

BUG-Tizen=TC-2399

Linked to this change : https://review.tizen.org/gerrit/#/c/34380/
Change-Id: Ifee7f850bdec2d6d55c8b513bc888c99c1e523cc
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoRemove mutex on pm-queue 55/34355/1
Sangyoon Jang [Mon, 26 Jan 2015 02:56:31 +0000 (11:56 +0900)]
Remove mutex on pm-queue

pkgmgr is not a multi thread program

Change-Id: I0151977e839ad49edfbd36c0f64f5bd9408d7185
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix dead lock 47/34347/2 accepted/tizen/common/20150123.171138 submit/tizen_common/20150123.170927
Baptiste DURAND [Fri, 23 Jan 2015 17:05:37 +0000 (18:05 +0100)]
Fix dead lock

Change-Id: I518b233b33c00aa397d93dbfcfbe92a23263aa76
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoFix the logic for message queue management 78/34278/1 submit/tizen/20150123.164415
Baptiste DURAND [Thu, 22 Jan 2015 15:32:59 +0000 (16:32 +0100)]
Fix the logic for message queue management

BUG-Tizen=TC-2391
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: Ia70b5c2aff959044a648d74deef7fb3c421c247d

9 years agoFix crash 68/33968/1 accepted/tizen/mobile/20150121.045018 accepted/tizen/tv/20150121.044518 accepted/tizen/wearable/20150121.044751 submit/tizen/20150120.043506 submit/tizen_mobile/20150121.020049 submit/tizen_tv/20150121.020041 submit/tizen_wearable/20150121.020025
Sangyoon Jang [Mon, 19 Jan 2015 09:30:36 +0000 (18:30 +0900)]
Fix crash

Change-Id: Idadca69e0640274631f0c3d4f1e446fcbbd9fd07
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoCode refactoring 71/33471/1
Sangyoon Jang [Mon, 12 Jan 2015 05:02:32 +0000 (14:02 +0900)]
Code refactoring

extract function from duplicate codes
refactor fork and switch statements
remove some white spaces

Change-Id: I1629c5a438d325833fa5d7388073f754a38d5341
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix build break 62/33462/1
Sangyoon Jang [Mon, 12 Jan 2015 01:15:39 +0000 (10:15 +0900)]
Fix build break

fix to use g_main_loop_quit
fix indent using tab

Change-Id: I12159071deac92bf23c876505b349709b7bf7dfd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoMerge "Clean up buildscript and directory hierachy" into tizen
Semun Lee [Fri, 9 Jan 2015 13:49:22 +0000 (05:49 -0800)]
Merge "Clean up buildscript and directory hierachy" into tizen

9 years agoMerge "Add api from tizen 2.3" into tizen
Semun Lee [Fri, 9 Jan 2015 11:40:04 +0000 (03:40 -0800)]
Merge "Add api from tizen 2.3" into tizen

9 years agoMerge "remove unnecessary codes. (comm_socket)" into tizen
Semun Lee [Fri, 9 Jan 2015 11:20:12 +0000 (03:20 -0800)]
Merge "remove unnecessary codes. (comm_socket)" into tizen

9 years agoAdd api from tizen 2.3 11/33311/4
Sangyoon Jang [Thu, 8 Jan 2015 08:29:27 +0000 (17:29 +0900)]
Add api from tizen 2.3

TC-2313

added:
pkgmgr_client_request_size_info
pkgmgr_client_clear_cache_dir
pkgmgr_client_clear_all_cache_dir
pkgmgr_client_get_package_size_info
pkgmgr_client_get_total_package_size_info

and also support multi-user

Change-Id: I19ad887d6e231b266c0ab18e1b73ffc3f7b9686c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoMerge "delete executable permission from source file." into tizen
Baptiste DURAND [Thu, 8 Jan 2015 14:21:55 +0000 (06:21 -0800)]
Merge "delete executable permission from source file." into tizen

9 years agounify log-related code 76/33076/4 tizen_3.0_ivi accepted/tizen/common/20150113.085924 accepted/tizen/ivi/20150115.062919 submit/tizen_common/20150108.142014 submit/tizen_common/20150109.133122 submit/tizen_common/20150112.103909 submit/tizen_common/20150112.154626 submit/tizen_ivi/20150115.222222 tizen_3.0_ivi_release
Wonguk Jeong [Mon, 5 Jan 2015 08:26:32 +0000 (17:26 +0900)]
unify log-related code

There is divergence of codes regarding log message.
Use unified header(package-manager-debug.h) and set tag separately.

Change-Id: I57bc25b85c1779d1e418cf4ff8b95b0644486023
Signed-off-by: Wonguk Jeong <wonguk.jeong@samsung.com>
9 years agoMerge "fix create cert.db" into tizen
Baptiste DURAND [Thu, 8 Jan 2015 14:07:09 +0000 (06:07 -0800)]
Merge "fix create cert.db" into tizen

9 years agoMerge "remove unnecessary code about X Display" into tizen accepted/tizen/common/20150107.102706 accepted/tizen/ivi/20150112.060641 submit/tizen_common/20150106.135602 submit/tizen_ivi/20150112.015532
Baptiste DURAND [Tue, 6 Jan 2015 13:29:11 +0000 (05:29 -0800)]
Merge "remove unnecessary code about X Display" into tizen

9 years agoRestore Popup/Graphical Mode that uses Notification Service 54/33154/1
Baptiste DURAND [Tue, 6 Jan 2015 10:08:23 +0000 (11:08 +0100)]
Restore Popup/Graphical Mode that uses Notification Service

This was deleted by commit  Remove UI related code from pkgmgr-server
e1077a0f11481a4b73ba04ccfe94af548dcf50c8

Change-Id: If8331cdbd424d64553c96ae6e028d81f54041ce6
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agodelete executable permission from source file. 30/33130/1
Wonguk Jeong [Tue, 6 Jan 2015 06:53:10 +0000 (15:53 +0900)]
delete executable permission from source file.

Change-Id: Idb9873f60ed401847eabca232404ed9c51707cfd
Signed-off-by: Wonguk Jeong <wonguk.jeong@samsung.com>
9 years agoremove unnecessary codes. (comm_socket) 29/33129/1
Wonguk Jeong [Tue, 6 Jan 2015 06:46:37 +0000 (15:46 +0900)]
remove unnecessary codes. (comm_socket)

comm_socket is never used anywhere! remove it.
comm_socket is likely useless historical trace.

Change-Id: Iaa58fb8e44cc075028afe24aebb1993c52ae2048
Signed-off-by: Wonguk Jeong <wonguk.jeong@samsung.com>
9 years agoClean up buildscript and directory hierachy 17/33117/2
Wonguk Jeong [Tue, 6 Jan 2015 05:32:15 +0000 (14:32 +0900)]
Clean up buildscript and directory hierachy

Top level CMakeLists files and directory herachy were massed up.

1. Separate files and move into subdirectories (top -> server, client)
2. Move configuration files into appropriate subdirectories
3. Remove unnecessary files

Change-Id: I6c601e5ba9627128b76edfe2be7827b2ca60dced
Signed-off-by: Wonguk Jeong <wonguk.jeong@samsung.com>
9 years agoremove unnecessary code about X Display 71/33071/1
Wonguk Jeong [Mon, 5 Jan 2015 06:14:50 +0000 (15:14 +0900)]
remove unnecessary code about X Display

There is no HAVE_X11 macro anywhere.
And, display setting should be done system-widely

Change-Id: I4d15fb1573f0e675e453e7cd01fcd13c031a0a74
Signed-off-by: Wonguk Jeong <wonguk.jeong@samsung.com>
9 years agofix create cert.db 62/32862/1
Sabera Djelti (sdi2) [Fri, 26 Dec 2014 17:16:42 +0000 (18:16 +0100)]
fix create cert.db

Change-Id: I3a913797499cfbb049ef8536d456dcf019f1008b
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoRemove UI related code from pkgmgr-server 25/32725/2
Sangyoon Jang [Tue, 23 Dec 2014 07:30:49 +0000 (16:30 +0900)]
Remove UI related code from pkgmgr-server

remove appcore dependency from pkgmgr-server
remove quiet option

Change-Id: Ie70210327f4a620e13a0ea27db9cee44a35e246f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd Timeout for the notification 54/31954/4
Baptiste DURAND [Fri, 12 Dec 2014 11:47:09 +0000 (12:47 +0100)]
Add Timeout for the notification

The default answer will be NO if the timeout is reach

Change-Id: I12b5c0567c2c70ef2098a6df3726ebf57c0f5787
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoFix package management notification 53/31953/5 accepted/tizen/common/20141215.135517 accepted/tizen/ivi/20141219.050312 submit/tizen_common/20141215.091901 submit/tizen_ivi/20141217.025653 submit/tizen_ivi/20141218.004913
Baptiste DURAND [Fri, 12 Dec 2014 11:42:24 +0000 (12:42 +0100)]
Fix package management notification

If the installation backend  child process fails, send a notification to
the package manager client

BUG-Tizen=TC-2127
Change-Id: I68a5b7f1516814b14432639554548aad4c83e873
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoUse gdbus library instead of dbus-glib library for client library 51/31951/8
Baptiste DURAND [Fri, 12 Dec 2014 11:38:11 +0000 (12:38 +0100)]
Use gdbus library instead of dbus-glib library for client library

gdbus has creedential features.
This ones will be used to identify user for the resquest management
Permits to fix
Based on Tizen 2.3 version from slp-pkgmgr package
BUG-Tizen=TC-1808
BUG-Tizen=TC-2222

Change-Id: I51dbbd994804b41f1f4332f07824879df2605150
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoClean the logic in communication layer 85/31785/1 accepted/tizen/common/20141210.165735 submit/tizen_common/20141210.090430
Baptiste DURAND [Tue, 9 Dec 2014 18:59:30 +0000 (19:59 +0100)]
Clean the logic in communication layer

Fix possible memory leak in case where the connection is not in connected state it were never free'd
Don't register the connection in gmainloop => this leads to crash in stress test

Bug-Tizen=TC-1808
Change-Id: If80e0ae2d33c115f62374c4bdb7030cc2bd6f11a
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoMerge "Fix Uninstallation with popups." into tizen accepted/tizen/common/20141209.095440 submit/tizen_common/20141209.085338
Baptiste DURAND [Tue, 9 Dec 2014 08:53:06 +0000 (00:53 -0800)]
Merge "Fix Uninstallation  with popups." into tizen

9 years agoFix Uninstallation with popups. 12/31712/2
Baptiste DURAND [Mon, 8 Dec 2014 16:44:11 +0000 (17:44 +0100)]
Fix Uninstallation  with popups.

The CAPI used for displaying package information is not correct.

BUG-Tizen=TC-1687
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Change-Id: I7ab85e17d396f1e47abdaf280ef4a6a6d4157753

9 years agoRemove unnecessary execution bits from files 01/31501/1
Radoslaw Bartosiak [Fri, 5 Dec 2014 11:14:04 +0000 (12:14 +0100)]
Remove unnecessary execution bits from files

Source files (*.c, *.h) and configuration files (*.txt, *.xml, *.in)
should not have execution bit set.

Change-Id: I186e8132351a26cc29053db5deb64e85c963bc88
Signed-off-by: Radoslaw Bartosiak <r.bartosiak@samsung.com>
9 years agoMerge changes I1ac3d2a8,I6f459966 into tizen accepted/tizen/common/20141201.175449 accepted/tizen/ivi/20141209.013523 submit/tizen_common/20141201.092119 submit/tizen_common/20141201.173838 submit/tizen_ivi/20141208.000000
Baptiste DURAND [Mon, 1 Dec 2014 09:17:44 +0000 (01:17 -0800)]
Merge changes I1ac3d2a8,I6f459966 into tizen

* changes:
  list once global package with pkgcmd -l
  Enable to list app and pkg with pkginfo --listpkg/--listapp

9 years agolist once global package with pkgcmd -l 39/31039/1
Sabera Djelti (sdi2) [Fri, 21 Nov 2014 13:04:36 +0000 (14:04 +0100)]
list once global package with pkgcmd -l

Change-Id: I1ac3d2a8f58acdd5fb0acada05642f5100eeeb15
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoFix business logic in slp-pkgmgr-server. 33/30833/2 accepted/tizen/common/20141125.180004 accepted/tizen/ivi/20141203.010012 submit/tizen_common/20141125.175019 submit/tizen_ivi/20141201.000000 submit/tizen_ivi/20141201.014922 submit/tizen_ivi/20141202.062010
Baptiste DURAND [Tue, 25 Nov 2014 17:19:00 +0000 (18:19 +0100)]
Fix business logic in slp-pkgmgr-server.

The current logic of pkgmgr-server is not robust to a burst of installation request.
This leads to have a deadlock into pkgmgr-server.

And it doens't answer to reuqest anymore

Force to wait backend end before returning for each job that is dependent of a backend

Make pm_queue thread safe. (we can have multiple request that leads to have concurencial meassge push )

BUG-Tizen=TC-2127

Change-Id: Ib3b3b4c4c9043b395869f0ee6c16da6db0da932d
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoEnable to list app and pkg with pkginfo --listpkg/--listapp 00/30400/2
Sabera Djelti (sdi2) [Fri, 14 Nov 2014 14:51:34 +0000 (15:51 +0100)]
Enable to list app and pkg with pkginfo --listpkg/--listapp

--> put uid to callback via the handle

Bug-Tizen: TC-1590

Change-Id: I6f459966c789d53035fe5704c39d07bd789f8bbf
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoRestablish interactive installation popups 90/30690/2 accepted/tizen/common/20141124.172652 accepted/tizen/mobile/20141128.103522 submit/tizen/20141124.133049
Manuel Bachmann [Mon, 24 Nov 2014 09:53:48 +0000 (10:53 +0100)]
Restablish interactive installation popups

When using "pkgcmd" without the "-q" parameter (pkgmgr in
PM_DEFAULT_MODE), interactive notification popups will
appear to ask the user for confirmation.

These popups use the new notification API calls with the
new notification "display" service. They will work on both
Wayland and X11.

Bug-Tizen: TC-1687

Change-Id: I85e584c597dda6cbf35c82720da3b39ddb1536bf
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoMerge "add pkg_createdb/pkg_createdd_user & pkg_syncdb/pkg_syncdb_user" into tizen
Baptiste DURAND [Wed, 12 Nov 2014 10:17:23 +0000 (02:17 -0800)]
Merge "add pkg_createdb/pkg_createdd_user & pkg_syncdb/pkg_syncdb_user" into tizen

10 years agoadd pkg_createdb/pkg_createdd_user & pkg_syncdb/pkg_syncdb_user 63/29863/1
Sabera Djelti (sdi2) [Wed, 5 Nov 2014 10:56:38 +0000 (11:56 +0100)]
add pkg_createdb/pkg_createdd_user & pkg_syncdb/pkg_syncdb_user

The creation and the synchronisation of the global/user package database made by pkg_initdb/pkg_initdb_user is now split up in two separate tools pkg_createdb/pkg_createdb_user and pkg_syncdb/pkg_syncdb_user
pkg_initdb is an obsolete tool

Change-Id: I600934572900d5b1d7e2741f4887cd0b8e96e3ea
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoCleaning the header file pkgmgr_installer.h 56/29856/1
José Bollo [Wed, 5 Nov 2014 10:02:30 +0000 (11:02 +0100)]
Cleaning the header file pkgmgr_installer.h

The commited version does not include anymore any unused file.

Change-Id: Ic8b35eb49edcb03c810b665c86553cc28b9360d7
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agoRemove warnings 55/29855/1
José Bollo [Wed, 5 Nov 2014 09:33:38 +0000 (10:33 +0100)]
Remove warnings

Many functions were used without being declared.
This commit add the missing include files.

Change-Id: I8b1930386eaeb78ee2077eb429e5118018f31ad4
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agoRemoving a warning 54/29854/1
José Bollo [Wed, 5 Nov 2014 09:04:28 +0000 (10:04 +0100)]
Removing a warning

When compiled, the following warning was occuring:

 warning: format not a string literal and no format arguments

This commit solves the problem.

Change-Id: I271b6fcc3376bdaba8ed4bda3221d782c3e7381d
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agoFix CAPI call logic: Replace CAPI related to Common Apps with CAPI related to user... 13/28713/7 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/3.0.2014.q3/common/20141020.112647 accepted/tizen/3.0.m14.3/ivi/20141017.215422 accepted/tizen/common/20141014.155457 accepted/tizen/ivi/20141017.224351 submit/tizen_3.0.2014.q3_common/20141020.111623 submit/tizen_3.0.m14.3_ivi/20141017.000000 submit/tizen_common/20141014.135300 submit/tizen_ivi/20141017.000000 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
Baptiste DURAND [Tue, 14 Oct 2014 12:15:12 +0000 (14:15 +0200)]
Fix CAPI call logic: Replace CAPI related to Common Apps with CAPI related to user ones

BUG-Tizen=TC-1703
BUG-Tizen=TC-1704

Change-Id: I3cb1338ae59ed360b7fd431d8e81609ec4350de0
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoRoot should not be able to use pkgcmd tools. 52/28652/1 accepted/tizen/3.0.2014.q3/common/20141020.094321 accepted/tizen/common/20141013.150509 accepted/tizen/ivi/20141014.072144 submit/tizen_3.0.2014.q3_common/20141020.090531 submit/tizen_3.0.2014.q3_common/20141020.093726 submit/tizen_common/20141013.122308 submit/tizen_ivi/20141014.000000
Baptiste DURAND [Mon, 13 Oct 2014 09:06:30 +0000 (11:06 +0200)]
Root should not be able to use pkgcmd tools.

BUG-Tizen=TC-320

Change-Id: I0827b1d3e17a400bab950a1184c4add59ec2bc18
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoFix owner of /usr/share/packages directory. 19/28219/2 accepted/tizen/common/20141002.100328 accepted/tizen/ivi/20141007.214542 submit/tizen_common/20141001.093953 submit/tizen_ivi/20141007.111111
Baptiste DURAND [Tue, 30 Sep 2014 12:12:40 +0000 (14:12 +0200)]
Fix owner of /usr/share/packages directory.

To allow installation for all users, we need to assign tizenglobalapp user as owner of
/usr/share/packages

Change-Id: I17c0897f7a321ccd633c36f39ef78ca993f16665
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoMerge "clean spec file" into tizen
Baptiste DURAND [Wed, 1 Oct 2014 09:18:07 +0000 (02:18 -0700)]
Merge "clean spec file" into tizen

10 years agoAdd pkg_initdb_user 59/28059/3
Sabera Djelti (sdi2) [Mon, 22 Sep 2014 15:28:01 +0000 (17:28 +0200)]
Add pkg_initdb_user

Change-Id: Ia5d480922c86e5b9d926b7ec63d411c5baed9aa3
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoclean spec file 26/28226/1
Ronan Le Martret [Tue, 30 Sep 2014 16:56:00 +0000 (18:56 +0200)]
clean spec file

 - improve rpmlint score
 - fix yocto issue
 - remove useless require

Change-Id: Iff3fdf10467d5efeb87188f8bf0a85bb4e81a003
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
10 years agoFix build issue : Declare define OWNER_ROOT 35/28035/1 accepted/tizen/common/20140924.142829 accepted/tizen/ivi/20140925.212645 submit/tizen_common/20140924.142113 submit/tizen_common/20140924.142130 submit/tizen_ivi/20140924.063121 submit/tizen_ivi/20140924.150732
Baptiste DURAND [Wed, 24 Sep 2014 14:19:03 +0000 (16:19 +0200)]
Fix build issue : Declare define OWNER_ROOT

Change-Id: I4393758b78481ba00ec0b96414c2781aa498ed88
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoMove tizenglobalapp user creation from slp-pkgmgr to ail submit/tizen_common/20140924.140157
Baptiste DURAND [Wed, 24 Sep 2014 13:58:45 +0000 (15:58 +0200)]
Move tizenglobalapp user creation from slp-pkgmgr to ail

(linked to https://review.tizen.org/gerrit/#/c/28031/)

Clean pkg_initdb code by removing duplicate #define

Change-Id: Icb698fa791c50ef39f3b757769e2b15593b558a3
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>