Youngjae Cho [Wed, 8 Apr 2020 08:00:51 +0000 (17:00 +0900)]
Add get_reboot_mode() for silent reboot
Change-Id: I3451e383e7300935cfae01601d98afe4f9ad8dd5
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
INSUN PYO [Mon, 30 Mar 2020 12:01:37 +0000 (21:01 +0900)]
Add checking /opt partition is mounted
If the /opt partition is not mounted, local-fs.target fails and enters emergency.target
Change-Id: Ic8049c1f580463397950272f32c758792e4aca03
INSUN PYO [Thu, 26 Mar 2020 08:40:20 +0000 (17:40 +0900)]
Remove SmackProcessLabel=System::Privilege on .mount unit
Change-Id: Ib17efed75bfae5c5f69ba7cc7990b0260a40de5f
Hyotaek Shim [Tue, 18 Feb 2020 05:18:05 +0000 (14:18 +0900)]
Remove dependency to deviced-plugin-profile-iot
Change-Id: I1407ca5ecb1ad534c46be950f1d7142e97970400
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Thu, 6 Feb 2020 06:39:53 +0000 (15:39 +0900)]
Remove /etc/fstab configurations
systemd-remount-fs.service is disabled.
/opt is mounted at the ramdisk(initrd) stage.
Change-Id: I76562e6bb322f28f241f2f3825a9f922978e6f46
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Wed, 5 Feb 2020 10:18:34 +0000 (10:18 +0000)]
Merge "Change location to mount /opt/usr with opt-user.mount instead of /efc/fstab" into tizen
INSUN PYO [Wed, 5 Feb 2020 08:44:36 +0000 (17:44 +0900)]
Change partition label from /dev/disk/by-partlabel to /dev/disk/by-label for /opt/usr
XU3, RPI3, RPI4, ARTIK don't have any /dev/disk/by-partlabel.
MCD and DA has his own opt-usr.mount unit.
So, public unifies with /dev/dis/by-label
Change-Id: Ia4ecc4048978248adecc34334af1c44b1173ed27
INSUN PYO [Tue, 4 Feb 2020 06:28:12 +0000 (15:28 +0900)]
Change location to mount /opt/usr with opt-user.mount instead of /efc/fstab
In order to remove systemd-remount-fs.service because systemd-remount-fs.service uses /etc/fstab.
Change-Id: I45252be4b44dd3427a424c5661e282ad393b6e41
INSUN PYO [Tue, 21 Jan 2020 09:53:16 +0000 (18:53 +0900)]
Modify init.wrapper for emulator
Emulator will use init.wrapper from now on because of removing systemd-remount-fs.service.
Change-Id: I86e36e84b12bb457cd92e0583fc496e94467f9af
Hyotaek Shim [Mon, 23 Dec 2019 07:24:10 +0000 (16:24 +0900)]
Create default directories all at once
Change-Id: Ic38fc16336c15df2d84911dc1fc70ddda0111cd8
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Thu, 5 Sep 2019 12:48:08 +0000 (21:48 +0900)]
Minor fix on package dependency
Change-Id: Id1c1929efbf2c3923e81ae8e765476d8d1344797
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Thu, 5 Sep 2019 12:26:42 +0000 (21:26 +0900)]
Add SleepSupport=no to display.conf for RPI3 targets
Change-Id: Ibb0d607bef82a8516917633af9fa181703cc601d
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Tue, 20 Aug 2019 09:03:49 +0000 (09:03 +0000)]
Merge "Revert "tizen: Add additional unit for "unified" user session"" into tizen
Yunmi Ha [Tue, 20 Aug 2019 08:08:39 +0000 (08:08 +0000)]
Revert "tizen: Add additional unit for "unified" user session"
This reverts commit
99515ebe8cbc4752ac29c0c69c074ffad29c67ee.
We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.
Change-Id: I10f68186ee4f08ebf30a215ead7d943300311b09
INSUN PYO [Mon, 1 Jul 2019 04:55:59 +0000 (13:55 +0900)]
Move tizen-fstrim-user.timer from graphical.target to delayed.target
Change-Id: I646d18b8c9ea9cb401e7039b6c6427f8ee6aa635
Mateusz Moscicki [Fri, 19 Apr 2019 13:28:29 +0000 (15:28 +0200)]
tizen: Add additional unit for "unified" user session
The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.
user@.target will contain same units as previously available in user/,
with same UID and environment setup. systemd instance is used for unit
to be able to specify UID (inherited from user@.target).
The rationale behind this work is following:
* VD requirement to remove user session support
* boot time optimization requirements, due to:
+ 'systemd --user' taking 1s its own startup that could be used for
unit startup
+ ability to better rearrange units if these managed by one systemd
instance
Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).
Change-Id: I54010b3755addfe7913b5256afb2b8424c155be5
Hyotaek Shim [Wed, 24 Apr 2019 04:33:48 +0000 (13:33 +0900)]
Fix 61-system-plugin-n4.rules to support even 'userdata' PARTLABEL
Change-Id: Ib95f939ea5c2782785b1f600fd1c409c1ce8543e
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Tue, 23 Apr 2019 09:06:58 +0000 (18:06 +0900)]
Fix 61-system-plugin-n4.rules to support UFS storage
Change-Id: I2740ab8943cc6e3738ab9eabeee5a2700b450581
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Tue, 23 Apr 2019 05:24:21 +0000 (14:24 +0900)]
Add 61-system-plugin-n4.rules for n4 device
N4 does not provide /dev/disk/by-partlabel/user.
So, new udev rule creates it based on /dev/disk/by-partlabel/[USER|USERDATA].
(There are two types of n4. One has USER, another has USERDATA.)
Change-Id: I568c517eee08ab75b402f1aa622805aa9dbd545c
wchang kim [Wed, 20 Mar 2019 07:59:03 +0000 (16:59 +0900)]
Move the workaround script that erases the partition label of /opt/usr
under two partitions (rootfs and system-data) into system-plugin-config-2parts
Change-Id: Idf6ea90e33a157c41ecd2df66e8f930b6334cdf6
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
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>