Hyotaek Shim [Mon, 8 Jan 2018 22:31:14 +0000 (07:31 +0900)]
Fix some incorrect Requires
Change-Id: I45924f7b38988c4fb5cdb6aa6eb8ea041da00fc6
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Fri, 5 Jan 2018 13:52:01 +0000 (22:52 +0900)]
Remove unused %post device-circle
Change-Id: Ifaa7c6eaa34c3641aa6855eee3059f6c209a6ae8
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Fri, 5 Jan 2018 13:42:05 +0000 (22:42 +0900)]
Remove unused resize2fs@.service files
Change-Id: I3796fde6f6eb24cef554f7b52023bc86b2663b53
Signed-off-by: Hyotaek Shim <hyotaekshim@gmail.com>
Hyotaek Shim [Fri, 5 Jan 2018 13:26:04 +0000 (22:26 +0900)]
Combine system-plugin-device-exynos into system-plugin-device-u3
Change-Id: I8930d6827e649776f0429b3c1821fe455ea3c5d1
Signed-off-by: Hyotaek Shim <hyotaekshim@gmail.com>
Hyotaek Shim [Fri, 5 Jan 2018 09:50:55 +0000 (18:50 +0900)]
Reorganize the remaining existing system-plugin rpms
Change-Id: I2090e4cfa2211eaf028d7ebfd83378c35fa9ba1b
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Thu, 4 Jan 2018 06:56:39 +0000 (15:56 +0900)]
Add config-partition rpms and remove system-plugin-iot rpms
Change-Id: I36251000378a04983c4817e7858bfe2e7635f204
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Wed, 3 Jan 2018 06:00:43 +0000 (15:00 +0900)]
Rename system-plugin-circle as system-plugin-device-circle
Change-Id: Ib397e53a9f9a3c048b7c83758cc964f262a803d1
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Tue, 2 Jan 2018 08:26:24 +0000 (17:26 +0900)]
Remove the unused system-plugin-profile_ivi.rpm
Change-Id: I14267d23917143b0ee69f4e20b2027fee4de8d5e
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Tue, 2 Jan 2018 06:41:23 +0000 (15:41 +0900)]
Rename system-plugin-spreadtrum as system-plugin-device-spreadtrum
Change-Id: I9a8684dfd5263d1d0295eb5deb55772e5417d96a
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Tue, 26 Dec 2017 10:54:03 +0000 (19:54 +0900)]
Rename system-plugin-init_wrapper as system-plugin-feature-init_wrapper
Change-Id: I647f7425c8ac16a41a8cf7e49a90889acf1d05eb
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Tue, 26 Dec 2017 10:46:59 +0000 (19:46 +0900)]
Remove the deprecated system-plugin-headless package
Change-Id: I8d21b7c55054bfbde1ad247e0f463e7b03f60377
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Tue, 26 Dec 2017 09:17:26 +0000 (18:17 +0900)]
Clean up /etc/fstab configuration files
Change-Id: I0d0278bb69a39dc82b4245d58df340ed8783acb3
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Thu, 19 Oct 2017 11:52:00 +0000 (11:52 +0000)]
Add profile-iot-headless and config-udev-sdbd.
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ibb2d1ecbda4e96d86d393c4b48f742a56887618a
(cherry picked from commit
06006b092875b93fa61f42b6f0c7c857df99be92)
Hyotaek Shim [Wed, 18 Oct 2017 05:50:57 +0000 (14:50 +0900)]
Add depedency where tizen-system-env.service starts after /opt is mounted
Change-Id: Id8337c16b4dfadbfc3875dfef7ecd93f4d8cfe1c
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
(cherry picked from commit
f5b5f950674c97f4ef5fdf96adb6d745fc31f3c8)
Hyotaek Shim [Fri, 13 Oct 2017 10:22:18 +0000 (19:22 +0900)]
Temporarily hide renamed rpms
Change-Id: I5c33e834be1573bb97bf094e503fbf01471b6f7f
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Fri, 13 Oct 2017 08:59:39 +0000 (17:59 +0900)]
Remove dbus-devel package dependency from profile-iot
Change-Id: I33ae02f6f3f54918c967568788dbc148f13620de
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Fri, 13 Oct 2017 00:37:29 +0000 (09:37 +0900)]
Reorganizing the rpm spec file
Change-Id: I11a596fd02e8a3b5154f08dd3111a06627c92a8f
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Tue, 12 Sep 2017 01:40:16 +0000 (10:40 +0900)]
Modification of coding rule violation
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I8999b410117069e1370a796b254ee52f7f6eea09
(cherry picked from commit
cce23cf0bc507da44bee301de3f8b1955df5cb69)
Hyotaek Shim [Thu, 24 Aug 2017 12:36:24 +0000 (21:36 +0900)]
Remove redundant vconf key insertion for liblazymount
platform/core/appfw/vconf-internal-keys/data/vconf-internal-system-keys.xml
already contains the "db/system/lazy_mount_show_ui" key.
<vconfkey type="int32" name="db/system/lazy_mount_show_ui" readPriv="http://tizen.org/privilege/internal/default/platform" writePriv="http://tizen.org/privilege/internal/default/platform">
<header>VCONFKEY_SYSTEM_LAZY_MOUNT_SHOW_UI</header>
<val>0</val>
<creator/>
<email/>
<comment><![CDATA[ ]]></comment>
</vconfkey>
Change-Id: I5a22f32afa6f1b3671cfc53ed2f626ce8e9fc88e
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Tue, 4 Jul 2017 08:55:26 +0000 (17:55 +0900)]
tizen-system-env.service : add "RemainAfterExit=yes"
The pkg-db-recovery.service, sdbd.service and ad.service have "Requires=tizen-system-env.service"
So, each time these services are executed, tizen-system-env.service is also executed.
"RemainAfterExit=yes" makse "active (exited)" state even if the serivce is completed.
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I2b1db458deb5bc92fde12912c00303e3ebd65b8a
Yunmi Ha [Tue, 18 Jul 2017 06:39:18 +0000 (15:39 +0900)]
Remove "e4crypt" binary for IoT
This binary is not used on IoT profile.
Change-Id: Iaa2c8de961073843e00beb95efda6deb7298fb4a
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
sanghyeok.oh [Tue, 27 Jun 2017 06:57:35 +0000 (15:57 +0900)]
remove unused binary for IoT
Change-Id: Idc59e0b463bfabeaa3a20438644e3b32bf9d089d
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
Hyotaek Shim [Fri, 9 Jun 2017 07:08:03 +0000 (16:08 +0900)]
Modify specific system configuration files for IoT and RPI3
Change-Id: I1b98267c0b96415eca30a0e2f03db06055c9ac01
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Sat, 20 May 2017 01:01:35 +0000 (10:01 +0900)]
Add LICENSE.Apache-2.0 in liblazymount-devel rpm
Change-Id: I806a04585d8a44f86837f8b576b43c6daa7e6aa5
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
MyungJoo Ham [Wed, 12 Apr 2017 02:28:55 +0000 (11:28 +0900)]
Specfix: do not depend on yourself.
Change-Id: I9a6798d57ca762d8d4fbdf2c9aefdf3406f966c1
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
wchang kim [Fri, 7 Apr 2017 07:05:08 +0000 (16:05 +0900)]
init.wrapper: Adding to mount /usr/lib/modules.
Change-Id: I60244ffcabe7c424799e0b919936b7f89fa91f6a
wchang kim [Fri, 7 Apr 2017 05:12:11 +0000 (14:12 +0900)]
rpi3 : Applying 2 partition.
making fstab_2part and change it to fstab.
Change-Id: I84c1cb17391e18018f64852cf0e903783a953784
INSUN PYO [Mon, 27 Mar 2017 14:15:56 +0000 (23:15 +0900)]
License: add license files
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I165ab8fa9e59f331476c8ff2cd2ef7f9c8ea1d03
wchang kim [Mon, 27 Mar 2017 09:44:08 +0000 (18:44 +0900)]
Adding new pacakge for rpi3.
Added the package of system-plugin-rpi3 for RPi3.
It is copied from the contents of u3 package.
Change-Id: Icdf9d8c3716e9c1e5db4fd268151431f979ee078
INSUN PYO [Mon, 20 Mar 2017 06:17:32 +0000 (15:17 +0900)]
U3(XU3) : Support WinTV-HVR 950Q HYBRID TV STICK
Add keymapping table for WinTV-HVR 950Q
This patch converts Exit keycode to Back key.
Strangely, it is printed as Back in the remote control, but kernel put the Exit keycode.
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I284d883e4e9feadccec2ec8bc86f7c6d41b18f43
Sunmin Lee [Thu, 9 Feb 2017 06:45:16 +0000 (15:45 +0900)]
Separate systemd-user-helper
For ease of development, systemd-user-helper for
user session launch is moved to separate package, session-utils.
Change-Id: Iac07ab112ee042a9e68c4cbdb6d68c2a95804257
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 4 Jan 2017 05:29:12 +0000 (14:29 +0900)]
Upgrade: Move RW update files
RW update files are moved to separate package:
system-rw-update
Change-Id: Iee40b4e5d8c07beafdb47f41cffdf2150486edaf
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 2 Mar 2017 05:48:11 +0000 (14:48 +0900)]
Merge branch 'tizen_3.0' into tizen
- Upgrade: Several modifications for exclusion of basic.taget
Change-Id: Idb51da7ac5af5202a8881c1182aff24b75b554d9
Sunmin Lee [Wed, 11 Jan 2017 01:34:30 +0000 (10:34 +0900)]
Upgrade: Several modifications for exclusion of basic.taget
- cynara.socket for cynara update
- Set default dependency no to services
- SDB debugging disabled
Change-Id: I95ee8b8e6f4f8fbadbc6c888f7db169cd21f5fab
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Silas Jeon [Thu, 16 Feb 2017 06:35:11 +0000 (15:35 +0900)]
Init wrapper : fixed some issues
Made rootfs as RW after fsck, to make fsck work properly.
Added fsck command for system-data partition before mounting.
Fixed DATAFS to $DATAFS. It was misspelled.
Added some comments.
Change-Id: Id5efd195230815b8826fa81f59dff58a4d3c7d23
silas jeon [Tue, 14 Feb 2017 07:54:28 +0000 (16:54 +0900)]
Add some functions in init.wrapper
Now it resizes rootfs. Resizing was originally done by systemd-r-
size service. But now read-only option is going to be applied, so
it can not be done as systemd service. So init.wrapper took the
job. Initrd will take the resizing job later.
Also now it uses both of 'partlabel' and 'label' to find the disk.
Before this commit it did not find the disk by 'partlabel', so it
has not been working.
Change-Id: Ibb56a459e614b3f83651806c246fe3b877e5441d
silas jeon [Thu, 9 Feb 2017 07:13:04 +0000 (16:13 +0900)]
Make root partition mounted as read-only
Last step of making root partition as read-only, on every profile in-
cluding mobile, tv, wearable, common. It will make root partition more
secure and stable, updatable.
Change-Id: If68d8b191d0eea24fc17e762bbcec2a5334424e4
wchang kim [Thu, 12 Jan 2017 09:53:32 +0000 (18:53 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I5ec4d5595152a41e81ebc8c54bea19780d995f43
wchang kim [Thu, 12 Jan 2017 09:26:24 +0000 (18:26 +0900)]
Change the smack info for /run/user_ext/<uid>
Requested by security part
It is the same as /run/user/<uid>.
Change-Id: Ifa5746d23d9b9ea4794f16dd572be46ad65f0b8c
wchang kim [Wed, 4 Jan 2017 07:29:43 +0000 (16:29 +0900)]
Merge branch 'tizen_3.0' into tizen
Conflicts:
packaging/system-plugin.spec
Change-Id: Ibf39413dac46328dd387e296191272e8cfe0e472
Sunmin Lee [Tue, 20 Dec 2016 07:01:05 +0000 (16:01 +0900)]
system-upgrade: patch for normal image
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>
Sunmin Lee [Tue, 13 Dec 2016 08:37:44 +0000 (17:37 +0900)]
upgrade: apply upgrade script numbering
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>
Sunmin Lee [Mon, 19 Dec 2016 01:02:42 +0000 (10:02 +0900)]
Upgrade: exclude upgrade directory from upgrade package
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>
wchang kim [Mon, 12 Dec 2016 11:04:56 +0000 (20:04 +0900)]
Changing the smack label of systemd_user_helper to "_".
Change-Id: Ia96f3e6549429239522ee1d54491bc7e8db83b78
Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
wchang kim [Fri, 9 Dec 2016 07:02:55 +0000 (16:02 +0900)]
Add the directory for system session and user session to share.
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>
Sunmin Lee [Wed, 30 Nov 2016 08:09:13 +0000 (17:09 +0900)]
Upgrade: move filesystem operations to its package
The directory migration operations for basic directories
are moved to filesystem script in filesystem package.
Change-Id: I7887805b7866a383caa910ba5f6002b6c19dc122
wchang kim [Mon, 28 Nov 2016 05:59:12 +0000 (14:59 +0900)]
Adding the system-plugin-headless.
It is required for Tizen IoT minimal set.
It includes a udev ruls of sdb, a shell script to run sdbd and
XDG_RUNTIME_DIR environment.
Change-Id: I24d85c2351c50787eee7b86f0f37ebb877e13d0e
Kunhoon Baik [Mon, 28 Nov 2016 05:47:41 +0000 (14:47 +0900)]
Remove Hardcoded Path for lib dir : use %libdir for 64bit
Change-Id: I6121281e34014c04f5375b13fc776d6591659e7c
Sunmin Lee [Thu, 24 Nov 2016 13:57:57 +0000 (22:57 +0900)]
upgrade: execute dlog upgrade in update-init.sh at sdb debugging
Change-Id: Iea90810f03cf713da9e1b08a58d2b0dc85ce5d90
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 24 Nov 2016 12:45:36 +0000 (21:45 +0900)]
upgrade: fix defects
Change-Id: I8ec4843c9fb80439983fa1303232f7ba1d5c0483
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 24 Nov 2016 07:36:55 +0000 (16:36 +0900)]
Upgrade: sdb related issues
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>
Sunmin Lee [Thu, 24 Nov 2016 05:51:55 +0000 (14:51 +0900)]
upgrade: enable serial debugging at upgrade mode
Enable serial debugging during the system-update status
Change-Id: Ib81ac55cfb4e6ad4fe3fc3c2a13365b53d79db88
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 22 Nov 2016 11:53:49 +0000 (20:53 +0900)]
upgrade: back up default home directory
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>
Sunmin Lee [Tue, 15 Nov 2016 07:10:39 +0000 (16:10 +0900)]
Revert "Upgrade: Automated upgrade"
Enable sdb debugging mode
This reverts commit
1d54574aafb44faf41ba52b3334ce9e687993cf1.
Change-Id: I7a53b95629ce4a74ded73a755961c4468499ec62
Kunhoon Baik [Thu, 17 Nov 2016 07:26:34 +0000 (16:26 +0900)]
Change MainPID of user@service
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
Sangjung Woo [Wed, 16 Nov 2016 05:16:20 +0000 (14:16 +0900)]
udev: use fixed IP address for Cluster
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>
Sunmin Lee [Wed, 9 Nov 2016 05:39:52 +0000 (14:39 +0900)]
spreadtrum: fixed multi-user script is added
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>
wchang kim [Thu, 3 Nov 2016 11:27:18 +0000 (20:27 +0900)]
Description : Applying init.wrapper to init process.
In order to apply RO filesystem for rootfs, we should mount /opt for rw region.
init.wrapper do this job.
Change-Id: I0f546486fa5729bbf4412f86500b0ed43a0ecb3f
Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
taeyoung [Wed, 2 Nov 2016 04:41:24 +0000 (13:41 +0900)]
Merge branch 'tizen' into tizen_3.0
Change-Id: I3e3a8c386e793ba2fde515cea9f80846c6e1c3e8
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Tue, 1 Nov 2016 08:26:59 +0000 (17:26 +0900)]
resize fs: resize rootfs according to the partition label for TM1 and TW1
- 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>
Kunhoon Baik [Tue, 25 Oct 2016 15:19:05 +0000 (00:19 +0900)]
Eliminate umount-opt.service
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
Sangjung Woo [Mon, 10 Oct 2016 10:55:24 +0000 (19:55 +0900)]
spec: Add ivi-network.service for ivi profile
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>
Sunmin Lee [Wed, 21 Sep 2016 05:46:42 +0000 (14:46 +0900)]
Upgrade: Add post operations
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>
Sunmin Lee [Wed, 21 Sep 2016 04:29:24 +0000 (13:29 +0900)]
Enable setting support container value
Change-Id: I81384cbe1ef460b92fb1931338e2b09451753951
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 20 Sep 2016 05:25:05 +0000 (14:25 +0900)]
systemd-user-helper: fix handle leak
Fix handle leaks at systemd-user-helper.
Change-Id: Ida4fe08c053379b8d27591844a4eae37a1476608
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 12 Sep 2016 12:41:22 +0000 (21:41 +0900)]
Upgrade: Automated upgrade
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>
Sunmin Lee [Fri, 9 Sep 2016 10:25:49 +0000 (19:25 +0900)]
Upgrade: Post operation of filesystem
The post operation of upgrade removes redundant directories
in Tizen 3.0.
Change-Id: I80e9e2b6b12a95dfa36844be7e0c084d714f3815
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 7 Sep 2016 05:18:50 +0000 (14:18 +0900)]
Upgrade: update operations of filesystem
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>
Kunhoon Baik [Thu, 1 Sep 2016 13:39:20 +0000 (22:39 +0900)]
Bind 2.4 apps directory to user app directory for compatibility
Change-Id: Ieb817310c970b9fd40249f583421d2862cd1c908
Kunhoon Baik [Thu, 1 Sep 2016 13:03:33 +0000 (22:03 +0900)]
User Session Helper : Enable slave propagation
Change-Id: I685442f33f6d6cedfd919b50a79723c1dceb107c
Sunmin Lee [Thu, 25 Aug 2016 04:41:02 +0000 (13:41 +0900)]
Upgrade: Create home directory through gum-utils '-u'
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>
Sunmin Lee [Wed, 24 Aug 2016 04:41:41 +0000 (13:41 +0900)]
Upgrade: Mount user partition in upgrade mode
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>
Woo Chang Kim [Thu, 25 Aug 2016 09:00:32 +0000 (02:00 -0700)]
Revert "Revert "Description : Adding fstab for lazy mount""
This reverts commit
b63cf7d6105a8866d82d7c8110eaa19fae0044d0.
Change-Id: I80b98406dbe1408fda9786de3b9103854eab0211
Sunmin Lee [Thu, 25 Aug 2016 05:19:40 +0000 (22:19 -0700)]
Revert "Description : Adding fstab for lazy mount"
Lazy mount feature would be applied later.
The upgrade modification is needed to be applied first.
This reverts commit
b31904253f6175183385aca171b491fea234e0f7.
Change-Id: Id9acc50b56304c6273c17b0c3fd8c7800de6e65c
Sunmin Lee [Wed, 24 Aug 2016 04:54:19 +0000 (21:54 -0700)]
Merge "Upgrade: Disable cynara check in upgrade mode" into tizen
Sunmin Lee [Wed, 24 Aug 2016 04:54:10 +0000 (21:54 -0700)]
Merge "Upgrade: Back rpm db up for Tizen 3.0" into tizen
Sunmin Lee [Wed, 24 Aug 2016 04:54:01 +0000 (21:54 -0700)]
Merge "Upgrade: Add update-image script" into tizen
Sunmin Lee [Wed, 24 Aug 2016 01:53:17 +0000 (10:53 +0900)]
Upgrade: Disable cynara check in upgrade mode
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>
Sunmin Lee [Tue, 23 Aug 2016 08:17:54 +0000 (17:17 +0900)]
Upgrade: Back rpm db up for Tizen 3.0
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>
wchang kim [Wed, 24 Aug 2016 02:19:54 +0000 (11:19 +0900)]
Description : Adding fstab for lazy mount
fstab for lazy mount includes root partition and system-data partition.
Lazy mount is only for mobile profile.
Change-Id: I8519f6c705ee3ae0d842ec28262bc55dad438e7b
Kunhoon Baik [Mon, 22 Aug 2016 13:54:16 +0000 (22:54 +0900)]
System User Session Launch helper
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>
Sunmin Lee [Tue, 23 Aug 2016 08:27:33 +0000 (17:27 +0900)]
Upgrade: Add update-image script
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>
wchang kim [Sun, 21 Aug 2016 22:28:47 +0000 (07:28 +0900)]
Desciprtion : Temporary change.
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>
wchang kim [Tue, 16 Aug 2016 04:35:45 +0000 (21:35 -0700)]
Merge "Description : Change the mount method in service file." into tizen
wchang kim [Tue, 16 Aug 2016 02:32:41 +0000 (11:32 +0900)]
Description : Change the mount method in service file.
Adding mount-user.sh.
mount-user.sh gets the PARTLABEL from /dev/disk/by-partlabel for user
and mount it.
Change-Id: Ib08023dc41a2268cef8751281c6e113eaf067204
Sunmin Lee [Thu, 11 Aug 2016 06:48:43 +0000 (15:48 +0900)]
Upgrade: update initialize - create home directory
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>
Kunhoon Baik [Wed, 10 Aug 2016 12:49:50 +0000 (21:49 +0900)]
[TM1/TW1] resize system-data partition
Change-Id: Iefd911d00c48fd367e3e013ac862019bda054774
Sunmin Lee [Wed, 10 Aug 2016 05:01:51 +0000 (14:01 +0900)]
Upgrade: disable auto upgrade
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>
taeyoung [Wed, 10 Aug 2016 02:55:37 +0000 (11:55 +0900)]
upgrade: enable sdbd when usb cable is connected during updating
- 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>
Sunmin Lee [Fri, 5 Aug 2016 10:45:54 +0000 (19:45 +0900)]
Upgrade: system upgrade package is added
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>
wchang kim [Thu, 4 Aug 2016 05:41:11 +0000 (14:41 +0900)]
Description : Fixed pkgconfig information.
Missing some information in CFlags and Libs.
-llazymount
-I/usr/include/lazymount
Change-Id: Idbdc66e398c5497ee75c232f6b3f8294a4d4832f
wchang kim [Thu, 4 Aug 2016 05:31:06 +0000 (22:31 -0700)]
Merge "Description : Adding new package of liblazymount and build enviroment for autotools" into tizen
Sunmin Lee [Fri, 15 Jul 2016 04:47:22 +0000 (13:47 +0900)]
Apply 3 partition hierarchy
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>
wchang kim [Thu, 28 Jul 2016 02:19:09 +0000 (11:19 +0900)]
Description : Adding new package of liblazymount and build enviroment for 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>
jooseong lee [Wed, 20 Jul 2016 11:05:16 +0000 (20:05 +0900)]
Set the SMACK security label to run given executable file in systemd services
Change-Id: I4ed51c4f9a533caf87094b22d917316f83730ccc
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
wchang kim [Wed, 6 Jul 2016 09:17:27 +0000 (18:17 +0900)]
Description : Change the group of /dev/ion for muse-server
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>
wchang kim [Wed, 6 Jul 2016 02:04:49 +0000 (11:04 +0900)]
Description : Set PATH in the script for security
Set PATH in the script for security
Change-Id: I22181ef5a11f467a8476bd8d57ef3928fb06be27
Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
wchang kim [Tue, 5 Jul 2016 05:43:02 +0000 (14:43 +0900)]
Description : Adding a service for fstrim for opt mount.
Adding a service for fstrim for opt mount.
Requested by profiling part.
Change-Id: I4da82cf6e5979cc57f56e0db69723b177de1a050
Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
wchang kim [Tue, 28 Jun 2016 06:33:27 +0000 (15:33 +0900)]
Description : Fixed to fail umount /opt.
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>
Kunhoon Baik [Thu, 31 Mar 2016 23:31:45 +0000 (16:31 -0700)]
Merge "Revert "fstab: use automounting to reduce boot-up time"" into tizen