platform/core/appfw/app2sd.git
7 years agoRequire libtzplatform-config explicitly 23/109623/1 accepted/tizen_3.0.m2_common accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/common/20170111.094144 accepted/tizen/3.0.m2/mobile/20170111.043222 accepted/tizen/3.0.m2/tv/20170111.043245 accepted/tizen/3.0.m2/wearable/20170111.043306 submit/tizen_3.0.m2/20170111.022653
Sunmin Lee [Fri, 6 Jan 2017 11:51:33 +0000 (20:51 +0900)]
Require libtzplatform-config explicitly

Until now, this package has been built using symbols in other
packages indirectly. As static library is removed, it should
require libtzplatform-config library in itself.

Change-Id: I9a560e4d7cd970f4de13174fc450416272ce9c95

7 years agoFix external installation for global app 34/107134/2 accepted/tizen/3.0.m2/mobile/20170104.122035 accepted/tizen/3.0.m2/tv/20170104.122330 accepted/tizen/3.0.m2/wearable/20170104.122713 accepted/tizen/3.0/common/20161228.071607 accepted/tizen/3.0/ivi/20161228.021721 accepted/tizen/3.0/mobile/20161228.021533 accepted/tizen/3.0/tv/20161228.021631 accepted/tizen/3.0/wearable/20161228.021700 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161227.023045
jongmyeongko [Tue, 27 Dec 2016 01:18:25 +0000 (10:18 +0900)]
Fix external installation for global app

The "System" label is required to access the files for
global app, which files have "System" label.

But, the files for local app are can be access as "User" execution.
Because the transmute option is true.

Change-Id: Ied9f9bfaae4ac04a475fb6e6e0c07cd5071d6e87
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix static analysis tool issue 33/103033/3 accepted/tizen/3.0/common/20161208.153338 accepted/tizen/3.0/ivi/20161208.062722 accepted/tizen/3.0/mobile/20161208.062355 accepted/tizen/3.0/tv/20161208.062547 accepted/tizen/3.0/wearable/20161208.062617 submit/tizen_3.0/20161207.072901
Junghyun Yeon [Wed, 7 Dec 2016 05:30:28 +0000 (14:30 +0900)]
Fix static analysis tool issue

- Remove unreachable code
- fix memory leak

Change-Id: Ia7ad1372fde5acc89dc6e2657368491c8c2b8da2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoClean up repository 23/98123/2 accepted/tizen/3.0/common/20161207.194236 accepted/tizen/3.0/ivi/20161207.010655 accepted/tizen/3.0/mobile/20161207.010615 accepted/tizen/3.0/tv/20161207.010626 accepted/tizen/3.0/wearable/20161207.010633 submit/tizen_3.0/20161206.012225
Sangyoon Jang [Wed, 16 Nov 2016 07:34:16 +0000 (16:34 +0900)]
Clean up repository

Fix CMakeLists.txt to make extendible.
Clean build dependency of each components.
Rename some files.

Change-Id: I5fe6ee6d7618ec6da82ec717fec9e50cab6681c1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agobugfix related storing external_path 90/97290/3 accepted/tizen/3.0/common/20161114.142941 accepted/tizen/3.0/ivi/20161114.002555 accepted/tizen/3.0/mobile/20161114.002431 accepted/tizen/3.0/tv/20161114.002506 accepted/tizen/3.0/wearable/20161114.002530 accepted/tizen/common/20161125.095235 accepted/tizen/ivi/20161125.004201 accepted/tizen/mobile/20161125.003639 accepted/tizen/tv/20161125.003920 accepted/tizen/wearable/20161125.004042 submit/tizen/20161124.000829 submit/tizen_3.0/20161111.080112 submit/tizen_3.0_common/20161114.081136
jongmyeongko [Sun, 13 Nov 2016 07:35:54 +0000 (16:35 +0900)]
bugfix related storing external_path

and, fix memory leak

Change-Id: I0dd633643297daa1dc1db21101eaf8059b6f0d4f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoPass image path when change pkg db 73/91973/6 accepted/tizen/3.0/common/20161114.082418 accepted/tizen/3.0/ivi/20161110.015539 accepted/tizen/3.0/mobile/20161110.015242 accepted/tizen/3.0/tv/20161110.015417 accepted/tizen/3.0/wearable/20161110.015507 submit/tizen/20161102.115555 submit/tizen_3.0/20161107.133644 submit/tizen_3.0_common/20161110.084657
Junghyun Yeon [Wed, 12 Oct 2016 10:47:42 +0000 (19:47 +0900)]
Pass image path when change pkg db

- Pass image path when change
installed_location column at pkg db

Change-Id: I8ec2b9abe2d967f2756025e9517a2873a19496d0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix memory leak 21/94421/1 accepted/tizen/3.0/ivi/20161102.075726 accepted/tizen/3.0/mobile/20161102.075515 accepted/tizen/3.0/tv/20161102.075624 accepted/tizen/3.0/wearable/20161102.075655 accepted/tizen/common/20161031.121629 accepted/tizen/ivi/20161031.082307 accepted/tizen/mobile/20161031.082135 accepted/tizen/tv/20161031.082227 accepted/tizen/wearable/20161031.082248 submit/tizen/20161031.010650 submit/tizen_3.0/20161102.051512
Hwankyu Jhun [Sun, 30 Oct 2016 22:55:38 +0000 (07:55 +0900)]
Fix memory leak

Change-Id: I4b88aca7d9b24679356ac05b0b591cba22ce7ce0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agomake app2sd more robust on some failure cases. 60/93360/5 accepted/tizen/3.0/ivi/20161028.123021 accepted/tizen/3.0/mobile/20161028.122323 accepted/tizen/3.0/tv/20161028.122613 accepted/tizen/3.0/wearable/20161028.122827 accepted/tizen/common/20161024.135234 accepted/tizen/ivi/20161024.234110 accepted/tizen/mobile/20161024.234016 accepted/tizen/tv/20161024.234036 accepted/tizen/wearable/20161024.234052 submit/tizen/20161024.111622 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000
jongmyeongko [Mon, 24 Oct 2016 01:56:16 +0000 (10:56 +0900)]
make app2sd more robust on some failure cases.

- ensure a given waiting time before app2sd-server is terminated
- apply retrial logic for client api

Change-Id: I733bf20313f72ccd7350aeea5ef35c9395be2527
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix a defect of app2sd-server termination before processing is done. 66/92466/1 accepted/tizen/common/20161017.170332 accepted/tizen/ivi/20161017.233858 accepted/tizen/mobile/20161017.233811 accepted/tizen/tv/20161017.233826 accepted/tizen/wearable/20161017.233840 submit/tizen/20161017.073552
jongmyeongko [Mon, 17 Oct 2016 06:06:10 +0000 (15:06 +0900)]
fix a defect of app2sd-server termination before processing is done.

- defect : app2sd-server could be terminated by timeout from previous request.

Change-Id: I089d1a23a9dbb93b3980954ef3164480f27811cf
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix pre app upgrade function to return proper value 37/91937/1
Junghyun Yeon [Wed, 12 Oct 2016 08:23:38 +0000 (17:23 +0900)]
Fix pre app upgrade function to return proper value

- Function didn't return value which is retrieved
by app2sd-server

Change-Id: I5d3c3a0415f5131f95a1a7dbf80128c4d49d2824
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoto support system-session installer-backends 37/81837/3 accepted/tizen/3.0/ivi/20161011.053527 accepted/tizen/3.0/mobile/20161015.032314 accepted/tizen/3.0/tv/20161016.003444 accepted/tizen/3.0/wearable/20161015.080342 accepted/tizen/common/20160812.140733 accepted/tizen/ivi/20160815.233242 accepted/tizen/mobile/20160815.233108 accepted/tizen/tv/20160815.233159 accepted/tizen/wearable/20160815.233220 submit/tizen/20160811.013634 submit/tizen/20160811.062803 submit/tizen/20160812.053402 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
jongmyeongko [Thu, 28 Jul 2016 13:40:38 +0000 (22:40 +0900)]
to support system-session installer-backends

Change-Id: I0a636a263eb3808aead8b394860cf2b933932545
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agouse w/o restart version api for killing application 51/83051/3 accepted/tizen/common/20160809.183907 accepted/tizen/ivi/20160809.232604 accepted/tizen/mobile/20160809.232334 accepted/tizen/tv/20160809.232452 accepted/tizen/wearable/20160809.232659 submit/tizen/20160809.051427
jongmyeongko [Tue, 9 Aug 2016 02:16:03 +0000 (11:16 +0900)]
use w/o restart version api for killing application

Change-Id: Id8f755d32a2abca79b8391128b98f5422b0b041f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agochange internal storage path (opt -> opt/usr) 85/83085/2
jongmyeongko [Tue, 9 Aug 2016 06:46:35 +0000 (15:46 +0900)]
change internal storage path (opt -> opt/usr)

opt and opt/usr are not same partition anymore.

Change-Id: Id9cd711251b410aba3ce7b53c816f43d30d806b4
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoget mount path of sdcard using storage api instead of hard-coded path. 92/80492/14 accepted/tizen/common/20160803.193225 accepted/tizen/ivi/20160804.080805 accepted/tizen/mobile/20160804.080856 accepted/tizen/tv/20160804.080722 accepted/tizen/wearable/20160804.080556 submit/tizen/20160803.012753
jongmyeongko [Mon, 18 Jul 2016 09:11:24 +0000 (18:11 +0900)]
get mount path of sdcard using storage api instead of hard-coded path.

Change-Id: I37061efb63b430f771e8aa2fd00218675c9f429f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoremove app2ext_get_app_location api 86/80586/7
jongmyeongko [Tue, 19 Jul 2016 04:03:33 +0000 (13:03 +0900)]
remove app2ext_get_app_location api

this is not useful and will not be supported.

Submit with:
        https://review.tizen.org/gerrit/#/c/80493/

Change-Id: Ic35753aa6902ff804c44f108b8258ea1723ff2b6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix problems in case both global and local are installed/removed 85/81085/4
jongmyeongko [Fri, 22 Jul 2016 02:51:10 +0000 (11:51 +0900)]
fix problems in case both global and local are installed/removed

- bugfix deleting entire app directory.
- use composite primary key of app2sd_info table to save both local and global app.
- always overwrite same extimg file.

Change-Id: I25b70cc88188a96b729cd16982722efe66a4b5a0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoapply featuring to app2sd plugin, and clean CMakeLists 56/79856/13
jongmyeongko [Wed, 13 Jul 2016 08:16:22 +0000 (17:16 +0900)]
apply featuring to app2sd plugin, and clean CMakeLists

Change-Id: Id976ee70872ce94f88b0fb468068100226d78377
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd the app2ext_utils.c to the app2sd library 68/81068/1 accepted/tizen/common/20160722.135008 accepted/tizen/ivi/20160722.043930 accepted/tizen/mobile/20160722.043844 accepted/tizen/tv/20160722.043854 accepted/tizen/wearable/20160722.043916 submit/tizen/20160722.025055
Hwankyu Jhun [Fri, 22 Jul 2016 00:41:14 +0000 (09:41 +0900)]
Add the app2ext_utils.c to the app2sd library

Change-Id: I51bad0a5fa1e94b89bc1602fab4ae1334c71fe27
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoSet the SMACK security label to run given executable file in systemd services 33/80933/1 accepted/tizen/common/20160721.175738 accepted/tizen/ivi/20160721.090741 accepted/tizen/mobile/20160721.090443 accepted/tizen/tv/20160721.091302 accepted/tizen/wearable/20160721.091007 submit/tizen/20160721.003054
jongmyeongko [Thu, 21 Jul 2016 04:04:55 +0000 (13:04 +0900)]
Set the SMACK security label to run given executable file in systemd services

Change-Id: If582a36ae44c0a2705dc8e28dc35bb907621ba2d
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoimprove app2sd stability 87/79187/2 accepted/tizen/common/20160708.184213 accepted/tizen/ivi/20160709.015245 accepted/tizen/mobile/20160709.020625 accepted/tizen/tv/20160709.015228 accepted/tizen/wearable/20160709.020535 submit/tizen/20160708.145338
jongmyeongko [Fri, 8 Jul 2016 14:09:00 +0000 (23:09 +0900)]
improve app2sd stability

- do not handle as failure in case source dir does not exists.
(some application has no 'lib')
- sync() after pre/post called.
- bugfix kill all running apps when sdcard is removed.

Change-Id: Ied0578a840f4216ff461150532fea22854b4753d
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix pkg move behavior 46/78446/4 accepted/tizen/common/20160706.141859 accepted/tizen/ivi/20160706.014245 accepted/tizen/mobile/20160706.014207 accepted/tizen/tv/20160706.014221 accepted/tizen/wearable/20160706.014233 submit/tizen/20160705.114429
jongmyeongko [Tue, 5 Jul 2016 12:57:43 +0000 (21:57 +0900)]
fix pkg move behavior

kill apps and umount image when sdcard is removed

Change-Id: I120edd133e3c349ae1e4dfce512975436e6c48ad
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoremove CAP_MAC_OVERRIDE from app2sd-server 45/78145/1 accepted/tizen/common/20160706.141358 accepted/tizen/ivi/20160705.044559 accepted/tizen/mobile/20160705.044431 accepted/tizen/tv/20160705.044543 accepted/tizen/wearable/20160705.044456 submit/tizen/20160704.042542
jongmyeongko [Mon, 4 Jul 2016 10:27:49 +0000 (19:27 +0900)]
remove CAP_MAC_OVERRIDE from app2sd-server

separate move function to pre_move and pos_move
for labeling the contents under .mmc

Submit with:
https://review.tizen.org/gerrit/#/c/78072/

Change-Id: Iac91cf9fc17f4bb3bb2728bed8e94efa1cdaa9bf
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoadd some error info. 62/77662/1 accepted/tizen/common/20160701.192901 accepted/tizen/ivi/20160701.034229 accepted/tizen/mobile/20160701.034356 accepted/tizen/tv/20160701.034140 accepted/tizen/wearable/20160701.034300 submit/tizen/20160630.142306 submit/tizen_common/20160701.180000
jongmyeongko [Thu, 30 Jun 2016 11:17:02 +0000 (20:17 +0900)]
add some error info.

Change-Id: I7e2af8d19bb7cc820afaef7e348d41d53e648f1e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoenable dmcrypt feature 69/77169/2
jongmyeongko [Wed, 29 Jun 2016 03:37:18 +0000 (12:37 +0900)]
enable dmcrypt feature

Change-Id: I3e35703905f523b727db2c5563bda23b5610ad07
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agodisable dmcrypt feature 62/77062/1 accepted/tizen/common/20160629.222457 accepted/tizen/ivi/20160629.020614 accepted/tizen/mobile/20160629.020656 accepted/tizen/tv/20160629.020550 accepted/tizen/wearable/20160629.020640 submit/tizen/20160628.070541
jongmyeongko [Tue, 28 Jun 2016 10:53:54 +0000 (19:53 +0900)]
disable dmcrypt feature

Change-Id: I1ab82a19655d94b5397cd1298bd8008d3c7b90f5
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agocheck app2sd dir before move to external 16/76816/1
jongmyeongko [Mon, 27 Jun 2016 10:23:39 +0000 (19:23 +0900)]
check app2sd dir before move to external

Change-Id: Ie717dd05b4fc856905f73253eb6706f83edf3506
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agodmcrypt feature 67/70967/10
jongmyeongko [Mon, 23 May 2016 11:40:37 +0000 (20:40 +0900)]
dmcrypt feature

Change-Id: I746e2ca60d4a8a73302f2d123381f6f08c3de32f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix static analysis defects 29/76429/1 accepted/tizen/common/20160624.133946 accepted/tizen/ivi/20160624.064725 accepted/tizen/mobile/20160624.064629 accepted/tizen/tv/20160624.064545 accepted/tizen/wearable/20160624.064746 submit/tizen/20160624.023426
jongmyeongko [Fri, 24 Jun 2016 02:14:32 +0000 (11:14 +0900)]
fix static analysis defects

Change-Id: I57f42828e938011ecdf916cf755099614b43e6fb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agogrant User label for app2sd-server 75/75975/4 accepted/tizen/common/20160622.150021 accepted/tizen/ivi/20160623.122223 accepted/tizen/mobile/20160623.122132 accepted/tizen/tv/20160623.122151 accepted/tizen/wearable/20160623.122207 submit/tizen/20160622.091102
jongmyeongko [Wed, 22 Jun 2016 08:49:17 +0000 (17:49 +0900)]
grant User label for app2sd-server

Change-Id: I3d8dc20e2326c464de0f4b002896582c1e690618
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agochange the function name for enabling/disabling all pkgs 47/75747/1 accepted/tizen/common/20160621.184517 accepted/tizen/ivi/20160622.093648 accepted/tizen/mobile/20160622.093538 accepted/tizen/tv/20160622.093607 accepted/tizen/wearable/20160622.093627 submit/tizen/20160621.063045
jongmyeongko [Tue, 21 Jun 2016 08:24:42 +0000 (17:24 +0900)]
change the function name for enabling/disabling all pkgs

Change-Id: I7a1425dfc38235de55f13d9b5f54b99d5d2285a6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoadd enalbe/disable function for entire packages. 79/74479/13 accepted/tizen/common/20160617.121122 accepted/tizen/ivi/20160617.082326 accepted/tizen/mobile/20160617.081821 accepted/tizen/tv/20160617.081838 accepted/tizen/wearable/20160617.081901 submit/tizen/20160616.065340
jongmyeongko [Tue, 14 Jun 2016 10:05:03 +0000 (19:05 +0900)]
add enalbe/disable function for entire packages.

Change-Id: I8434dc46662ba15380d884eca3f0b0c149355c0f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix buffer underflow and overflow 45/74145/3 accepted/tizen/common/20160616.151525 accepted/tizen/ivi/20160616.002902 accepted/tizen/mobile/20160616.002832 accepted/tizen/tv/20160616.002814 accepted/tizen/wearable/20160616.002723 submit/tizen/20160615.073423
jongmyeongko [Mon, 13 Jun 2016 02:41:12 +0000 (11:41 +0900)]
fix buffer underflow and overflow

Change-Id: I667f183f886be7b06bf41fef597fdafca86b3cbe
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoadjust app2sd-server capability 72/74072/3
jongmyeongko [Fri, 10 Jun 2016 15:37:03 +0000 (00:37 +0900)]
adjust app2sd-server capability

remove smack labeling.
- installer will set required labels using security api.

sub change : refactor force_clean

Change-Id: I7e75e20fff773ff79752ad5107186417615c9fd1
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoimplement server part for force_clean 26/73626/1
jongmyeongko [Thu, 9 Jun 2016 02:38:55 +0000 (11:38 +0900)]
implement server part for force_clean

force_clean will be called before installation.

Change-Id: Ibc39046817fc6defe8ee3542ed7912ab1a038563
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoapply encoded_id to move behavior 07/72907/1 accepted/tizen/common/20160606.141710 accepted/tizen/ivi/20160606.040553 accepted/tizen/mobile/20160606.035154 accepted/tizen/tv/20160606.035855 accepted/tizen/wearable/20160606.040057 submit/tizen/20160603.030057
jongmyeongko [Fri, 3 Jun 2016 04:14:05 +0000 (13:14 +0900)]
apply encoded_id to move behavior

Change-Id: I64bbed6e5f0196dbe5e583374165ee9a4d829ecb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agochange chmod to fchmod 93/72893/1
jongmyeongko [Fri, 3 Jun 2016 02:18:08 +0000 (11:18 +0900)]
change chmod to fchmod

plus, delete a not-used function

Change-Id: I591f6429915121f4377107d540510cc660d4c0db
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix missing encoded_id related change & code clearing. 03/72503/7 accepted/tizen/common/20160606.141600 accepted/tizen/ivi/20160602.230739 accepted/tizen/mobile/20160602.230720 accepted/tizen/tv/20160602.230702 accepted/tizen/wearable/20160602.230637 submit/tizen/20160602.040935
jongmyeongko [Wed, 1 Jun 2016 08:52:53 +0000 (17:52 +0900)]
fix missing encoded_id related change & code clearing.

Change-Id: I4f653ec89c0ab5396678e859192e569f4a47d57e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoapply encoded name to the source file of losetup. 22/71222/6 accepted/tizen/common/20160602.140038 accepted/tizen/ivi/20160602.022844 accepted/tizen/mobile/20160602.023016 accepted/tizen/tv/20160602.022545 accepted/tizen/wearable/20160602.022731 submit/tizen/20160531.024853
jongmyeongko [Tue, 24 May 2016 12:21:52 +0000 (21:21 +0900)]
apply encoded name to the source file of losetup.

losetup stores only 64 byte length for the filename.

Change-Id: Ib23a76e9c03a5d3ccd81fbda2698e1d4e7eefe1e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoadd server/client functions 96/64796/30
jongmyeongko [Tue, 5 Apr 2016 10:48:56 +0000 (19:48 +0900)]
add server/client functions

test_app2ext usage has been changed.
now, all the test can be tried to.

install example)
pre-condition: prepare /tmp/org.example.basicuiapplication-1.0.0-arm.tpk
1. (tizenglobalapp)$test_app2ext --pre-install
2. (tizenglobalapp)$pkgcmd -it tpk -p {pkg_path}
3. (tizenglobalapp)$test_app2ext --post-install
4. (tizenglobalapp)$test_app2ext --enable (mount external part)
5. (tizenglobalapp)$test_app2ext --disable (unmount external part)

Change-Id: I8d4d3c07f4632228d7cb15c015012c095a365c4d
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoRemove libprivilege-control for dependency issue 31/66331/1 accepted/tizen/common/20160419.143104 accepted/tizen/ivi/20160418.235805 accepted/tizen/mobile/20160418.235800 accepted/tizen/tv/20160418.235810 accepted/tizen/wearable/20160418.235755 submit/tizen/20160418.105949
Junghyun Yeon [Mon, 18 Apr 2016 10:51:18 +0000 (19:51 +0900)]
Remove libprivilege-control for dependency issue

Change-Id: I3ab769c1ccf27c5a3728da7538fe7904660f7437
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agorework test bin. 97/62997/1 accepted/tizen/common/20160324.084221 accepted/tizen/ivi/20160324.131622 accepted/tizen/mobile/20160324.132907 accepted/tizen/tv/20160324.132729 accepted/tizen/wearable/20160324.132653 submit/tizen/20160323.235918
jongmyeongko [Mon, 21 Mar 2016 11:41:04 +0000 (20:41 +0900)]
rework test bin.

Change-Id: I84224f6683c9ca4743750e83f46735575b2d7c04
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoRemove compile warning 00/61700/1 accepted/tizen/common/20160323.184337 submit/tizen/20160323.020400
Myungki Lee [Thu, 10 Mar 2016 02:37:21 +0000 (11:37 +0900)]
Remove compile warning

Change-Id: If402ab106d5caeea803be072c08c0f50e7833056
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agomerge tizen 2.4 & add test bin 18/61518/3
jongmyeongko [Tue, 8 Mar 2016 10:50:05 +0000 (19:50 +0900)]
merge tizen 2.4 & add test bin

TODO : smack labeling, consider user private app, test all functions

Change-Id: I36f60296cd02fb631c22906724ec8f374689f529
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoremove hardcoded path 45/60245/3 accepted/tizen/common/20160301.120519 accepted/tizen/common/20160302.193732 accepted/tizen/ivi/20160302.224035 accepted/tizen/mobile/20160302.223948 accepted/tizen/tv/20160302.224001 accepted/tizen/wearable/20160302.224021 submit/tizen/20160302.020013 submit/tizen/20160302.065807 submit/tizen_common/20160301.034850
Jiwoong Im [Wed, 24 Feb 2016 09:21:12 +0000 (18:21 +0900)]
remove hardcoded path

Change-Id: Ie3d49ebfa5ade30495a168e933765af160b86e01
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agochange API for writing to db 95/60195/1
jongmyeongko [Wed, 24 Feb 2016 06:17:26 +0000 (15:17 +0900)]
change API for writing to db

Requires :
https://review.tizen.org/gerrit/#/c/60194/

Change-Id: I54e0c7cc6de01e2b92b456c927b0e983d0738508
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix HANDLE_LEAK 18/55918/3 accepted/tizen/ivi/20160218.023348 accepted/tizen/mobile/20151230.120113 accepted/tizen/tv/20151230.120146 accepted/tizen/wearable/20151230.120203 submit/tizen/20151230.075746 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Myungki Lee [Wed, 30 Dec 2015 07:26:15 +0000 (16:26 +0900)]
Fix HANDLE_LEAK

Change-Id: I23b1f04d75c5858e95cbc379471d501c1c0951cc
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoFix memory leak 16/55016/1 accepted/tizen/mobile/20151222.090048 accepted/tizen/tv/20151222.090105 accepted/tizen/wearable/20151222.090117 submit/tizen/20151222.051954 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Myungki Lee [Mon, 21 Dec 2015 09:27:59 +0000 (18:27 +0900)]
Fix memory leak

Change-Id: I005028f7575f1c46af158adf3085fbd02fe13430
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
9 years agoremove unused vconf key. 31/42731/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150708.015023 accepted/tizen/tv/20150708.015126 accepted/tizen/wearable/20150708.015220 submit/tizen/20150630.051205 submit/tizen/20150702.103311 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Jiwoong Im [Thu, 2 Jul 2015 02:48:48 +0000 (11:48 +0900)]
remove unused vconf key.

- VCONFKEY_PKGMGR_STATUS

Change-Id: I4f831b0139a2b8721d011b18e1e95b541a7a08e2
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
10 years agoUpdate deprecated libprivilege-control API functions. 88/19188/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_3.0_ivi submit/tizen_common/20140521.163740 submit/tizen_common/20140522.130648 submit/tizen_common/20140522.135644 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140624.064036 submit/tizen_ivi/20140626.125712 submit/tizen_ivi/20140626.130032 submit/tizen_ivi/20140626.144348 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
Marcin Lis [Mon, 7 Apr 2014 15:28:21 +0000 (17:28 +0200)]
Update deprecated libprivilege-control API functions.

Change-Id: I5c78cf7f43ee2cb51622d461f1870a3fa2f09fc5
Signed-off-by: Marcin Lis <m.lis@samsung.com>
10 years agoAdd multi-user support 04/18204/3 accepted/tizen_ivi_panda tizen_ivi_panda accepted/tizen/ivi/panda/20140403.015126 submit/tizen_ivi_panda/20140403.011836
Kévin THIERRY [Tue, 18 Mar 2014 07:56:30 +0000 (08:56 +0100)]
Add multi-user support

The DB was considered a system/global DB so this patch doesn't change
that. If the DB is meant to be a per user DB, "TZ_SYS_DB" will need to
be replaced with "TZ_USER_DB".

Also set a valid group tag.

Bug-Tizen: PTREL-327
Change-Id: I2006c70cde18e55aadcc0006dad87776e721c231
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agofix mount fail error during update 47/17747/3
junsuk77.oh [Wed, 6 Nov 2013 11:21:01 +0000 (20:21 +0900)]
fix mount fail error during update

Change-Id: Ib3d1b1201f716998f1a679192bb3cf54525d76d1

10 years agodelete unused smack, fix app2sd issue 46/17746/3
junsuk77.oh [Fri, 1 Nov 2013 00:20:50 +0000 (09:20 +0900)]
delete unused smack, fix app2sd issue

Change-Id: I52738cd7cf1535cb2179ec1593a89c5f59a9c688

10 years agofix movetosd error : dont have smack label 45/17745/3
junsuk77.oh [Tue, 29 Oct 2013 06:44:37 +0000 (15:44 +0900)]
fix movetosd error : dont have smack label

Change-Id: I3910f2b0723abe6c5a0be9f9915b6ec78053a74b
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoadd privilege enum type 44/17744/3
junsuk77.oh [Tue, 29 Oct 2013 04:32:10 +0000 (13:32 +0900)]
add privilege enum type

Change-Id: Ia81285c292a9648fedbd40843ff9edd55092f90c
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoadd license path 43/17743/3
junsuk77.oh [Tue, 15 Oct 2013 07:29:01 +0000 (16:29 +0900)]
add license path

Change-Id: I245be3014f381253cb13747e0db3b1e6161de9cf
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agosync with private master 42/17742/3
junsuk77.oh [Thu, 10 Oct 2013 05:34:45 +0000 (14:34 +0900)]
sync with private master

Change-Id: I1ab8bff0a025b50163e7a8764447ad7b06f802fc
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agodelete license path 41/17741/3
junsuk77.oh [Tue, 8 Oct 2013 06:25:02 +0000 (15:25 +0900)]
delete license path

Change-Id: Iffa33a16c6a8e00fc1e6ad19e6e0f4b5d162e6a5
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoadd git license file 40/17740/3
junsuk77.oh [Mon, 30 Sep 2013 06:06:34 +0000 (15:06 +0900)]
add git license file

Change-Id: I1995eb1478ac327db9ca5ce9dc907b6279eeb345
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
10 years agoSync to the latest code 39/17739/3
junsuk77.oh [Mon, 12 Aug 2013 01:38:22 +0000 (10:38 +0900)]
Sync to the latest code

Change-Id: Ieb96f2d74dca3befc1667edbafb5326344b47423
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoSync to the latest code 06/10406/2 accepted/tizen/ivi/stable accepted/tizen_generic accepted/tizen/20131014.080202 accepted/tizen/20131014.165321 accepted/tizen/20131014.172032 accepted/tizen_ivi_stable/20131116.100759 submit/tizen/20131014.075743 submit/tizen_ivi_stable/20131116.100239
junsuk77.oh [Tue, 1 Oct 2013 12:30:49 +0000 (21:30 +0900)]
Sync to the latest code

1. remove entry of mmc path during pkg is moving
2. add dirname for debugging in print message

Change-Id: I1050bdc31b25d1b653eeecc68b5b426d67d0c721
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoimprove packaging 45/10245/1
Anas Nashif [Wed, 25 Sep 2013 03:59:26 +0000 (23:59 -0400)]
improve packaging

- fixed package group
- cleanup spec
- remove debian/
- remove exec flag from source files

Change-Id: I4fe5f02e68a0d3f3e2ea27eca72129f970184879
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
11 years agoadd smack label to app2sd
junsuk77.oh [Tue, 16 Jul 2013 08:19:03 +0000 (17:19 +0900)]
add smack label to app2sd

Change-Id: I2617aff6941abc3f10f002bcfd2d8342ad13e725
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoremove upperstophy charactor, this makes query to terminate
junsuk77.oh [Wed, 3 Jul 2013 02:00:01 +0000 (11:00 +0900)]
remove upperstophy charactor, this makes query to terminate

Change-Id: I54826dfe1f56c82350a3b301a4f5f723de99beb5
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agopass uninstallation if there is error on app2sd
junsuk77.oh [Wed, 26 Jun 2013 09:34:50 +0000 (18:34 +0900)]
pass uninstallation if there is error on app2sd

Change-Id: I2f517a5b3ec13bc1a8fd796e886db76a869649ce
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoMerge branch private-master
junsuk77.oh [Mon, 10 Jun 2013 04:55:48 +0000 (13:55 +0900)]
Merge branch private-master

Change-Id: I757bc9fc6513c1cec06b0031316177aded282def
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agochange a name of move result file
junsuk77.oh [Wed, 15 May 2013 11:32:58 +0000 (20:32 +0900)]
change a name of move result file

Change-Id: I77956b44e2e96cd6bfb5ba94811e1ae9cff4f0ed
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agowrite complete result after pkg move
junsuk77.oh [Wed, 15 May 2013 08:46:21 +0000 (17:46 +0900)]
write complete result after pkg move

Change-Id: I4006e37e7386d4741bb9ef3665ac7ef1aafec459
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoupdate changes
Anas Nashif [Mon, 16 Sep 2013 05:04:18 +0000 (01:04 -0400)]
update changes

Change-Id: I4f2c073d84c0b2491dc8050c894a3886e32869f1

11 years agopackage libapp2sd.so only in -devel 85/9985/1
Anas Nashif [Thu, 12 Sep 2013 12:20:23 +0000 (08:20 -0400)]
package libapp2sd.so only in -devel

Change-Id: Iaf5169ae35624555d19145afc94c75bb6e1ef32c
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
11 years agoRemove left over app2sd.manifest.in 52/5652/1 accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/20130711.181254 accepted/tizen/20130912.081908 accepted/tizen/20130912.083439 accepted/tizen/20130912.093813 accepted/tizen/ivi/genivi/20140131.055959 ivi_oct_m2 submit/tizen/20130711.181813 submit/tizen/20130912.075537 submit/tizen_ivi_genivi/20140131.060219
Rusty Lynch [Thu, 11 Jul 2013 18:15:03 +0000 (11:15 -0700)]
Remove left over app2sd.manifest.in

The last manifest fix did not remove the auto generated manifest,
resulting in the old manifest overriding the new manifest

Change-Id: I213fb188e1c3517848b0ef89b4701b242bcc6959

11 years agoresetting manifest requested domain to floor 94/4594/1 accepted/tizen/20130710.221534 submit/tizen/20130710.102833
Alexandru Cornea [Fri, 28 Jun 2013 17:33:12 +0000 (20:33 +0300)]
resetting manifest requested domain to floor

11 years agoupdate installed storage to pkgmgr db when pkg is moved tizen_2.1 2.1b_release accepted/tizen/20130520.100906 accepted/tizen_2.1/20130425.035457 submit/tizen/20130517.044758 submit/tizen_2.1/20130424.230740
junsuk77.oh [Tue, 9 Apr 2013 07:58:59 +0000 (16:58 +0900)]
update installed storage to pkgmgr db when pkg is moved

Change-Id: I752ebecdb2769699f310ab1487cbfd7947722845
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agoCppcheck issue fix
junsuk77.oh [Wed, 3 Apr 2013 01:28:38 +0000 (10:28 +0900)]
Cppcheck issue fix

Change-Id: I15c39ec4b3206db06a5b915d95c6c6ac389c297e
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agosync with master, change mkfs path
junsuk77.oh [Fri, 29 Mar 2013 09:47:00 +0000 (18:47 +0900)]
sync with master, change mkfs path

Change-Id: I15c682a0f2ccacfce4eeeec81b52a31822e5471b
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
11 years agomerge with master
Jinkun Jang [Fri, 15 Mar 2013 16:12:26 +0000 (01:12 +0900)]
merge with master

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 16:46:27 +0000 (01:46 +0900)]
Tizen 2.1 base

12 years agoInitial empty repository
Jung Minsun [Wed, 24 Oct 2012 07:38:28 +0000 (16:38 +0900)]
Initial empty repository