<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-core/initrdscripts, branch mickledore-next</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=mickledore-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=mickledore-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2022-06-21T17:44:27+00:00</updated>
<entry>
<title>initramfs-framework: move storage mounts to actual rootfs</title>
<updated>2022-06-21T17:44:27+00:00</updated>
<author>
<name>Muhammad Hamza</name>
<email>Muhammad_Hamza@mentor.com</email>
</author>
<published>2022-06-17T05:50:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=af80b23aee781e21fde0d91119d6566b631d3da1'/>
<id>urn:sha1:af80b23aee781e21fde0d91119d6566b631d3da1</id>
<content type='text'>
Operations such as mkfs fail on devices that are not
switched to the actual rootfs before switch_root is
called. The kernel interprets these devices as still
being used even after unmounting and errors such as
below are seen when the target is fully booted

root@v1000:~# umount /dev/sdb1
root@v1000:~# mkfs.ext4 /dev/sdb1
mke2fs 1.43.8 (1-Jan-2018)
/dev/sdb1 contains a ext4 file system
        last mounted on Wed Nov 28 07:33:54 2018
Proceed anyway? (y,N) y
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!

(From OE-Core rev: ec53ffd01972d1be2d6a28de828b3f0b80dc1e61)

Signed-off-by: Awais Belal &lt;awais_belal@mentor.com&gt;
Signed-off-by: Muhammad Hamza &lt;muhammad_hamza@mentor.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>udev-extraconf/initrdscripts/parted: Rename mount.blacklist -&gt; mount.ignorelist</title>
<updated>2022-05-20T21:52:22+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-05-17T11:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b5c0b44a066077fccf4d6c2d811d55622376b546'/>
<id>urn:sha1:b5c0b44a066077fccf4d6c2d811d55622376b546</id>
<content type='text'>
(From OE-Core rev: 69e486ddb3059f80ba538e1f59c2ca8a8df0faf9)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>initramfs-framework: Add overlayroot module</title>
<updated>2022-03-01T23:44:59+00:00</updated>
<author>
<name>Alejandro Hernandez Samaniego</name>
<email>alhe@linux.microsoft.com</email>
</author>
<published>2022-01-29T19:48:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ed323de4dcb600dd71d544f5994f52307b6db564'/>
<id>urn:sha1:ed323de4dcb600dd71d544f5994f52307b6db564</id>
<content type='text'>
When installed, this module mounts a read-write (RW) overlay on
top of a root filesystem, which is kept read-only (RO), free
from modifications by the user, this might prove to be useful
if we want to access or restore the original unmodified rootfs.

The existing overlay-etc.bbclass does something similar, it
mounts an overlay on top of the /etc directory, however doing
the same for root causes the original root to be inaccessible
once the system is booted, hence why this module is added to
the initramfs boot flow, allowing us to mount the RW overlay,
while keeping the original rootfs mounted at /rofs once the
system finishes booting. This script is loosely based on that
class.

This module requires rootrw=&lt;foo&gt; to be passed as a kernel
parameter to specify the device/partition to be used as RW by the
overlay and has a dependency on overlayfs support being present
in the running kernel.

It does not require the read-only IMAGE_FEATURE to be enabled.

The module needs to be executed after the initramfs-module-rootfs
since it relies on it to mount the filesystem at initramfs startup
but before the finish module which normally switches root.
After overlayroot is executed the usual boot flow continues from
the real init process.

If something goes wrong while running this module, the rootfs
is still mounted RO (with no overlay) and the finish module is
executed to continue booting normally.

Its worth noting that, on purpose, this isnt installed by default
on any images that use initramfs-framework to keep the boot flow
unmodified, only when a user manually requests to install it,
then it becomes functional.

(From OE-Core rev: 4f876982a856c54a8074c85346632e33caa7ef53)

Signed-off-by: Alejandro Enedino Hernandez Samaniego &lt;alhe@linux.microsoft.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>core-image-testmaster: Rename to core-image-testcontroller</title>
<updated>2022-02-20T16:45:25+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-02-16T17:43:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=95f236f668f641224144a527279e368e98e2e6bf'/>
<id>urn:sha1:95f236f668f641224144a527279e368e98e2e6bf</id>
<content type='text'>
Rename the image, the test controller class/code/module and the underlying
image sentinel file to all match the controller terminology.

(From OE-Core rev: f87b32833ac5327c4659ab8c06af34e7bda83f83)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>initramfs-framework: unmount automounts before switch_root</title>
<updated>2022-02-12T17:05:35+00:00</updated>
<author>
<name>Justin Bronder</name>
<email>jsbronder@cold-front.org</email>
</author>
<published>2022-02-10T20:23:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2040c70fcccb3bb89b9196f1676bc7ff5ea5a876'/>
<id>urn:sha1:2040c70fcccb3bb89b9196f1676bc7ff5ea5a876</id>
<content type='text'>
If mounts are left lingering, then after we switch_root, attempts to
modify the block devices will result in an EBUSY with no way to unmount
them.  As we're about to switch_root anyways, there isn't much use to
keep anything mounted unless it has the new rootfs.

(From OE-Core rev: 4dc7af6d25597ea10ea43e76c7c3d7251462c0e5)

Signed-off-by: Justin Bronder &lt;jsbronder@cold-front.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Convert to new override syntax</title>
<updated>2021-08-02T14:44:10+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-07-28T22:28:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bb6ddc3691ab04162ec5fd69a2d5e7876713fd15'/>
<id>urn:sha1:bb6ddc3691ab04162ec5fd69a2d5e7876713fd15</id>
<content type='text'>
This is the result of automated script conversion:

scripts/contrib/convert-overrides.py &lt;oe-core directory&gt;

converting the metadata to use ":" as the override character instead of "_".

(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>initramfs-framework/setup-live: fix shebang</title>
<updated>2021-07-24T15:33:46+00:00</updated>
<author>
<name>Ulrich Ölmann</name>
<email>u.oelmann@pengutronix.de</email>
</author>
<published>2021-07-21T20:09:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=03876eb32b23ae1d73b5dcfcc6bb69ecfe6ea938'/>
<id>urn:sha1:03876eb32b23ae1d73b5dcfcc6bb69ecfe6ea938</id>
<content type='text'>
(From OE-Core rev: 71f1f6bc9402ee0fad82aaf0757fffb73da4b706)

Signed-off-by: Ulrich Ölmann &lt;u.oelmann@pengutronix.de&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>initramfs-framework: fix whitespace issue</title>
<updated>2021-07-24T15:33:46+00:00</updated>
<author>
<name>Ulrich Ölmann</name>
<email>u.oelmann@pengutronix.de</email>
</author>
<published>2021-07-21T19:18:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a3bc70c3ab7887935da2320fe75d9ee3040a13f8'/>
<id>urn:sha1:a3bc70c3ab7887935da2320fe75d9ee3040a13f8</id>
<content type='text'>
(From OE-Core rev: 9eaf6f4b08144c7f5453545f2bd9fb387a2dbe2e)

Signed-off-by: Ulrich Ölmann &lt;u.oelmann@pengutronix.de&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>initramfs-framework:rootfs: fix wrong indentions</title>
<updated>2021-05-22T08:59:04+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2021-05-21T12:14:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=08dee904c19db8cbf136222c8306ba387846ab03'/>
<id>urn:sha1:08dee904c19db8cbf136222c8306ba387846ab03</id>
<content type='text'>
(From OE-Core rev: cd4d76f43c6ead9f32dece1faa9c9c5da895d9cd)

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>initramfs-framework:rootfs: fix some conditional check</title>
<updated>2021-03-28T21:28:26+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2021-03-24T12:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fef6805f68ddd98738e3bdd2861ecb32e7e05a3a'/>
<id>urn:sha1:fef6805f68ddd98738e3bdd2861ecb32e7e05a3a</id>
<content type='text'>
Drop a duplicated check for "PARTLABEL=", also change to use elif to
avoid go through all the checks for root parameter.

(From OE-Core rev: 29e1e2ad0b6fd0db0e099831ba331b4ffa2b094b)

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
