summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunghoon Kim <jhoon20.kim@samsung.com>2020-02-05 17:55:45 +0900
committerJunghoon Kim <jhoon20.kim@samsung.com>2020-02-05 17:55:45 +0900
commit6c01d5ceb2ca16c1d12cc72bb2f2e07f98259c17 (patch)
treef1db0ef25e134978ea5bb9bc9c79f4eb9f0e52e5
parentd8f12c7be782eda7e563b4ce342d9060834f5f4f (diff)
downloadmeta-mobile-6c01d5ceb2ca16c1d12cc72bb2f2e07f98259c17.tar.gz
meta-mobile-6c01d5ceb2ca16c1d12cc72bb2f2e07f98259c17.tar.bz2
meta-mobile-6c01d5ceb2ca16c1d12cc72bb2f2e07f98259c17.zip
Apply btrfs filesystem to the rootfs of TM1, in order to resolve the lack of rootfs space. Change-Id: I3d3c56ca1a6b98c47e8f3c39ff78893c67acd52e Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
-rw-r--r--ks/mobile-wayland-armv7l-tm1.yaml2
-rw-r--r--partitions/btrfs-rootfs-tm16
2 files changed, 7 insertions, 1 deletions
diff --git a/ks/mobile-wayland-armv7l-tm1.yaml b/ks/mobile-wayland-armv7l-tm1.yaml
index d5d9329..f6a7346 100644
--- a/ks/mobile-wayland-armv7l-tm1.yaml
+++ b/ks/mobile-wayland-armv7l-tm1.yaml
@@ -3,7 +3,7 @@ Architecture: armv7l
Schedule: "*"
Active: True
Platform: Wayland
-Part: mobile-mbr-tm1
+Part: btrfs-rootfs-tm1
Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz
FileName: mobile-wayland-armv7l-tm1
Attachment:
diff --git a/partitions/btrfs-rootfs-tm1 b/partitions/btrfs-rootfs-tm1
new file mode 100644
index 0000000..f3a4854
--- /dev/null
+++ b/partitions/btrfs-rootfs-tm1
@@ -0,0 +1,6 @@
+part / --size=1270 --ondisk mmcblk0p --fstype=btrfs --label=rootfs --fsoptions=defaults,noatime,compress-force=lzo
+part /opt/ --size=1000 --ondisk mmcblk0p --fstype=ext4 --label=system-data --extoptions="-m 0"
+part /opt/usr --size=2000 --ondisk mmcblk0p --fstype=ext4 --label=user --extoptions="-m 0"
+part /boot/kernel/mod_tizen_tm1/lib/modules --size=12 --ondisk mmcblk0p --fstype=ext4 --label=modules
+part /mnt/initrd --size=7 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk --extoptions="-b 1024"
+part /mnt/initrd-recovery --size=8 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk-recovery --extoptions="-b 1024 -O ^has_journal"