From: BAUER Bernd <bernd.bauer@ses-imagotag.com>
To: "meta-rauc@pengutronix.de" <meta-rauc@pengutronix.de>
Subject: [meta-rauc] How to generate update bundle: With genimage or with recipe?
Date: Mon, 21 Nov 2022 12:20:22 +0000 [thread overview]
Message-ID: <PR0P264MB3289337D2964EA2FCB209FDBD20A9@PR0P264MB3289.FRAP264.PROD.OUTLOOK.COM> (raw)
Hi!
I use genimage for image generation.
This is an A/B system.
The bootloader is u-boot and switching the root partitions already works.
Looks something like this...
8<------------------------------------
image systemA.ext4 {
size = 512M
ext4 {
label = "systemA"
}
mountpoint = "/"
}
image systemB.ext4 {
size = 512M
empty = true
ext4 {
label = "systemB"
}
}
image log.ext4 {
size = 128M
empty = true
ext4 {
label = "log"
}
}
image app.ext4 {
size = 128M
empty = true
ext4 {
label = "Application"
}
}
image @IMAGE@ {
hdimage {
partition-table-type = "gpt"
#gpt-location = 2M
}
partition bootloader {
in-partition-table = false
offset = 32K
image = "u-boot.img"
}
partition systemA {
in-partition-table = true
bootable = true
offset = 8M
partition-type-uuid = "L"
image = "systemA.ext4"
}
partition systemB {
in-partition-table = true
bootable = true
partition-type-uuid = "L"
image = "systemB.ext4"
}
partition log {
in-partition-table = true
partition-type-uuid = "L"
image = "log.ext4"
}
partition app {
in-partition-table = true
partition-type-uuid = "L"
image = "app.ext4"
}
}
8<------------------------------------
Now I want to create an update bundle for one of the system partitions with rauc.
What is the best way to make the update bundle here?
With a recipe and "inherit bundle"?
Or should I do it with genimage?
I did this with a recipe and used my rootfs recipe as base.
Here I get an update bundle out, that is about 3GB big. This much too large.
Greets Bernd
next reply other threads:[~2022-11-21 12:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-21 12:20 BAUER Bernd [this message]
2022-11-22 19:28 ` Enrico Jörns
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=PR0P264MB3289337D2964EA2FCB209FDBD20A9@PR0P264MB3289.FRAP264.PROD.OUTLOOK.COM \
--to=bernd.bauer@ses-imagotag.com \
--cc=meta-rauc@pengutronix.de \
/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