summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunghoon Kim <jhoon20.kim@samsung.com>2020-01-17 15:19:18 +0900
committerJunghoon Kim <jhoon20.kim@samsung.com>2020-02-03 17:05:39 +0900
commitd1b855f5f8a3f82c5af7732c11380b0a6460cde4 (patch)
treeb9bb5c30bb6e334ee646c2a246ea21736bf3ffc7
parent1ba92a9dc9448e15f966cd49af3128b76a837439 (diff)
downloadmeta-d1b855f5f8a3f82c5af7732c11380b0a6460cde4.tar.gz
meta-d1b855f5f8a3f82c5af7732c11380b0a6460cde4.tar.bz2
meta-d1b855f5f8a3f82c5af7732c11380b0a6460cde4.zip
[TRE-2317] Add IoT headless btrfs rootfs image for RPIsubmit/tizen/20200203.054007
Change-Id: I933982e895c570b0e4a710bbfe119f5a173c572f Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
-rw-r--r--common-targets.yaml1
-rw-r--r--ks/iot-headless-2parts-armv7l-btrfs-rootfs-rpi.yaml16
-rw-r--r--partitions/btrfs-rootfs-2parts-ramdisk-recovery4
3 files changed, 21 insertions, 0 deletions
diff --git a/common-targets.yaml b/common-targets.yaml
index 7863cce..c156986 100644
--- a/common-targets.yaml
+++ b/common-targets.yaml
@@ -12,3 +12,4 @@ Targets:
- iot-boot-arm64-rpi3.yaml
- iot-boot-armv7l-rpi3.yaml
- iot-boot-armv7l-rpi4.yaml
+ - iot-headless-2parts-armv7l-btrfs-rootfs-rpi.yaml
diff --git a/ks/iot-headless-2parts-armv7l-btrfs-rootfs-rpi.yaml b/ks/iot-headless-2parts-armv7l-btrfs-rootfs-rpi.yaml
new file mode 100644
index 0000000..52a94cf
--- /dev/null
+++ b/ks/iot-headless-2parts-armv7l-btrfs-rootfs-rpi.yaml
@@ -0,0 +1,16 @@
+Name: iot-headless-2parts-armv7l-btrfs-rootfs-rpi
+Architecture: armv7l
+Schedule: "*"
+Active: True
+Platform: Tizen IoT
+Part: btrfs-rootfs-2parts-ramdisk-recovery
+Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz
+Language: C
+FileName: iot-headless-2parts-armv7l-btrfs-rootfs-rpi
+Repos:
+ - unified-standard
+ - base-standard
+Groups:
+ - IoT Adaptation RPi3 Headless
+NoChrootScripts:
+ - backup-data
diff --git a/partitions/btrfs-rootfs-2parts-ramdisk-recovery b/partitions/btrfs-rootfs-2parts-ramdisk-recovery
new file mode 100644
index 0000000..403945f
--- /dev/null
+++ b/partitions/btrfs-rootfs-2parts-ramdisk-recovery
@@ -0,0 +1,4 @@
+part / --size=400 --ondisk mmcblk0p --fstype=btrfs --label=rootfs --fsoptions=defaults,noatime,compress=zstd
+part /opt/ --size=512 --ondisk mmcblk0p --fstype=ext4 --label=system-data --extoptions="-m 0"
+part /mnt/initrd --size=7 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk --extoptions="-b 1024"
+part /mnt/initrd-recovery --size=12 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk-recovery --extoptions="-b 1024 -O ^has_journal"