From: Uladzimir Bely <ubely@ilbers.de>
To: Anton Mikanovich <amikan@ilbers.de>, isar-users@googlegroups.com
Subject: Re: [PATCH] meta-isar: Enable image installer support for RPi targets
Date: Thu, 21 Nov 2024 09:49:58 +0300 [thread overview]
Message-ID: <d9b42246b750f449793b9f435b994ea7aa7d980c.camel@ilbers.de> (raw)
In-Reply-To: <20241114135529.1467287-1-amikan@ilbers.de>
On Thu, 2024-11-14 at 15:55 +0200, Anton Mikanovich wrote:
> Enable isar-installer usage for Raspberry Pi board.
>
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
> ---
> meta-isar/conf/machine/rpi-common.conf | 4 ++++
> meta-isar/scripts/lib/wic/canned-wks/installer-rpi.wks | 7 +++++++
> 2 files changed, 11 insertions(+)
> create mode 100644 meta-isar/scripts/lib/wic/canned-wks/installer-
> rpi.wks
>
> diff --git a/meta-isar/conf/machine/rpi-common.conf b/meta-
> isar/conf/machine/rpi-common.conf
> index 949496ec..4f7a9955 100644
> --- a/meta-isar/conf/machine/rpi-common.conf
> +++ b/meta-isar/conf/machine/rpi-common.conf
> @@ -7,6 +7,10 @@ BAUDRATE_TTY ?= "115200"
>
> IMAGE_FSTYPES ?= "wic"
> WKS_FILE ?= "rpi-sdimg"
> +INSTALLER_WKS_FILE ?= "installer-rpi.wks"
> +
> +# RPi have custom kernel file names
> +KERNEL_FILE = "${KERNEL_NAME}.img"
>
> KERNEL_TYPE = "raspios"
> KERNEL_IMAGE_PKG ?= "raspberrypi-kernel"
> diff --git a/meta-isar/scripts/lib/wic/canned-wks/installer-rpi.wks
> b/meta-isar/scripts/lib/wic/canned-wks/installer-rpi.wks
> new file mode 100644
> index 00000000..248d2bbc
> --- /dev/null
> +++ b/meta-isar/scripts/lib/wic/canned-wks/installer-rpi.wks
> @@ -0,0 +1,7 @@
> +# short-description: Create installer image for RPi machines
> +
> +part /boot --source bootimg-partition --fstype=vfat --label boot --
> active --align 4096 --size 10 --use-uuid
> +part / --source rootfs --fstype ext4 --exclude-path=install --label
> installroot --align 4096 --exclude-path=boot --use-uuid
> +part /install --source rootfs --change-directory=install --label
> INSTALLDATA --size 4G --fstype=vfat --use-uuid --align 4096
> +
> +bootloader
> --
> 2.34.1
>
Applied to next.
--
Best regards,
Uladzimir.
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/d9b42246b750f449793b9f435b994ea7aa7d980c.camel%40ilbers.de.
prev parent reply other threads:[~2024-11-21 6:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 13:55 Anton Mikanovich
2024-11-14 13:57 ` Anton Mikanovich
2024-11-21 6:49 ` Uladzimir Bely [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d9b42246b750f449793b9f435b994ea7aa7d980c.camel@ilbers.de \
--to=ubely@ilbers.de \
--cc=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox