<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/lib/wic, branch 5.0_M2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=5.0_M2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=5.0_M2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2023-12-21T10:38:30+00:00</updated>
<entry>
<title>wic: use E2FSPROGS_FAKE_TIME and hash_seed to generate reproducible ext4 images</title>
<updated>2023-12-21T10:38:30+00:00</updated>
<author>
<name>venkata pyla</name>
<email>venkata.pyla@toshiba-tsip.com</email>
</author>
<published>2023-12-18T04:30:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bc8ca0bacc913aea7fe16982f04074f36e61f800'/>
<id>urn:sha1:bc8ca0bacc913aea7fe16982f04074f36e61f800</id>
<content type='text'>
E2FSPROGS_FAKE_TIME: sets fixed times for the inodes in the file system.
hash_seed: creates reproducible directory indexes in the file system.

Reference commit in e2fsprogs: e1f7100643a46456be107b33098f6034b0835e6d

(From OE-Core rev: bb822ab75de0020572058090439b93cc56bbf7e0)

Signed-off-by: venkata pyla &lt;venkata.pyla@toshiba-tsip.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: extend empty plugin with options to write zeros to partiton</title>
<updated>2023-12-06T22:55:49+00:00</updated>
<author>
<name>Malte Schmidt</name>
<email>malte.schmidt@weidmueller.com</email>
</author>
<published>2023-11-28T13:52:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=29b2bda7867e8564404303faf4b01f37dba594a2'/>
<id>urn:sha1:29b2bda7867e8564404303faf4b01f37dba594a2</id>
<content type='text'>
Adds features to explicitly write zeros to the start of the
partition. This is useful to overwrite old content like
filesystem signatures which may be re-recognized otherwise.

The new features can be enabled with
'--soucreparams="[fill|size=&lt;N&gt;[S|s|K|k|M|G]][,][bs=&lt;N&gt;[S|s|K|k|M|G]]"'
Conflicting or missing options throw errors.

The features are:
- fill
  Fill the entire partition with zeros. Requires '--fixed-size' option
  to be set.
- size=&lt;N&gt;[S|s|K|k|M|G]
  Set the first N bytes of the partition to zero. Default unit is 'K'.
- bs=&lt;N&gt;[S|s|K|k|M|G]
  Write at most N bytes at a time during source file creation.
  Defaults to '1M'. Default unit is 'K'.

(From OE-Core rev: d19d4529e7a2056caeb526fed980cc1df19a5f6e)

Signed-off-by: Malte Schmidt &lt;malte.schmidt@weidmueller.com&gt;
Signed-off-by: Lukas Funke &lt;lukas.funke@weidmueller.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: bootimg-efi: Make kernel image installation configurable</title>
<updated>2023-12-04T11:23:37+00:00</updated>
<author>
<name>Kareem Zarka</name>
<email>zarkakareem@gmail.com</email>
</author>
<published>2023-12-01T14:03:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0a39f1aa09108edc919b82ba47417616052b530e'/>
<id>urn:sha1:0a39f1aa09108edc919b82ba47417616052b530e</id>
<content type='text'>
The issue with installing the kernel image to both rootfs
and boot partition is that some systems rely on the kernel image in
rootfs and not in the boot partition.
This leads to duplication of the kernel image, which can cause
unnecessary storage usage.
This patch provides a solution to the problem by adding a new
parameter "install-kernel-into-boot-dir" to the wic kickstart file.
If this parameter is set to 'true', the plugin will install the
kernel image to the boot partition. If the parameter is set to
'false', the plugin will skip installing the kernel image, avoiding
duplication.

(From OE-Core rev: d3599afe5f604ea5afd9411e114934dcb52b2d48)

Signed-off-by: Kareem Zarka &lt;kareem.zarka@huawei.com&gt;
Signed-off-by: Christian Taedcke &lt;christian.taedcke@weidmueller.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: rawcopy: add support for zstd decompression</title>
<updated>2023-11-27T22:54:59+00:00</updated>
<author>
<name>Malte Schmidt</name>
<email>malte.schmidt@weidmueller.com</email>
</author>
<published>2023-11-22T12:17:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5d12c0a3dc843072a64052c9cd7b1d32585e3d7e'/>
<id>urn:sha1:5d12c0a3dc843072a64052c9cd7b1d32585e3d7e</id>
<content type='text'>
Add support for zstd decompression in rawcopy plugin. zstd claims
to reach higher, uniform decompression rates.

(From OE-Core rev: 707471b71a417187f1e581d0c540e058825f7242)

Signed-off-by: Malte Schmidt &lt;malte.schmidt@weidmueller.com&gt;
Signed-off-by: Lukas Funke &lt;lukas.funke@weidmueller.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: fix a typo in help output</title>
<updated>2023-10-10T11:56:39+00:00</updated>
<author>
<name>André Draszik</name>
<email>git@andred.net</email>
</author>
<published>2023-10-10T11:30:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c2e094ddfd185f0fe2d2957ff89b9a4fde794942'/>
<id>urn:sha1:c2e094ddfd185f0fe2d2957ff89b9a4fde794942</id>
<content type='text'>
(From OE-Core rev: 1c35beb935d42e200370b54f9aa3848b940966dd)

Signed-off-by: André Draszik &lt;git@andred.net&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: Add console parameters to qemux86 canned-wks</title>
<updated>2023-10-04T22:05:54+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-10-04T11:44:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=141707c2326de034a39c516d96a94f3874c81cb8'/>
<id>urn:sha1:141707c2326de034a39c516d96a94f3874c81cb8</id>
<content type='text'>
Currently our wic test images boot up without kernel output on the consoles
which means we have no way to debug if anything goes wrong. Add the console
parameters runqemu would have added if the kernel wasn't built into an image
to improve our chances of debugging.

(From OE-Core rev: 63ea1efdaaf1173ef4f2f69b5a3403afef4b556a)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: bootimg-partition: Fix file name in debug message</title>
<updated>2023-10-01T07:12:59+00:00</updated>
<author>
<name>Daniel Semkowicz</name>
<email>dse@thaumatec.com</email>
</author>
<published>2023-09-29T08:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=578a627081e770cbdf424eed4e16fe949deb72fa'/>
<id>urn:sha1:578a627081e770cbdf424eed4e16fe949deb72fa</id>
<content type='text'>
Debug message about using custom configuration file includes file name
with incorrect extension. Correct file name to "extlinux.conf".

(From OE-Core rev: dd63e1520454b2d53a48b72eaae126059af9809b)

Signed-off-by: Daniel Semkowicz &lt;dse@thaumatec.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: Add gpt-hybrid partition layout</title>
<updated>2023-09-02T10:47:50+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>JPEWhacker@gmail.com</email>
</author>
<published>2023-08-30T14:20:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=93388921ab6fa78658461eefbf0b7beae5a52a9d'/>
<id>urn:sha1:93388921ab6fa78658461eefbf0b7beae5a52a9d</id>
<content type='text'>
Add support for formatting a disk with a hybrid MBR &amp; GPT partition
scheme. In this scheme, the primary partitioning method is GPT, but a
valid MBR header is also written than can point to a subset of the GPT
partitions on the disk (any partitions marked with the `--mbr` flag will
be included in this MBR). The primary purpose of this method is to allow
for SoCs that can only find a bootloader in an MBR partition to use GPT
once the bootloader is running. As an example, older versions of the
Raspberry Pi firmware can only parse MBR partitions to find a kernel (or
other bootloader like u-boot), but once those have booted GPT partitions
can be used.

In addition to the partitions annotated with the `--mbr`, a "protective"
GPT partition of type 0xEE is added, as the existence of such a
partition is the indication to tooling that this a hybrid MBR and that
the GPT partition table should be parsed instead.

(From OE-Core rev: e50e4c2a5ada6947b3503ca4d8e9c30d359e8a5d)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: fix wrong attempt to create file system in upartitioned regions</title>
<updated>2023-08-21T10:34:12+00:00</updated>
<author>
<name>Markus Niebel</name>
<email>Markus.Niebel@ew.tq-group.com</email>
</author>
<published>2023-08-18T11:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c5013075f2ed17c01b34ad1192839109c23c21bc'/>
<id>urn:sha1:c5013075f2ed17c01b34ad1192839109c23c21bc</id>
<content type='text'>
The kickstart parser defaults fstype to "vfat". This leads to an attempt
to create an empty file system even for regions configured with "--no-table"
if used without fstype when no --sourceparams given.

The fix tests for fstype "none" or no_table in Partition prepare method.
This will omit the file system creation an the potential error for small
region with --no-table option.

(From OE-Core rev: db771a4cd36bf291a8b68edfd905e03243f2c8b3)

Signed-off-by: Markus Niebel &lt;Markus.Niebel@ew.tq-group.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: bootimg-efi: Stop hardcoding VMA offsets</title>
<updated>2023-08-09T20:43:33+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@bootlin.com</email>
</author>
<published>2023-08-08T22:17:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6c0350934952b7b06104d7dacbe152386ba72aec'/>
<id>urn:sha1:6c0350934952b7b06104d7dacbe152386ba72aec</id>
<content type='text'>
Section VMA's are currently hardcoded. This doesn't work anymore starting
with systemd-boot v254.

Follow the actually solution to this which is documented here:
https://wiki.archlinux.org/title/Unified_kernel_image#Manually

This is also used by dracut. Later on, we may want to switch to ukify
instead but this is not ready yet.

(From OE-Core rev: 3abf99a6c6bde2fb8770f54dba609b35f6c6ee5a)

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
