From 9abf91b58d5db64b6d06bdc25318cf8c3a69503d Mon Sep 17 00:00:00 2001 From: Drew Moseley Date: Sun, 17 Mar 2024 19:11:46 -0400 Subject: [PATCH 1/3] rpi: Auto grow the actual /home partition. With the current service, only the extended partition is expanded to fill the space. This also extends partition 6 which is the current /home and the last partition on the disk. Signed-off-by: Drew Moseley --- .../recipes-core/rauc/files/rauc-grow-data-partition.service | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-rauc-raspberrypi/recipes-core/rauc/files/rauc-grow-data-partition.service b/meta-rauc-raspberrypi/recipes-core/rauc/files/rauc-grow-data-partition.service index bcba29b..55be868 100644 --- a/meta-rauc-raspberrypi/recipes-core/rauc/files/rauc-grow-data-partition.service +++ b/meta-rauc-raspberrypi/recipes-core/rauc/files/rauc-grow-data-partition.service @@ -7,6 +7,7 @@ Before=home.mount Type=oneshot RemainAfterExit=yes ExecStart=/usr/sbin/parted --script /dev/mmcblk0 resizepart 4 100% +ExecStart=/usr/sbin/parted --script /dev/mmcblk0 resizepart 6 100% [Install] WantedBy=home.mount From 66fb0694343bb04a881b458b5f89a885f9817475 Mon Sep 17 00:00:00 2001 From: Drew Moseley Date: Wed, 20 Mar 2024 08:17:53 -0400 Subject: [PATCH 2/3] rpi: Add scarthgap to LAYERSERIES_COMPAT Signed-off-by: Drew Moseley --- meta-rauc-raspberrypi/conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-rauc-raspberrypi/conf/layer.conf b/meta-rauc-raspberrypi/conf/layer.conf index d51fe5d..ad5c97a 100644 --- a/meta-rauc-raspberrypi/conf/layer.conf +++ b/meta-rauc-raspberrypi/conf/layer.conf @@ -10,4 +10,4 @@ BBFILE_PATTERN_meta-rauc-raspberrypi = "^${LAYERDIR}/" BBFILE_PRIORITY_meta-rauc-raspberrypi = "6" LAYERDEPENDS_meta-rauc-raspberrypi = "core rauc raspberrypi" -LAYERSERIES_COMPAT_meta-rauc-raspberrypi = "dunfell kirkstone mickledore nanbield" +LAYERSERIES_COMPAT_meta-rauc-raspberrypi = "dunfell kirkstone mickledore nanbield scarthgap" From 3295e8ee03d0bb9d60450a36b6b8899650730ab0 Mon Sep 17 00:00:00 2001 From: Drew Moseley Date: Thu, 21 Mar 2024 10:50:39 -0400 Subject: [PATCH 3/3] rauc: Move system.conf and ca.cert.pem to rauc-conf package Signed-off-by: Drew Moseley --- meta-rauc-raspberrypi/recipes-core/rauc/rauc-conf.bbappend | 2 ++ meta-rauc-raspberrypi/recipes-core/rauc/rauc_%.bbappend | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 meta-rauc-raspberrypi/recipes-core/rauc/rauc-conf.bbappend diff --git a/meta-rauc-raspberrypi/recipes-core/rauc/rauc-conf.bbappend b/meta-rauc-raspberrypi/recipes-core/rauc/rauc-conf.bbappend new file mode 100644 index 0000000..c718228 --- /dev/null +++ b/meta-rauc-raspberrypi/recipes-core/rauc/rauc-conf.bbappend @@ -0,0 +1,2 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" +SRC_URI:append := " file://ca.cert.pem " diff --git a/meta-rauc-raspberrypi/recipes-core/rauc/rauc_%.bbappend b/meta-rauc-raspberrypi/recipes-core/rauc/rauc_%.bbappend index 61514c2..38fa384 100644 --- a/meta-rauc-raspberrypi/recipes-core/rauc/rauc_%.bbappend +++ b/meta-rauc-raspberrypi/recipes-core/rauc/rauc_%.bbappend @@ -1,7 +1,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:" SRC_URI:append := " \ - file://system.conf \ - file://ca.cert.pem \ file://rauc-grow-data-partition.service \ "