summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-12-20system-upgrade: patch for normal imagesubmit/tizen_3.0/20161220.090555submit/tizen_3.0.m2/20170104.093748accepted/tizen/3.0/wearable/20161221.010557accepted/tizen/3.0/tv/20161221.010641accepted/tizen/3.0/mobile/20161221.011431accepted/tizen/3.0/ivi/20161221.010849accepted/tizen/3.0/common/20161221.181219accepted/tizen/3.0.m2/wearable/20170104.101018accepted/tizen/3.0.m2/tv/20170104.100421accepted/tizen/3.0.m2/mobile/20170104.100239tizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobileSunmin Lee3-19/+88
The system-upgrade package is going to be included into normal image; and the upgrade image will be created by specific script (make_upgrade_image.sh). Change-Id: I2fa5eefdda8dbfede433cf0e1ab7101bca50e9ca Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-12-19upgrade: apply upgrade script numberingSunmin Lee1-10/+10
The numbers of scripts are rearranged. It is applied at update-init.sh for execution of special scripts for sdb debugging. Change-Id: Ic969b72c735daa2b14d31a2ac5605fcdf9ea1c8e Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-12-19Upgrade: exclude upgrade directory from upgrade packagesubmit/tizen_3.0/20161219.014721accepted/tizen/3.0/wearable/20161219.044912accepted/tizen/3.0/tv/20161219.044854accepted/tizen/3.0/mobile/20161219.044834accepted/tizen/3.0/ivi/20161219.044933accepted/tizen/3.0/common/20161219.113743Sunmin Lee3-1/+1
Because filesystem install upgrade directory (/usr/share/upgrade), it doesn't need to be included in system-upgrade package. Change-Id: Ic245bfbaeddeac24a70c4c95fcde82a45b568432 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-12-12Changing the smack label of systemd_user_helper to "_".submit/tizen_3.0/20161212.215355accepted/tizen/3.0/wearable/20161213.025836accepted/tizen/3.0/tv/20161213.025828accepted/tizen/3.0/mobile/20161213.025821accepted/tizen/3.0/ivi/20161213.025845accepted/tizen/3.0/common/20161213.164218wchang kim1-1/+1
Change-Id: Ia96f3e6549429239522ee1d54491bc7e8db83b78 Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-12-12Add the directory for system session and user session to share.submit/tizen_3.0/20161212.042035wchang kim3-7/+177
Making the directory of /run/user_ext/<uid>. Mounting tmpfs to it with smackfstransmute System::Run. Unmounting directories which systemd_user_helper made when service is stopped. Change-Id: Ia749ba8ec291018c29216c65a0d47ee7ab385dbc Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-11-30Upgrade: move filesystem operations to its packageSunmin Lee3-43/+2
The directory migration operations for basic directories are moved to filesystem script in filesystem package. Change-Id: I7887805b7866a383caa910ba5f6002b6c19dc122
2016-11-28Remove Hardcoded Path for lib dir : use %libdir for 64bitsubmit/tizen_3.0/20161128.092418accepted/tizen/3.0/wearable/20161129.001756accepted/tizen/3.0/tv/20161129.001733accepted/tizen/3.0/mobile/20161129.001716accepted/tizen/3.0/ivi/20161129.001806accepted/tizen/3.0/common/20161129.103137Kunhoon Baik2-3/+4
Change-Id: I6121281e34014c04f5375b13fc776d6591659e7c
2016-11-24upgrade: execute dlog upgrade in update-init.sh at sdb debuggingsubmit/tizen_3.0/20161124.141456accepted/tizen/3.0/wearable/20161125.082109accepted/tizen/3.0/tv/20161125.082104accepted/tizen/3.0/mobile/20161125.082053accepted/tizen/3.0/ivi/20161125.082114accepted/tizen/3.0/common/20161125.101831Sunmin Lee1-2/+5
Change-Id: Iea90810f03cf713da9e1b08a58d2b0dc85ce5d90 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-11-24upgrade: fix defectssubmit/tizen_3.0/20161124.125900Sunmin Lee2-0/+3
Change-Id: I8ec4843c9fb80439983fa1303232f7ba1d5c0483 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-11-24Upgrade: sdb related issuessubmit/tizen_3.0/20161124.103638Sunmin Lee2-3/+11
To launch sdb properly in upgrade mode, several initialize scripts should be run before sdbd.service. Change-Id: I1573f9f172a06935b52c1b16ef4619d6ca0c2bc6 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-11-24upgrade: enable serial debugging at upgrade modeSunmin Lee1-0/+2
Enable serial debugging during the system-update status Change-Id: Ib81ac55cfb4e6ad4fe3fc3c2a13365b53d79db88 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-11-22upgrade: back up default home directorySunmin Lee3-7/+10
The default user (owner) home directory is backed up when image is created and moved back to /home at update-init.sh, because previous gum-utils seems to have some dependency issue. Change-Id: Ic01d223a0633b0026623cfa539d02c4fc5c5482e Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-11-20Revert "Upgrade: Automated upgrade"submit/tizen_3.0/20161121.095219Sunmin Lee6-21/+24
Enable sdb debugging mode This reverts commit 1d54574aafb44faf41ba52b3334ce9e687993cf1. Change-Id: I7a53b95629ce4a74ded73a755961c4468499ec62
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