From patchwork Thu Mar 7 14:42:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 40649 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 813DFC48BF6 for ; Thu, 7 Mar 2024 14:42:30 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.24715.1709822545605689865 for ; Thu, 07 Mar 2024 06:42:25 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EF3EE1FB for ; Thu, 7 Mar 2024 06:43:01 -0800 (PST) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8E8D93F73F for ; Thu, 7 Mar 2024 06:42:24 -0800 (PST) From: ross.burton@arm.com To: poky@lists.yoctoproject.org Subject: [PATCH 1/2] genericarm64.wks: reorder partitions Date: Thu, 7 Mar 2024 14:42:21 +0000 Message-Id: <20240307144222.776289-1-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 07 Mar 2024 14:42:30 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/poky/message/13301 From: Ross Burton Put the root partition at the end of the disk so that it can be easily resized. Signed-off-by: Ross Burton --- meta-yocto-bsp/wic/genericarm64.wks.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-yocto-bsp/wic/genericarm64.wks.in b/meta-yocto-bsp/wic/genericarm64.wks.in index 417d4d88104..ee7da87ded8 100644 --- a/meta-yocto-bsp/wic/genericarm64.wks.in +++ b/meta-yocto-bsp/wic/genericarm64.wks.in @@ -4,8 +4,8 @@ part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},initrd=${INITRAMFS_IMAGE}-${MACHINE}.${INITRAMFS_FSTYPES}" --label boot --active --align 1024 --use-uuid -part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid - part swap --size 44 --label swap --fstype=swap --use-uuid +part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid + bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4"