summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-09-20systemd-user-helper: fix handle leaksubmit/tizen/20160921.014304accepted/tizen/wearable/20160921.081203accepted/tizen/tv/20160921.081153accepted/tizen/mobile/20160921.081208accepted/tizen/ivi/20160921.081157accepted/tizen/common/20160921.161650Sunmin Lee1-0/+3
Fix handle leaks at systemd-user-helper. Change-Id: Ida4fe08c053379b8d27591844a4eae37a1476608 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-09-12Upgrade: Automated upgradesubmit/tizen/20160919.061739accepted/tizen/wearable/20160920.052636accepted/tizen/tv/20160920.052617accepted/tizen/mobile/20160920.052602accepted/tizen/ivi/20160920.052651accepted/tizen/common/20160919.154629Sunmin Lee6-24/+21
From now on, this package activates upgrade automatically when the device is rebooted. And for this, more detailed logging method is added. Change-Id: Icd46e088be15bd08b9cff3681662f585a505c31f Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-09-12Upgrade: Post operation of filesystemSunmin Lee2-0/+12
The post operation of upgrade removes redundant directories in Tizen 3.0. Change-Id: I80e9e2b6b12a95dfa36844be7e0c084d714f3815 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-09-08Upgrade: update operations of filesystemsubmit/tizen/20160909.055251accepted/tizen/wearable/20160912.053603accepted/tizen/tv/20160912.053544accepted/tizen/mobile/20160912.053528accepted/tizen/ivi/20160912.053615accepted/tizen/common/20160909.115013Sunmin Lee1-0/+11
The RW update related to filesystem is done in the first step of update. Change-Id: I0e765b5458dfddffee6bfc661bb61e1dd0d5e1d0 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-09-01Bind 2.4 apps directory to user app directory for compatibilitysubmit/tizen/20160904.234158accepted/tizen/wearable/20160905.065600accepted/tizen/tv/20160905.065541accepted/tizen/mobile/20160905.065521accepted/tizen/ivi/20160905.065617Kunhoon Baik1-0/+10
Change-Id: Ieb817310c970b9fd40249f583421d2862cd1c908
2016-09-01User Session Helper : Enable slave propagationsubmit/tizen/20160902.065241Kunhoon Baik2-4/+15
Change-Id: I685442f33f6d6cedfd919b50a79723c1dceb107c
2016-08-28Upgrade: Create home directory through gum-utils '-u'submit/tizen/20160829.060602accepted/tizen/wearable/20160829.232744accepted/tizen/tv/20160829.232727accepted/tizen/mobile/20160829.232710accepted/tizen/ivi/20160829.232803accepted/tizen/common/20160829.140227Sunmin Lee1-5/+1
For Tizen 3.0, home directory for default user (owner) is necessary. Rather than remove & recreate the user, the '-u' option will just make a home directory for specific user if it did not exist. Change-Id: Ia1fd54c5a9b2ec15dbbfacd8e2a9b4a7191be22f Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-08-28Upgrade: Mount user partition in upgrade modeSunmin Lee1-0/+11
The lazy mount makes user partition mounted separately. For RW update, user partition also should be mounted. This is done in the start of upgrade. Change-Id: I3db70f3bb698d22371747530c545145836b57e09 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-08-25Revert "Revert "Description : Adding fstab for lazy mount""submit/tizen/20160826.052212submit/tizen/20160826.022147submit/tizen/20160825.094741accepted/tizen/wearable/20160829.040406accepted/tizen/tv/20160829.040342accepted/tizen/mobile/20160829.040330accepted/tizen/ivi/20160829.040424accepted/tizen/common/20160825.152043Woo Chang Kim6-7/+56
This reverts commit b63cf7d6105a8866d82d7c8110eaa19fae0044d0. Change-Id: I80b98406dbe1408fda9786de3b9103854eab0211
2016-08-24Revert "Description : Adding fstab for lazy mount"submit/tizen/20160825.053100submit/temp/20160825.052937accepted/tizen/wearable/20160825.084228accepted/tizen/tv/20160825.084213accepted/tizen/mobile/20160825.084155accepted/tizen/ivi/20160825.084243accepted/tizen/common/20160825.062845Sunmin Lee3-19/+4
Lazy mount feature would be applied later. The upgrade modification is needed to be applied first. This reverts commit b31904253f6175183385aca171b491fea234e0f7. Change-Id: Id9acc50b56304c6273c17b0c3fd8c7800de6e65c
2016-08-23Merge "Upgrade: Disable cynara check in upgrade mode" into tizensubmit/tizen/20160824.050122accepted/tizen/wearable/20160825.050751accepted/tizen/tv/20160825.050743accepted/tizen/mobile/20160825.050736accepted/tizen/ivi/20160825.050814accepted/tizen/common/20160824.154604Sunmin Lee1-0/+3
2016-08-23Merge "Upgrade: Back rpm db up for Tizen 3.0" into tizenSunmin Lee2-0/+8
2016-08-23Merge "Upgrade: Add update-image script" into tizenSunmin Lee1-0/+7
2016-08-24Upgrade: Disable cynara check in upgrade modeSunmin Lee1-0/+3
The cynara daemon is not running in upgrade mode, so the cynara check should be disabled. Change-Id: If0e8282925cdc6d349223e06c925f5aa6a74cfba Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-08-24Upgrade: Back rpm db up for Tizen 3.0Sunmin Lee2-0/+8
Because rpm db is in RW partition (/opt/var/lib/rpm), in the upgrade operation rpm db should be changed as 2.4 -> 3.0. To do this, when create the upgrade image the rpm db should be backed up and moved to RW path of 2.4 in the upgrade process. Change-Id: If940abe0132dffcaaa0bc791ceecd3662946d68c Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-08-24Description : Adding fstab for lazy mountwchang kim3-4/+19
fstab for lazy mount includes root partition and system-data partition. Lazy mount is only for mobile profile. Change-Id: I8519f6c705ee3ae0d842ec28262bc55dad438e7b
2016-08-24System User Session Launch helperKunhoon Baik5-3/+242
For supporting Tizen specific feature like directory compatibility and container, Tizen requires to handle namespaces. However, it could not be treated by PAM due to Lazy-mount feature. This launch helper solves the issues. This is first trial, if we find better solution, we will change to the solution. Change-Id: I0a6b27eb30f7904afde3a710a7fcb044ec172411 Signed-off-by: taeyoung <ty317.kim@samsung.com>
2016-08-23Upgrade: Add update-image scriptSunmin Lee1-0/+7
The operations making upgrade image is moved to upgrade package. This script is executed in image creation. Change-Id: I7f559fb7c36d0809ff14c079af94dae8edf3e7cb Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-08-22Desciprtion : Temporary change.submit/tizen/20160822.045932submit/tizen/20160822.012953accepted/tizen/wearable/20160823.041233accepted/tizen/tv/20160823.041205accepted/tizen/mobile/20160823.041125accepted/tizen/ivi/20160823.041257accepted/tizen/common/20160822.132727wchang kim6-4/+27
Changing the default value of lazy mount for idle booting. test_lazymount waits for mounting user parition and then call sd_notify because efl library calls sd_notify. These are temp codes for idle booting. Change-Id: I62670413fa220203f1a2975885ecbac9885e6ce4 Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-08-15Merge "Description : Change the mount method in service file." into tizensubmit/tizen/20160816.052549accepted/tizen/wearable/20160817.040554accepted/tizen/tv/20160817.040538accepted/tizen/mobile/20160817.040520accepted/tizen/ivi/20160817.040611accepted/tizen/common/20160816.130311wchang kim4-1/+13
2016-08-16Description : Change the mount method in service file.wchang kim4-1/+13
Adding mount-user.sh. mount-user.sh gets the PARTLABEL from /dev/disk/by-partlabel for user and mount it. Change-Id: Ib08023dc41a2268cef8751281c6e113eaf067204
2016-08-11Upgrade: update initialize - create home directorysubmit/tizen/20160812.055757submit/tizen/20160812.014407accepted/tizen/wearable/20160812.065557accepted/tizen/wearable/20160812.065442accepted/tizen/tv/20160812.065555accepted/tizen/tv/20160812.065445accepted/tizen/mobile/20160812.065600accepted/tizen/mobile/20160812.065440accepted/tizen/ivi/20160812.065602accepted/tizen/ivi/20160812.065448accepted/tizen/common/20160812.141035Sunmin Lee5-2/+33
Because the home directory path is different between 2.4 and 3.0, some additional actions for home directory is needed. The init-update.service (init-update.sh) does it. It preserves (not move) the previous home directory (/opt/home), and just add new home directory (/opt/usr/home). Change-Id: I5823c2d5902557f4b703a030ea5b144f65901222 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-08-10[TM1/TW1] resize system-data partitionsubmit/tizen/20160810.235655accepted/tizen/wearable/20160812.010504accepted/tizen/tv/20160812.010458accepted/tizen/mobile/20160812.010519accepted/tizen/ivi/20160812.010511accepted/tizen/common/20160812.140700Kunhoon Baik1-1/+4
Change-Id: Iefd911d00c48fd367e3e013ac862019bda054774
2016-08-10Upgrade: disable auto upgradeSunmin Lee1-2/+2
For debugging & development, upgrade mode does not execute upgrade script automatically. After developer tests through sdb, they should execute update.sh manually: $ /system-update/update.sh Change-Id: Ic7866aa7134448a8e444397d8333b181569023a8 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-08-10upgrade: enable sdbd when usb cable is connected during updatingtaeyoung2-0/+3
- sdb enabling needs to be performed just after udc is enabled. To detect udc state change, udev rule is used. Change-Id: I2de18cc9f19f6a34fd7307d17a14c607fc111626 Signed-off-by: taeyoung <ty317.kim@samsung.com>
2016-08-09Upgrade: system upgrade package is addedSunmin Lee5-0/+52
For upgrade of RW partition, offline system update function of systemd is activated. Update scripts for each packages should be under the upgrade/update-script, and new files for update version should be under the upgrade/data. * The update scripts are executed alphabetically (ref: man ls). To specify the execution order explicitly, numeric prefix can be used such as: 00.first.patch.sh, 01.second.patch.sh Change-Id: I12a4a703cf252ed671ecd6d94cda5ff624e5dd87 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-08-04Description : Fixed pkgconfig information.wchang kim2-3/+4
Missing some information in CFlags and Libs. -llazymount -I/usr/include/lazymount Change-Id: Idbdc66e398c5497ee75c232f6b3f8294a4d4832f
2016-08-03Merge "Description : Adding new package of liblazymount and build enviroment ↵wchang kim11-3/+843
for autotools" into tizen
2016-08-02Apply 3 partition hierarchysubmit/tizen/20160803.071736submit/tizen/20160803.053139accepted/tizen/wearable/20160804.081013accepted/tizen/tv/20160804.080957accepted/tizen/mobile/20160804.081037accepted/tizen/ivi/20160804.081024accepted/tizen/common/20160804.174326Sunmin Lee1-1/+2
From now on, Tizen 3.0 support 3 partition hierarchy as default and it is applied to TM1 and TW1. Change-Id: I6b920a79f2323d57ad8cdb40e17a0dafd4e1e9ee Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-07-29Description : Adding new package of liblazymount and build enviroment for ↵wchang kim11-3/+843
autotools Adding new pacakge for lazy mount feature. It has the library and path activator service for mounting user patition(/opt/usr). Adding the build environment for autotools. This change need the change of BuildArch for system-plugin. system-plugin-<version>.noarch.rpm --> system-plugin-<version>.<arch>.rpm Change-Id: I107e7610659fcbbcda7b8b27abb645251c069296 Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-07-20Set the SMACK security label to run given executable file in systemd servicessubmit/tizen/20160721.003054accepted/tizen/wearable/20160721.091036accepted/tizen/tv/20160721.091324accepted/tizen/mobile/20160721.090506accepted/tizen/ivi/20160721.090757accepted/tizen/common/20160721.175837jooseong lee4-0/+4
Change-Id: I4ed51c4f9a533caf87094b22d917316f83730ccc Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
2016-07-06Description : Change the group of /dev/ion for muse-serversubmit/tizen/20160706.095052accepted/tizen/wearable/20160706.132205accepted/tizen/tv/20160706.132101accepted/tizen/mobile/20160706.132055accepted/tizen/ivi/20160706.132827accepted/tizen/common/20160706.142710wchang kim1-1/+1
Change the group of /dev/ion to audio for muse-server Requested by multimedia part and securiy Change-Id: I0307d85103904d796d755c6f31374f2bd17a2439 Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-07-06Description : Set PATH in the script for securitysubmit/tizen/20160706.021739accepted/tizen/wearable/20160706.082421accepted/tizen/tv/20160706.082414accepted/tizen/mobile/20160706.082431accepted/tizen/ivi/20160706.082531wchang kim1-0/+2
Set PATH in the script for security Change-Id: I22181ef5a11f467a8476bd8d57ef3928fb06be27 Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-07-05Description : Adding a service for fstrim for opt mount.submit/tizen/20160705.082718accepted/tizen/wearable/20160705.101926accepted/tizen/tv/20160705.101909accepted/tizen/mobile/20160705.101957accepted/tizen/ivi/20160705.101905accepted/tizen/common/20160705.170608wchang kim4-0/+75
Adding a service for fstrim for opt mount. Requested by profiling part. Change-Id: I4da82cf6e5979cc57f56e0db69723b177de1a050 Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-06-28Description : Fixed to fail umount /opt.submit/tizen/20160628.215737accepted/tizen/wearable/20160629.021623accepted/tizen/tv/20160629.021511accepted/tizen/mobile/20160629.021617accepted/tizen/ivi/20160629.021543accepted/tizen/common/20160629.222718wchang kim1-1/+1
When /opt is busy, umouting /opt is failed. This is workaround for this issue. Change-Id: I6b93f493e733cde193d7b81268c78aec7f325d1a Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-03-31Merge "Revert "fstab: use automounting to reduce boot-up time"" into tizensubmit/tizen/20160331.233403accepted/tizen/wearable/20160401.002451accepted/tizen/tv/20160401.002432accepted/tizen/mobile/20160401.002420accepted/tizen/ivi/20160401.002510accepted/tizen/common/20160401.075435Kunhoon Baik1-2/+2
2016-03-31Merge "[Bug Fix] Bug fix for https://review.tizen.org/gerrit/#/c/64025/" ↵Kunhoon Baik1-2/+1
into tizen
2016-03-31Revert "fstab: use automounting to reduce boot-up time"Lukasz Stelmach1-2/+2
This reverts commit 9fc739889fd536adeeb866c1c4e6b1530aed3d57. Change-Id: I17ae10dfbd34001b1c6b81606799792ef00821a8
2016-03-31[Bug Fix] Bug fix for https://review.tizen.org/gerrit/#/c/64025/Kunhoon Baik1-2/+1
Change-Id: I2cb2b9525c8238bfe598249aec4a2c1c61e5433a
2016-03-30Merge "fstab: use automounting to reduce boot-up time" into tizensubmit/tizen/20160330.130037Łukasz Stelmach1-2/+2
2016-03-29[Temporary] For supporting MCD specific targetsubmit/tizen/20160329.115021accepted/tizen/wearable/20160329.121937accepted/tizen/tv/20160329.121922accepted/tizen/mobile/20160329.121908accepted/tizen/ivi/20160329.121955accepted/tizen/common/20160329.143303Kunhoon Baik3-7/+5
Change-Id: I9bf5f992aa593ed74d21874133341e1d59d22328
2016-03-26For future use : this rule will be used when deviced is not readyKunhoon Baik1-0/+2
Support for just switch class. Change-Id: I625c5f97704d57bd4caf690754fe910d89b9adb5
2016-03-17Change 3-partition to 2-partitionsubmit/tizen/20160317.010132accepted/tizen/wearable/20160317.040304accepted/tizen/tv/20160317.040238accepted/tizen/mobile/20160317.040226accepted/tizen/ivi/20160317.040318accepted/tizen/common/20160317.160352boseong choi4-2/+28
merge system-data partition and user partition add fstab_tm1(TM1), change fstab_initrd(circle) add umount-opt.service for umount /opt (symlink in local-fs-pre.target.wants) Change-Id: I44bfc2d6daea54af6da356552ddc91335d12a4de Signed-off-by: boseong choi <boseong.choi@samsung.com>
2016-03-15Temporary For Wearable Circle Target "csa"submit/tizen/20160315.110147accepted/tizen/wearable/20160315.125443accepted/tizen/tv/20160315.125428accepted/tizen/mobile/20160315.125408accepted/tizen/ivi/20160315.125509accepted/tizen/common/20160315.222051Kunhoon Baik1-0/+3
This patch is so ugly because it assumes some partition of specific target. Best Approach is to provide permutable RW or modifing BT/WIFI related daemons. Until the csa issue will be solved, this patch will be kept. Change-Id: Ied786d5f6d7845a59a3de113cb5f50f2c514e39c
2016-03-10Temporary For Wearable Circle Target "initrd"submit/tizen/20160311.020339submit/tizen/20160310.071522accepted/tizen/wearable/20160311.145208accepted/tizen/tv/20160311.144435accepted/tizen/mobile/20160311.142755accepted/tizen/ivi/20160311.145849accepted/tizen/common/20160311.201702accepted/tizen/common/20160311.201311Kunhoon Baik2-0/+18
This patch is so ugly because it assumes several dependencies. Best Approach is to provide own initrd for circle target. Until the initrd issue will be solved, this patch will be kept. Change-Id: I450a9facb3b3e0545b73bd7e0e62860392d1b5e1
2016-03-09spec: add circle packagesubmit/tizen/20160309.233533accepted/tizen/wearable/20160310.062144accepted/tizen/tv/20160310.062117accepted/tizen/mobile/20160310.062048accepted/tizen/ivi/20160310.062213accepted/tizen/common/20160311.200957boseong choi1-0/+11
add circle package in spec file add /initrd directory in circle package Change-Id: I011cd56cf05acb832d84b4cde20413aee8791bd3 Signed-off-by: boseong choi <boseong.choi@samsung.com>
2016-03-08build: add systemctl requirementsubmit/tizen/20160308.090827accepted/tizen/wearable/20160308.102939accepted/tizen/tv/20160308.102921accepted/tizen/mobile/20160308.102905accepted/tizen/ivi/20160308.103000accepted/tizen/common/20160308.143610Taeyoung Kim1-1/+1
- /usr/bin/systemctl is used in the post script. Thus the requirement is added Change-Id: I6606fb5dfde46992ca8efee5c340c79148177cd6 Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
2016-01-13fstab: use automounting to reduce boot-up timeŁukasz Stelmach1-2/+2
Change-Id: I31240ca23e64617c0cd3de05a9043831d69ae798 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2015-12-31udev: add rule for spipe devices which are used in audio servicesubmit/tizen_ivi/20160217.000001submit/tizen_ivi/20160217.000000submit/tizen_common/20160218.142243submit/tizen/20151231.021026submit/devel/ivi/20160201.010402submit/devel/ivi/20160129.071219accepted/tizen/wearable/20151231.072916accepted/tizen/tv/20151231.072904accepted/tizen/mobile/20151231.072842accepted/tizen/ivi/20160218.022829devel/iviTaeyoung Kim1-0/+1
Change-Id: I6e618f2c5121bcdb43359c03369a8f603c201c9c Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
2015-12-23add initrd directory for z3 targetsubmit/tizen_common/20151229.154718submit/tizen_common/20151229.144031submit/tizen_common/20151229.142028submit/tizen/20151223.074533accepted/tizen/wearable/20151223.110634accepted/tizen/tv/20151223.110502accepted/tizen/mobile/20151223.110514Min Kang1-0/+2
mkdir /initrd for z3 target Change-Id: Ib905a209e8ae5e3b97eae3fe4f121f6a729667b5 Signed-off-by: Min Kang <min1023.kang@samsung.com>