<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/lib/wic, branch scarthgap-5.0.11</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap-5.0.11</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap-5.0.11'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2025-04-28T15:18:53+00:00</updated>
<entry>
<title>wic: bootimg-efi: Support + symbol in filenames</title>
<updated>2025-04-28T15:18:53+00:00</updated>
<author>
<name>Igor Opaniuk</name>
<email>igor.opaniuk@foundries.io</email>
</author>
<published>2025-04-17T09:11:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8b22b1239b5c84c2e2e6bec14870cbf56f94d570'/>
<id>urn:sha1:8b22b1239b5c84c2e2e6bec14870cbf56f94d570</id>
<content type='text'>
Allow the '+' symbol as a valid character in filenames listed in the
IMAGE_EFI_BOOT_FILES variable.

The '+' symbol might be used to support boot counting for boot entries,
as described in the UAPI Boot Loader Specification [1]:

The boot counting data is stored in the name of the boot loader entry.
A boot loader entry file name may contain a plus (+) followed by a
number. This may optionally be followed by a minus (-)
followed by a second number. The dot (.) and file name suffix
(conf or efi) must immediately follow.
Boot counting is enabled for entries which match this pattern.

Example:
IMAGE_EFI_BOOT_FILES:append = " entry.conf;loader/entries/entry+3.conf"

[1] https://uapi-group.org/specifications/specs/boot_loader_specification/#boot-counting
(From OE-Core rev: 081fa0ebb33dbbfd0f6e8239690261c0a9dcdb2c)

Signed-off-by: Igor Opaniuk &lt;igor.opaniuk@foundries.io&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 3f25822281eb9423ff86105eaebb0bed48663648)
Signed-off-by: Jose Quaresma &lt;jose.quaresma@foundries.io&gt;
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>wic: bootimg-efi: fix error handling</title>
<updated>2024-08-01T13:08:09+00:00</updated>
<author>
<name>Enrico Jörns</name>
<email>ejo@pengutronix.de</email>
</author>
<published>2024-06-04T08:06:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a9517d232ef74af25083cb340240541da23a48e0'/>
<id>urn:sha1:a9517d232ef74af25083cb340240541da23a48e0</id>
<content type='text'>
If we check for empty variables, it does not make sense to print their
content in case they are empty.

Additionally, the error message in the 'kernel' check attempted to print
the wrong variable ('target') which was not even defined, yet.

Also, raising WicError doesn't require an extra newline.

(From OE-Core rev: a1cbf4d5ea5f852144d0cc70be99d6338c618fcd)

Signed-off-by: Enrico Jörns &lt;ejo@pengutronix.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit f31cf475d0235f42d73aeec07694f79b9937fd76)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>wic: engine.py: use raw string for escape sequence</title>
<updated>2024-07-17T12:36:13+00:00</updated>
<author>
<name>Enrico Jörns</name>
<email>ejo@pengutronix.de</email>
</author>
<published>2024-06-04T08:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=62154d7594a72c14e7ccbebf7ca9fcf40c499c73'/>
<id>urn:sha1:62154d7594a72c14e7ccbebf7ca9fcf40c499c73</id>
<content type='text'>
Fixes:

| poky/scripts/lib/wic/engine.py:362: SyntaxWarning: invalid escape sequence '\/'

(From OE-Core rev: ab3ed4270af1c8d4a4dd15b8c6998182801d4bce)

Signed-off-by: Enrico Jörns &lt;ejo@pengutronix.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit e33d7241f6c2897e930aff41e18b154891197ab9)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>wic/partition.py: Set hash_seed for empty ext partition</title>
<updated>2024-07-03T13:28:37+00:00</updated>
<author>
<name>Adithya Balakumar</name>
<email>adithya.balakumar@toshiba-tsip.com</email>
</author>
<published>2024-06-13T07:03:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=49f2118d93d52cea8b05d56aa151ca386d71cb53'/>
<id>urn:sha1:49f2118d93d52cea8b05d56aa151ca386d71cb53</id>
<content type='text'>
Although setting hash_seed is handled for the rootfs plugin case, but
this is missed when deploying an empty ext partition.

(From OE-Core rev: a4e7334a4b87f1bb1947f6b10f71ddb445c91d0c)

Signed-off-by: Adithya Balakumar &lt;adithya.balakumar@toshiba-tsip.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 0202fb594fb05098cb8d8b6088e63beb40b5906e)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>wic: bootimg-partition allow to set var to get boot files</title>
<updated>2024-03-26T17:10:51+00:00</updated>
<author>
<name>Anibal Limon</name>
<email>anibal@limonsoftware.com</email>
</author>
<published>2024-03-23T19:53:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7c3f956a0a8dbbbbfdf443b55e5287ca8301fe70'/>
<id>urn:sha1:7c3f956a0a8dbbbbfdf443b55e5287ca8301fe70</id>
<content type='text'>
This is a generic functionality that takes a set of files and create a
boot parition based on IMAGE_BOOT_FILES var, allow to sepcify the
variable name so a BSP plugin can extend this and re-use the
functionality.

(From OE-Core rev: 3a2339455be29a6ff65c8c5f6865a4cd35dd7f63)

Signed-off-by: Anibal Limon &lt;anibal@limonsoftware.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bmaptool: now part of Yocto Project</title>
<updated>2024-03-05T12:24:50+00:00</updated>
<author>
<name>Trevor Woerner</name>
<email>twoerner@gmail.com</email>
</author>
<published>2024-03-04T19:25:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f15676592bb8ba082b31d35c46631f35f1b3a222'/>
<id>urn:sha1:f15676592bb8ba082b31d35c46631f35f1b3a222</id>
<content type='text'>
The bmaptool (previously: bmap-tools, bmap-tool, bmaptool) has been moved
to be under the Yocto Project umbrella and is now hosted at:

	github.com/yoctoproject/bmaptool

[RP: Added a couple of missing renames]
(From OE-Core rev: 7a036b1a1ec7dcd27dbe18d4c2e703bd2a8af182)

Signed-off-by: Trevor Woerner &lt;twoerner@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: 'empty' plugin: fix typo in comment</title>
<updated>2024-02-27T11:35:43+00:00</updated>
<author>
<name>Enrico Jörns</name>
<email>ejo@pengutronix.de</email>
</author>
<published>2024-02-25T22:44:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=54c27d84b6369daef372741b8184304d3e5d3925'/>
<id>urn:sha1:54c27d84b6369daef372741b8184304d3e5d3925</id>
<content type='text'>
(From OE-Core rev: 1a9013c3767d174a970d31e80748bc8d73af0dba)

Signed-off-by: Enrico Jorns &lt;ejo@pengutronix.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: implement reproducible Disk GUID</title>
<updated>2024-02-08T10:53:13+00:00</updated>
<author>
<name>Adithya Balakumar</name>
<email>adithya.balakumar@toshiba-tsip.com</email>
</author>
<published>2024-01-31T11:03:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e685773513dfc9f119b21e4194cfe5da1d8623d5'/>
<id>urn:sha1:e685773513dfc9f119b21e4194cfe5da1d8623d5</id>
<content type='text'>
GPT based disks have a disk guid apart from the 32-bit disk identifier.
This commit implements reproducible disk guid by using SOURCE_DATE_EPOCH (if available) value as a random seed

(From OE-Core rev: 150e079589e207fe174d2dceb40cd8f3d3972c5a)

Signed-off-by: Adithya Balakumar &lt;Adithya.Balakumar@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: 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>
</feed>
