summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2021-02-16 15:17:37 +0900
committerINSUN PYO <insun.pyo@samsung.com>2021-02-16 19:45:39 +0900
commite7945ac079926319d013bad93aa380d97e174d47 (patch)
treea0321eb0124ed11e26407ed95cdbfded54a7b8ed
parent6e824b4e7a73099932c985acf4670968b750cb03 (diff)
downloadmeta-e7945ac079926319d013bad93aa380d97e174d47.tar.gz
meta-e7945ac079926319d013bad93aa380d97e174d47.tar.bz2
meta-e7945ac079926319d013bad93aa380d97e174d47.zip
Apply squashfs filesystem to the initrd(ramdisk) of IOTsubmit/tizen/20210217.020358accepted/tizen/unified/20210217.030919
squashfs supports compression. ===================================== | ext4 (M byte) | squashfs (M byte) | ====================================| | 6.5 | 3.7 | | 10.0 | 5.5 | ------------------------------------- | 13.0 | 7.0 | | 13.4 | 7.3 | ------------------------------------- | 13.8 | 7.7 | | 14.3 | 7.9 | ------------------------------------- | 15.0 | 8.2 | | 16.3 | 9.1 | ===================================== Change-Id: I07d2fed88494009cb7b19dc30ec4cdec1818a16f
-rw-r--r--partitions/btrfs-rootfs-2parts-ramdisk-recovery2
-rw-r--r--partitions/btrfs-rootfs-3parts-ramdisk-recovery2
-rw-r--r--partitions/common-3parts-artik530_710-ramdisk-recovery2
-rw-r--r--partitions/common-3parts-ramdisk-recovery2
4 files changed, 4 insertions, 4 deletions
diff --git a/partitions/btrfs-rootfs-2parts-ramdisk-recovery b/partitions/btrfs-rootfs-2parts-ramdisk-recovery
index bfd99d1..e46b2c7 100644
--- a/partitions/btrfs-rootfs-2parts-ramdisk-recovery
+++ b/partitions/btrfs-rootfs-2parts-ramdisk-recovery
@@ -1,4 +1,4 @@
part / --size=1024 --ondisk mmcblk0p --fstype=btrfs --label=rootfs --fsoptions=defaults,noatime,compress-force=lzo
part /opt/ --size=512 --ondisk mmcblk0p --fstype=ext4 --label=system-data --extoptions="-m 0"
-part /mnt/initrd --size=8 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk --extoptions="-b 1024 -O ^has_journal"
+part /mnt/initrd --size=14 --ondisk mmcblk0p --fstype=squashfs --label=ramdisk --extoptions="-b 1024 -O ^has_journal"
part /mnt/initrd-recovery --size=32 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk-recovery --extoptions="-b 1024 -O ^has_journal"
diff --git a/partitions/btrfs-rootfs-3parts-ramdisk-recovery b/partitions/btrfs-rootfs-3parts-ramdisk-recovery
index 09a147d..6c868ab 100644
--- a/partitions/btrfs-rootfs-3parts-ramdisk-recovery
+++ b/partitions/btrfs-rootfs-3parts-ramdisk-recovery
@@ -1,5 +1,5 @@
part / --fstype="btrfs" --size=1300 --ondisk=mmcblk0 --label rootfs --fsoptions=defaults,noatime,compress-force=lzo
part /opt --fstype="ext4" --size=512 --ondisk=mmcblk0 --label system-data --fsoptions=defaults,noatime
part /opt/usr --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label user --fsoptions=defaults,noatime
-part /mnt/initrd --size=8 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk --extoptions="-b 1024 -O ^has_journal"
+part /mnt/initrd --size=14 --ondisk mmcblk0p --fstype=squashfs --label=ramdisk --extoptions="-b 1024 -O ^has_journal"
part /mnt/initrd-recovery --size=32 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk-recovery --extoptions="-b 1024 -O ^has_journal"
diff --git a/partitions/common-3parts-artik530_710-ramdisk-recovery b/partitions/common-3parts-artik530_710-ramdisk-recovery
index d6414ff..d39128b 100644
--- a/partitions/common-3parts-artik530_710-ramdisk-recovery
+++ b/partitions/common-3parts-artik530_710-ramdisk-recovery
@@ -1,5 +1,5 @@
part / --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label rootfs --fsoptions=defaults,noatime
part /opt --fstype="ext4" --size=512 --ondisk=mmcblk0 --label system-data --fsoptions=defaults,noatime
part /opt/usr --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label user --fsoptions=defaults,noatime
-part /mnt/initrd --size=8 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk --extoptions="-b 1024 -O ^has_journal"
+part /mnt/initrd --size=14 --ondisk mmcblk0p --fstype=squashfs --label=ramdisk --extoptions="-b 1024 -O ^has_journal"
part /mnt/initrd-recovery --size=12 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk-recovery --extoptions="-b 1024 -O ^has_journal"
diff --git a/partitions/common-3parts-ramdisk-recovery b/partitions/common-3parts-ramdisk-recovery
index 5f87833..3786b96 100644
--- a/partitions/common-3parts-ramdisk-recovery
+++ b/partitions/common-3parts-ramdisk-recovery
@@ -1,5 +1,5 @@
part / --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label rootfs --fsoptions=defaults,noatime
part /opt --fstype="ext4" --size=512 --ondisk=mmcblk0 --label system-data --fsoptions=defaults,noatime
part /opt/usr --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label user --fsoptions=defaults,noatime
-part /mnt/initrd --size=8 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk --extoptions="-b 1024 -O ^has_journal"
+part /mnt/initrd --size=14 --ondisk mmcblk0p --fstype=squashfs --label=ramdisk --extoptions="-b 1024 -O ^has_journal"
part /mnt/initrd-recovery --size=32 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk-recovery --extoptions="-b 1024 -O ^has_journal"