summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-11-18Change MainPID of user@servicesubmit/tizen_3.0/20161118.041243accepted/tizen/3.0/wearable/20161122.124227accepted/tizen/3.0/tv/20161122.124213accepted/tizen/3.0/mobile/20161122.124143accepted/tizen/3.0/ivi/20161122.124236accepted/tizen/3.0/common/20161122.195027Kunhoon Baik2-12/+72
systemd-user-helper helps to launch systemd user session. Thus, MainPID should be changed to systemd user session for keeping original behavior like stop operation. This patch changes the MainPID to systemd user session by using pidfile and forking type. Change-Id: Id8dc3daa71c18914b79e218043705fe5e167d14f
2016-11-16udev: use fixed IP address for Clustersubmit/tizen_3.0/20161116.231358accepted/tizen/3.0/wearable/20161117.022344accepted/tizen/3.0/tv/20161117.022321accepted/tizen/3.0/mobile/20161117.022309accepted/tizen/3.0/ivi/20161117.022406accepted/tizen/3.0/common/20161117.090722Sangjung Woo3-4/+21
This patch assigns the fixed IP address to USB Ethernet device to communicate with the Cluster device. Change-Id: I5f9e37d7b729517577cc646c92fc38a1577414ff Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
2016-11-11spreadtrum: fixed multi-user script is addedSunmin Lee2-0/+23
The fixed multi-user feature is introduced into spreadtrum target. It will execute all scripts in the fixed_multiuser scripts directory. Change-Id: Iaca23f98167b7a005447eeb7bd66e468d951a5ec Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-11-02Merge branch 'tizen' into tizen_3.0submit/tizen_3.0_common/20161110.084657submit/tizen_3.0/20161102.073456accepted/tizen/3.0/wearable/20161103.001930accepted/tizen/3.0/tv/20161103.001916accepted/tizen/3.0/mobile/20161103.001901accepted/tizen/3.0/ivi/20161103.001949accepted/tizen/3.0/common/20161114.081321taeyoung2-22/+3
Change-Id: I3e3a8c386e793ba2fde515cea9f80846c6e1c3e8 Signed-off-by: taeyoung <ty317.kim@samsung.com>
2016-11-01resize fs: resize rootfs according to the partition label for TM1 and TW1taeyoung1-1/+3
- TM1 and TW1 use partition label to distinguish partitions. - previously, rootfs of TM1 was distinguished by file system label and rootfs of TW1 was not resized. Thus the resizefs services by partition label are added for TM1 and TW1. Change-Id: I044ca8ed09096fb30d32eac408c689acd1f20916 Signed-off-by: taeyoung <ty317.kim@samsung.com>
2016-10-26Eliminate umount-opt.servicesubmit/tizen_3.0_common/20161104.104000submit/tizen/20161026.001251accepted/tizen/wearable/20161028.151127accepted/tizen/tv/20161028.151123accepted/tizen/mobile/20161028.151117accepted/tizen/ivi/20161028.151143accepted/tizen/common/20161026.134448Kunhoon Baik2-21/+0
umount-opt.service was for 2.4 3 partition compatibilty layer in Tizen 2 Partition system. However, Tizen decided to re-support 3 partition for full compatibility due to 2.4 -> 3.0 upgrade For your information, 2.4/3.0 Major Compatibilty is 1) Partition : Keep 3 Partitoin 2) App Directory : /opt/usr/apps 3) Content Directory : /opt/usr/media Change-Id: Ica295ed0dc47677c36637eec6d335edb60c40d20
2016-10-11spec: Add ivi-network.service for ivi profilesubmit/tizen_3.0/20161028.082323submit/tizen_3.0/20161028.062323submit/tizen/20161011.075122accepted/tizen/wearable/20161011.234314accepted/tizen/tv/20161011.234300accepted/tizen/mobile/20161011.234414accepted/tizen/ivi/20161011.234348accepted/tizen/common/20161011.154426accepted/tizen/3.0/wearable/20161028.122852accepted/tizen/3.0/tv/20161028.122630accepted/tizen/3.0/mobile/20161028.122351accepted/tizen/3.0/ivi/20161028.123055Sangjung Woo2-0/+25
In order to communicate with Cluster device, this patch set eth0 as static IP address. This patch is only applied for ivi profile. Change-Id: Iec8f978c37afe7dab9d0fbd12a744a58fec230a3 Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
2016-09-26Upgrade: Add post operationssubmit/tizen_3.0_wearable/20161015.000006submit/tizen_3.0_tv/20161015.000005submit/tizen_3.0_mobile/20161015.000006submit/tizen_3.0_ivi/20161010.000007submit/tizen/20160926.074333accepted/tizen/wearable/20160927.021050accepted/tizen/tv/20160927.021040accepted/tizen/mobile/20160927.021101accepted/tizen/ivi/20160927.020734accepted/tizen/common/20160926.154255accepted/tizen/3.0/wearable/20161015.084449accepted/tizen/3.0/tv/20161016.005621accepted/tizen/3.0/mobile/20161015.034150accepted/tizen/3.0/ivi/20161011.065124Sunmin Lee1-1/+21
At post script: 1) Migrate user contents files to 3.0 path 2) Remove unused files in 3.0 Change-Id: Id30143efa87314ed3dde3a0179aa1e6950e02df0 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-09-21Enable setting support container valuesubmit/tizen/20160922.045944accepted/tizen/wearable/20160923.085749accepted/tizen/tv/20160923.085734accepted/tizen/mobile/20160923.085719accepted/tizen/ivi/20160923.085806accepted/tizen/common/20160922.120837Sunmin Lee1-1/+1
Change-Id: I81384cbe1ef460b92fb1931338e2b09451753951 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
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