summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-05-31session-bind: Remove mounting of legacy app pathtizen_9.0_m2_releasetizen_8.0_m2_releaseaccepted/tizen/unified/dev/20240620.003354accepted/tizen/unified/20230719.102847accepted/tizen/9.0/unified/20241030.231616accepted/tizen/8.0/unified/20231005.092537tizen_9.0tizen_8.0tizenaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedaccepted/tizen_8.0_unifiedChanwoo Choi1-9/+0
The mounting iof legacy app path causes the critical security issue. So that remove the mounting of legacy app path. Change-Id: I26e7ccb1cc3889907568bee19e263f73ca06f58d Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2022-08-31Remove feature-init_wrappertizen_7.0_m2_releasesubmit/tizen/20220904.234325submit/tizen/20220901.053202accepted/tizen/unified/20220905.001216accepted/tizen/unified/20220902.020109accepted/tizen/7.0/unified/hotfix/20221116.104523accepted/tizen/7.0/unified/20221110.055940tizen_7.0_hotfixaccepted/tizen_7.0_unified_hotfixSangYoun Kwak2-100/+0
Change-Id: Iea2ab6ec1a26b05b627e7ed170694b2508299902 Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2022-03-14Revert "Add get_reboot_mode() for silent reboot"submit/tizen/20220902.100906submit/tizen/20220317.053005accepted/tizen/unified/20220902.102511accepted/tizen/unified/20220318.133016Youngjae Cho4-71/+0
This reverts commit 9769f82f1456e217cf17e883b9063398579cf6d1. Now there is HAL that is in charge of bootmode. Therefore, revert this patch. Change-Id: I176cea46668bd39840f478d82ea723321b016d94
2021-12-07Fix Group in the spec fileHyotaek Shim1-4/+4
Change-Id: I1b22c31b4c60a9c3af84975f4b4318d85456d05d Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-10-26Add packages that runs auto-tests of systemfwYoungjae Cho2-0/+61
The package system-plugin-tests contains testsuites throughout the system framework and has scripts to run those tests. Change-Id: Ic0e5396f1325560735c4d346496398402c9ecbf9 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-10-01Remove unused fixed-multi-user.sh scriptHyotaek Shim2-23/+0
Change-Id: I1a68d1f21c6e8251aad8a3cc74d05fddbfcb5bea Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-07-08Adopt What=LABEL=NAME option for mount unitstizen_6.5.m2_releasesubmit/tizen_6.5/20211028.161601submit/tizen/20210708.024807accepted/tizen/unified/20210708.131339accepted/tizen/6.5/unified/20211028.093812Hyotaek Shim2-2/+2
to remove dependency from systemd-udevd.service Change-Id: I10dabf79f60d211e54f4cd501213ab1cb4585132 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-07-05Rename feature-container-guest rpm to feature-container-adaptorsubmit/tizen/20210705.081724accepted/tizen/unified/20210705.211033Hyotaek Shim1-4/+4
Change-Id: I8fd5e0dd83a9d7410447911fbf4d89540e769157 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-07-02Initialize system-plugin-feature-container-guest packagesubmit/tizen/20210702.050357accepted/tizen/unified/20210702.133343Hyotaek Shim3-0/+43
Change-Id: I3478d57155417d1b29973188b60bd67601893955 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-06-022parts_env: Remove 'user' label along with filesystemsubmit/tizen/20210602.084502accepted/tizen/unified/20210603.130744Dongwoo Lee2-1/+7
This updates script for removing user label to check the filesystem and select the proper tool for changing label. Change-Id: I3b0d5ca8eee04ef681fbfea243614194d0983725 Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
2021-04-19Clean up init_wrapper scriptHyotaek Shim1-3/+1
Change-Id: I760a01622d5432f0bc7622fed4d35dded75f165e Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-04-05Remove unused init_wrapper_overlayfs packageHyotaek Shim2-104/+0
Change-Id: I70d0e83385228773a89b54fd4a7a4a3c32663029 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-03-10Remove "Type=ext4" option in opt-usr.mount to support f2fs filesystemsubmit/tizen/20210310.051909accepted/tizen/unified/20210310.144837INSUN PYO1-1/+1
The "Type=" option in opt-usr.mount should not be specified, because tizen uses "ext4" or "f2fs" filesystem for each target. If there is no "Type=" option in the mount unit, systemd automatically detects it when mounting. Reference. - https://www.freedesktop.org/software/systemd/man/systemd.mount.html - Type= : Takes a string for the file system type. See mount(8) for details. This setting is optional Change-Id: I4127b6534c2d593a24d3cc3727a83b7101ad3740
2021-02-22Remove system-plugin-device-rpi3 packagesubmit/tizen/20210303.015412submit/tizen/20210225.050452submit/tizen/20210225.013231submit/tizen/20210224.095137submit/tizen/20210223.021112accepted/tizen/unified/20210303.130739Hyotaek Shim2-22/+0
Change-Id: If6727fd4a3b30cea61c4ee0c9668a7d1e223d79f Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-02-18Remove unused system-plugin-device-xxx packagessubmit/tizen/20210222.045039accepted/tizen/unified/20210222.114525Hyotaek Shim3-48/+0
system-plugin-device-n4 system-plugin-device-u3 Change-Id: I4380d2739a0a872a7261ceeed3d5cb7c2d27b82b Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2020-04-21Add get_reboot_mode() for silent reboottizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.114801submit/tizen_6.0_hotfix/20201102.192501submit/tizen_6.0/20201029.205101submit/tizen/20200421.052338accepted/tizen/unified/20200422.123204accepted/tizen/6.0/unified/hotfix/20201103.051144accepted/tizen/6.0/unified/20201030.123922tizen_6.0_hotfixaccepted/tizen_6.0_unified_hotfixYoungjae Cho4-0/+71
Change-Id: I3451e383e7300935cfae01601d98afe4f9ad8dd5 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2020-04-02Add checking /opt partition is mountedsubmit/tizen/20200403.052058submit/tizen/20200403.032411submit/tizen/20200402.132326submit/tizen/20200402.112550submit/tizen/20200402.090543accepted/tizen/unified/20200406.133155accepted/tizen/unified/20200402.155416INSUN PYO2-0/+27
If the /opt partition is not mounted, local-fs.target fails and enters emergency.target Change-Id: Ic8049c1f580463397950272f32c758792e4aca03
2020-03-26Remove SmackProcessLabel=System::Privilege on .mount unitINSUN PYO1-1/+0
Change-Id: Ib17efed75bfae5c5f69ba7cc7990b0260a40de5f
2020-02-18Remove dependency to deviced-plugin-profile-iotsubmit/tizen/20200218.060818accepted/tizen/unified/20200219.130222Hyotaek Shim1-2/+0
Change-Id: I1407ca5ecb1ad534c46be950f1d7142e97970400 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2020-02-06Remove /etc/fstab configurationsHyotaek Shim3-25/+3
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>
2020-02-05Merge "Change location to mount /opt/usr with opt-user.mount instead of ↵submit/tizen/20200205.104317accepted/tizen/unified/20200206.023244INSUN PYO2-2/+2
/efc/fstab" into tizen
2020-02-05Change partition label from /dev/disk/by-partlabel to /dev/disk/by-label for ↵INSUN PYO1-1/+1
/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
2020-02-04Change location to mount /opt/usr with opt-user.mount instead of /efc/fstabINSUN PYO2-2/+2
In order to remove systemd-remount-fs.service because systemd-remount-fs.service uses /etc/fstab. Change-Id: I45252be4b44dd3427a424c5661e282ad393b6e41
2020-01-21Modify init.wrapper for emulatorsubmit/tizen/20200122.034316accepted/tizen/unified/20200123.005129INSUN PYO1-0/+8
Emulator will use init.wrapper from now on because of removing systemd-remount-fs.service. Change-Id: I86e36e84b12bb457cd92e0583fc496e94467f9af
2019-12-23Create default directories all at onceHyotaek Shim1-9/+9
Change-Id: Ic38fc16336c15df2d84911dc1fc70ddda0111cd8 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2019-09-05Minor fix on package dependencytizen_5.5.m2_releasesubmit/tizen_5.5_mobile_hotfix/20201026.185101submit/tizen_5.5/20191031.000002submit/tizen/20190905.124935accepted/tizen/unified/20190906.111918accepted/tizen/5.5/unified/mobile/hotfix/20201027.081355accepted/tizen/5.5/unified/20191031.025909tizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_mobile_hotfixHyotaek Shim1-1/+1
Change-Id: Id1c1929efbf2c3923e81ae8e765476d8d1344797 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2019-09-05Add SleepSupport=no to display.conf for RPI3 targetssubmit/tizen/20190905.124442Hyotaek Shim1-0/+2
Change-Id: Ibb0d607bef82a8516917633af9fa181703cc601d Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2019-08-20Merge "Revert "tizen: Add additional unit for "unified" user session"" into ↵submit/tizen/20190820.090809accepted/tizen/unified/20190822.045503Hyotaek Shim2-22/+0
tizen
2019-08-20Revert "tizen: Add additional unit for "unified" user session"Yunmi Ha2-22/+0
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
2019-07-01Move tizen-fstrim-user.timer from graphical.target to delayed.targetsubmit/tizen/20190701.095512accepted/tizen/unified/20190702.114946INSUN PYO1-4/+4
Change-Id: I646d18b8c9ea9cb401e7039b6c6427f8ee6aa635
2019-05-09tizen: Add additional unit for "unified" user sessionsubmit/tizen/20190509.015828accepted/tizen/unified/20190510.111115Mateusz Moscicki2-0/+22
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
2019-04-24Fix 61-system-plugin-n4.rules to support even 'userdata' PARTLABELsubmit/tizen/20190424.043429accepted/tizen/unified/20190424.112606Hyotaek Shim1-0/+1
Change-Id: Ib95f939ea5c2782785b1f600fd1c409c1ce8543e Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2019-04-23Fix 61-system-plugin-n4.rules to support UFS storagesubmit/tizen/20190423.090731accepted/tizen/unified/20190423.113503Hyotaek Shim1-2/+2
Change-Id: I2740ab8943cc6e3738ab9eabeee5a2700b450581 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2019-04-23Add 61-system-plugin-n4.rules for n4 devicesubmit/tizen/20190423.080058INSUN PYO2-0/+5
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
2019-03-20Move the workaround script that erases the partition label of /opt/usrsubmit/tizen/20190320.082350accepted/tizen/unified/20190321.062502wchang kim3-6/+10
under two partitions (rootfs and system-data) into system-plugin-config-2parts Change-Id: Idf6ea90e33a157c41ecd2df66e8f930b6334cdf6 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2019-03-13Remove opt-usr-fsck.serviceINSUN PYO3-21/+2
All fsck runs in inird. Change-Id: Ie3166eaaa36877a11ea86402d9c0116be4acba8e
2019-03-08Remove resizefs@.servicesubmit/tizen/20190311.123423accepted/tizen/unified/20190312.113106INSUN PYO2-33/+5
- 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
2018-09-19Create /dev, /proc, and /sys directories before mountingsubmit/tizen_5.0/20181101.000001submit/tizen/20180927.030248accepted/tizen/unified/20180928.080551accepted/tizen/5.0/unified/20181102.012752Hyotaek Shim2-4/+2
This is required in case that rootfs does not contain the directories. Change-Id: I2b2335edd14cbd3c76df008883b1fcc48b261db2 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-09-04Fix a bug on headless_env.shsubmit/tizen/20180904.022130accepted/tizen/unified/20180904.180628pr.jung1-2/+2
Change-Id: Ib5c4464c62b919cb53343a4e6400fd90f1259a5b Signed-off-by: pr.jung <pr.jung@samsung.com> Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-08-28Ugly workaround to remove "user" filesystem label for two-partition headless ↵submit/tizen/20180828.111356accepted/tizen/unified/20180829.142734Hyotaek Shim1-0/+6
images Change-Id: I9ab8f364cef4fe103d14789e87bc5e3d9d285322 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-08-24Add session-bind featuresubmit/tizen/20180828.020813accepted/tizen/unified/20180828.062413INSUN PYO5-4/+114
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I03965070c0b486c05506708b0911af9db434619a
2018-08-23Delete lazymount featuresubmit/tizen/20180823.232043accepted/tizen/unified/20180824.062710INSUN PYO12-763/+0
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I8e61739a9bdbf4055c91ff42cabfb58ee2ff0fee
2018-08-20Remove unused ivi-network.serviceINSUN PYO1-11/+0
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I7ef23b5f7b174cc0b0b6566bff02da92a5a02a18
2018-08-10Change group of opt-usr-fsck.service to disk.submit/tizen/20180810.060236accepted/tizen/unified/20180810.132605INSUN PYO1-0/+2
=========================================================== 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
2018-08-09Add RequiresMountsFor=/opt to wait-mount@.service.submit/tizen/20180809.043843accepted/tizen/unified/20180809.074821INSUN PYO1-0/+1
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
2018-08-08Change user and group of wait-mount@.service to system_fwsubmit/tizen/20180808.044741INSUN PYO1-0/+2
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Id29ce9a51171cab6e2ec5abf349dccbb746edea6
2018-08-07Add dependency to e2fsprogs for image reduction rpmHyotaek Shim1-0/+1
Change-Id: I8c3eb8b875084db79c665b506c2d10f00740f7e6 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-08-07Add a new feature-namespace rpmsubmit/tizen/20180807.045816INSUN PYO2-0/+19
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ib89713829adabf193cf8ea51169467e9c3a20fdd
2018-08-03Add wait-mount@opt-usr.servicesubmit/tizen/20180806.025213submit/tizen/20180805.231306accepted/tizen/unified/20180807.061004INSUN PYO6-0/+80
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>
2018-07-25Add .gitignoreHyotaek Shim1-0/+3
Change-Id: Id6fb73b4979822bd5574455b8ab3907435f80b0d Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>