summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>2017-07-19 12:21:01 +0200
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>2017-07-19 12:21:01 +0200
commit1f1597b9fb7922a2040a7141bdd47b85235942d1 (patch)
treeb07b5afc690e115851e63f81d9e31673e20834cb
parentafb041e85c3e22fb42c0efb9e781786cf01eb412 (diff)
downloadmeta-1f1597b9fb7922a2040a7141bdd47b85235942d1.tar.gz
meta-1f1597b9fb7922a2040a7141bdd47b85235942d1.tar.bz2
meta-1f1597b9fb7922a2040a7141bdd47b85235942d1.zip
[TRE-1357] Add initrd-recovery to RPI3
Adding this package requires change in partitioning of RPI3. Please see comments in TRE-1356 for details. Change-Id: I9ef2b317d3755803abfed8cbda4ba8e2b902f9c8 Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
-rw-r--r--common.yaml2
-rw-r--r--partitions/common-3parts-ramdisk-recovery5
-rw-r--r--patterns/common-adaptation-rpi3.yaml4
3 files changed, 10 insertions, 1 deletions
diff --git a/common.yaml b/common.yaml
index ab40acb..6cd6883 100644
--- a/common.yaml
+++ b/common.yaml
@@ -206,7 +206,7 @@ Wayland:
- buildname
RPi3:
- Part: common-mbr-3parts
+ Part: common-3parts-ramdisk-recovery
UserGroups: "audio,video"
Groups:
- Generic Adaptation
diff --git a/partitions/common-3parts-ramdisk-recovery b/partitions/common-3parts-ramdisk-recovery
new file mode 100644
index 0000000..3c77d00
--- /dev/null
+++ b/partitions/common-3parts-ramdisk-recovery
@@ -0,0 +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=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"
diff --git a/patterns/common-adaptation-rpi3.yaml b/patterns/common-adaptation-rpi3.yaml
index 18caf27..ccf3ab5 100644
--- a/patterns/common-adaptation-rpi3.yaml
+++ b/patterns/common-adaptation-rpi3.yaml
@@ -60,3 +60,7 @@ Packages:
- csapi-convergence
#From TRE-1371
- csapi-network-nsd
+#From TRE-1357
+- initrd-recovery
+- system-recovery
+- system-recovery-non_gui