<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/lib/wic, branch scarthgap</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2026-02-27T17:45:07+00:00</updated>
<entry>
<title>wic/engine: error on old host debugfs for standalone directory copy</title>
<updated>2026-02-27T17:45:07+00:00</updated>
<author>
<name>Daniel Dragomir</name>
<email>daniel.dragomir@windriver.com</email>
</author>
<published>2026-02-11T13:11:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ac842282aaedd9cf61359f423139e250834a0e97'/>
<id>urn:sha1:ac842282aaedd9cf61359f423139e250834a0e97</id>
<content type='text'>
When wic is used in standalone mode, it relies on host tools such as
debugfs. For directory host-&gt;image copies into ext* partitions, wic
uses scripted debugfs "-f" input with multiple mkdir/write commands.

Older host debugfs versions (&lt; 1.46.5) may behave unreliably in this
mode and can silently miss files. This does not affect builds using
debugfs from OE where the version is known to be sufficiently new.

Add a debugfs version check and emit an error when an older host
debugfs is detected. The error is shown once per run and halts execution.

(From OE-Core rev: 977d68d2702f7092fa05d04f94da5fee8e0b2195)

Signed-off-by: Daniel Dragomir &lt;daniel.dragomir@windriver.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit cb536737bee95d5a5072b501bda9554705e8cd13)
[YC: removed patch changelog]
Signed-off-by: Yoann Congal &lt;yoann.congal@smile.fr&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic/engine: fix copying directories into wic image with ext* partition</title>
<updated>2026-02-27T17:45:06+00:00</updated>
<author>
<name>Dragomir, Daniel</name>
<email>daniel.dragomir@windriver.com</email>
</author>
<published>2025-10-03T20:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6c2a243d6cfb8277324904ab6b29e4e69ef68e21'/>
<id>urn:sha1:6c2a243d6cfb8277324904ab6b29e4e69ef68e21</id>
<content type='text'>
wic uses debugfs to write on ext* partitions, but debugfs can only
write to the current working directory and it cannot copy complete
directory trees. Running 'wic ls' on a copied directory show this:
    -l: Ext2 inode is not a directory

Fix this by creating a command list for debugfs (-f parameter) when
recursive parsing the host directory in order to create a similar
directory structure (mkdir) and copy files (write) on each level
into the destination directory from the wic's ext* partition.

(From OE-Core rev: 67f08884b98576c06db8db01b093ebeee760aba0)

Signed-off-by: Daniel Dragomir &lt;daniel.dragomir@windriver.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 1ed38aff5f810d064c87aff9cbd310906833b6ba)
Signed-off-by: Yoann Congal &lt;yoann.congal@smile.fr&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<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>
</feed>
