INSUN PYO [Wed, 13 Mar 2019 09:52:51 +0000 (18:52 +0900)]
Remove opt-usr-fsck.service
All fsck runs in inird.
Change-Id: Ie3166eaaa36877a11ea86402d9c0116be4acba8e
INSUN PYO [Fri, 8 Feb 2019 09:19:50 +0000 (18:19 +0900)]
Remove resizefs@.service
- initrd and init_wrapper performs the resizefs function instead.
- VD and DA : perform in the image flushing step.
- MCD : perform in initrd
- Emulator : perform when combining images in script
Change-Id: I9ea0bdb11710cf0258aafe0b9cb2a266b6d4c952
Hyotaek Shim [Wed, 19 Sep 2018 11:57:44 +0000 (20:57 +0900)]
Create /dev, /proc, and /sys directories before mounting
This is required in case that rootfs does not contain the directories.
Change-Id: I2b2335edd14cbd3c76df008883b1fcc48b261db2
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
pr.jung [Tue, 4 Sep 2018 02:12:48 +0000 (11:12 +0900)]
Fix a bug on headless_env.sh
Change-Id: Ib5c4464c62b919cb53343a4e6400fd90f1259a5b
Signed-off-by: pr.jung <pr.jung@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Tue, 28 Aug 2018 11:07:36 +0000 (20:07 +0900)]
Ugly workaround to remove "user" filesystem label for two-partition headless images
Change-Id: I9ab8f364cef4fe103d14789e87bc5e3d9d285322
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Fri, 17 Aug 2018 08:20:57 +0000 (17:20 +0900)]
Add session-bind feature
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I03965070c0b486c05506708b0911af9db434619a
INSUN PYO [Fri, 17 Aug 2018 05:02:55 +0000 (14:02 +0900)]
Delete lazymount feature
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I8e61739a9bdbf4055c91ff42cabfb58ee2ff0fee
INSUN PYO [Mon, 20 Aug 2018 08:16:42 +0000 (17:16 +0900)]
Remove unused ivi-network.service
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I7ef23b5f7b174cc0b0b6566bff02da92a5a02a18
INSUN PYO [Fri, 10 Aug 2018 03:26:18 +0000 (12:26 +0900)]
Change group of opt-usr-fsck.service to disk.
===========================================================
brw-rw---- 1 root disk 179, 25 Jan 1 10:31 /dev/mmcblk0p25
===========================================================
In addition, User changed to meaningless system_fw(non root).
"Non root user" is requirement of security department.
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I9e7284af533993781771d08ee222e4d212cbb996
INSUN PYO [Thu, 9 Aug 2018 00:37:01 +0000 (09:37 +0900)]
Add RequiresMountsFor=/opt to wait-mount@.service.
In order to apply User/Group to .service, we need /opt/etc/{passwd,group}.
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ie432de320a9c434335a486d9d8138813414b56a9
INSUN PYO [Wed, 8 Aug 2018 03:42:23 +0000 (12:42 +0900)]
Change user and group of wait-mount@.service to system_fw
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Id29ce9a51171cab6e2ec5abf349dccbb746edea6
Hyotaek Shim [Tue, 7 Aug 2018 06:00:34 +0000 (15:00 +0900)]
Add dependency to e2fsprogs for image reduction rpm
Change-Id: I8c3eb8b875084db79c665b506c2d10f00740f7e6
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Tue, 7 Aug 2018 00:25:45 +0000 (09:25 +0900)]
Add a new feature-namespace rpm
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ib89713829adabf193cf8ea51169467e9c3a20fdd
INSUN PYO [Tue, 31 Jul 2018 06:36:56 +0000 (15:36 +0900)]
Add wait-mount@opt-usr.service
This service is reached when /opt/usr partition is mounted.
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I334b588c3903bfc81704e2497c195038386de447
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Hyotaek Shim [Wed, 25 Jul 2018 07:59:31 +0000 (16:59 +0900)]
Add .gitignore
Change-Id: Id6fb73b4979822bd5574455b8ab3907435f80b0d
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Wed, 30 May 2018 05:57:15 +0000 (14:57 +0900)]
Add a new feature-init_wrapper_overlayfs package
This can provide writable overlayfs on read-only compressed fs like squashfs.
Change-Id: I6c40af46a096a0f02bb9ed0acf1950894ff00c54
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Fri, 1 Jun 2018 09:16:21 +0000 (18:16 +0900)]
Fix wrong syntax in init.wrapper
Change-Id: I7752106609603a3fa95be7bda1aa246d7999f16f
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Tue, 15 May 2018 05:11:41 +0000 (14:11 +0900)]
Fix: non-zero exit status is ignored in tizen-system-env.service
Change-Id: I7e0824288917cf896a169e20015010484e96d5a2
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Wed, 4 Apr 2018 10:20:01 +0000 (19:20 +0900)]
Remove unused test_lazymount
Change-Id: Ie83864befb6e03fe6c86374c5adb2d95da6cebab
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Fri, 19 Jan 2018 03:57:23 +0000 (12:57 +0900)]
Remove unused 99-sdb-switch.rules
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ie211523eb3ab95c921dcd9edc15229cf24e67dfd
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