platform/core/system/initrd.git
5 years agoPerform resizefs for /opt/usr 07/201107/3 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.022839 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090540 accepted/tizen/unified/20190312.113103 submit/tizen/20190311.123423 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
INSUN PYO [Fri, 8 Mar 2019 10:14:17 +0000 (19:14 +0900)]
Perform resizefs for /opt/usr

If device is encrypted, skip resizefs and fsck for /opt/usr.

Change-Id: Ib563b522f8eef201aca4c7103a2166d576e7051a

5 years agoRename regarding fsck/resize2fs 39/199239/1 accepted/tizen/unified/20190208.061647 submit/tizen/20190207.112658
Hyotaek Shim [Thu, 7 Feb 2019 12:21:43 +0000 (21:21 +0900)]
Rename regarding fsck/resize2fs

Change-Id: I827455495952a4c34d6c23d5fcec8fd338e2d3c5

6 years agoCreate /dev, /proc, and /sys directories before mounting 57/189657/2 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.021511 accepted/tizen/unified/20180928.080557 submit/tizen/20180927.030248 submit/tizen_5.0/20181101.000004
Hyotaek Shim [Wed, 19 Sep 2018 11:45:14 +0000 (20:45 +0900)]
Create /dev, /proc, and /sys directories before mounting

This is required in case that rootfs does not contain the directories.

Change-Id: I0bd0a09d52597bc6569de3b9c9e0f32a480b4661
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoPerform fsck on each booting 37/176337/1 accepted/tizen/unified/20180419.075955 submit/tizen/20180418.115925
Hyotaek Shim [Wed, 18 Apr 2018 11:57:19 +0000 (20:57 +0900)]
Perform fsck on each booting

Change-Id: I063c8bbf2f9ca0b0c995a1dd8260bfab7efe41f6
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoBug fix: change the location of rootfs(/sysroot) read-only mount 53/169753/2 accepted/tizen/unified/20180209.064042 submit/tizen/20180209.022053
Hyotaek Shim [Fri, 9 Feb 2018 02:07:59 +0000 (11:07 +0900)]
Bug fix: change the location of rootfs(/sysroot) read-only mount

Change-Id: Ica45471e6801ceca95d14a0be1a6d1dc75712814
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoMount rootfs -o ro 68/164268/3 accepted/tizen/unified/20171219.072737 submit/tizen/20171219.030335
Hyotaek Shim [Mon, 18 Dec 2017 09:24:04 +0000 (18:24 +0900)]
Mount rootfs -o ro
This is security requirement for preventing rootfs
from being writable during boot time

Change-Id: Ia649f5ccafa0f80ab87776ce567cc063dee9b544
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
7 years agoAdding to mount squashfs for gps tracker image. 75/146675/3 accepted/tizen/unified/20170830.161304 submit/tizen/20170830.081358
wchang kim [Wed, 30 Aug 2017 04:14:41 +0000 (13:14 +0900)]
Adding to mount squashfs for gps tracker image.

If /opt/sqsh_usr.img exists, initrd mounts it to /usr and then mounts /usr/lib/modules.
or it mounts /usr/lib/modules.

Change-Id: I9100185631770a00efba63d428e2248b61c7ee9d
Signed-off-by: Woochang Kim <wchang.kim@.samsung.com
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
7 years agoLicense: install license file (LICENSE.Apache-2.0) in the spec 18/129718/1
INSUN PYO [Thu, 18 May 2017 01:23:13 +0000 (10:23 +0900)]
License: install license file (LICENSE.Apache-2.0) in the spec

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: If71867aefe0145d6e3bb4d58a83aaac050b5d9bf

7 years agoMake caching file for imporoving performance. 08/123508/2 accepted/tizen/4.0/unified/20170816.012714 accepted/tizen/4.0/unified/20170829.020323 accepted/tizen/unified/20170406.173313 submit/tizen/20170406.045247 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004 tizen_4.0.m1_release
Yunmi Ha [Thu, 6 Apr 2017 01:58:13 +0000 (10:58 +0900)]
Make caching file for imporoving performance.

Previously, init.sh resize and check the filesystem every time.
It makes growing in booting time.
To reduce this, init.sh makes chache file for checking first boot or not.
Only when boot the first time, init.sh will resize and check the filesystem.

Change-Id: I31dbe37e59029365098b45cdfcb0dba95a11d8c0
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agoAdd blkid.conf file to ramdisk 30/121830/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190126 accepted/tizen/ivi/20170403.124647 accepted/tizen/mobile/20170403.124639 accepted/tizen/tv/20170403.124642 accepted/tizen/unified/20170403.124655 accepted/tizen/wearable/20170403.124645 submit/tizen/20170403.023333
Yunmi Ha [Wed, 29 Mar 2017 06:54:08 +0000 (15:54 +0900)]
Add blkid.conf file to ramdisk

blkid.conf file has directory information for caching.
blkid will use caching data refer to this config.

Change-Id: I66d5ea8783313795a1b91f71813dc2d7acd35400
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agoinit: fix not to use found modules partition as rootfs 79/121779/2 accepted/tizen/common/20170329.172245 accepted/tizen/ivi/20170329.222710 accepted/tizen/mobile/20170329.222519 accepted/tizen/tv/20170329.222643 accepted/tizen/unified/20170329.222732 accepted/tizen/wearable/20170329.222706 submit/tizen/20170329.041352
Seung-Woo Kim [Wed, 29 Mar 2017 03:37:03 +0000 (12:37 +0900)]
init: fix not to use found modules partition as rootfs

If there is no file system volume label "modules" and it is only
partition label, then booting will be failed because it sets the
partition as rootfs. So this fixes not to use found partition as
rootfs.

Change-Id: Iec3e3d3a3c53fb8a5080c68956a9c4fb621db41b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
7 years agoMake initrd package 93/115293/3 accepted/tizen/common/20170222.124510 accepted/tizen/ivi/20170227.050708 accepted/tizen/mobile/20170222.094849 accepted/tizen/tv/20170222.094903 accepted/tizen/unified/20170309.033928 accepted/tizen/wearable/20170222.094921 submit/tizen/20170222.050315 submit/tizen_ivi/20170227.044807 submit/tizen_unified/20170308.100409
Silas Jeon [Tue, 31 Jan 2017 04:48:44 +0000 (13:48 +0900)]
Make initrd package

Change-Id: Ic7a2ce8856e0f8f0566183d2841e5a471fdec7ed

7 years agoInitial empty repository master
Tizen Infrastructure [Mon, 13 Feb 2017 05:02:48 +0000 (21:02 -0800)]
Initial empty repository