]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
linux-yocto/6.17: fix rdinit boot warning
authorBruce Ashfield <bruce.ashfield@gmail.com>
Thu, 30 Oct 2025 17:12:18 +0000 (13:12 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Nov 2025 11:47:10 +0000 (11:47 +0000)
commit32b64d9e138b42aa5747f6d3328b105fbfbcc6eb
tree09f4e8c7336f5ae83b0310a8913c8a7871783a17
parent74618dfa1289ad772e5a36240d2b6d180877ed87
linux-yocto/6.17: fix rdinit boot warning

Integrating the following commit(s) to linux-yocto/6.17:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: boot: only emit rdinit warning on initramfs boot
    Date: Mon, 27 Oct 2025 09:47:05 -0400

    commit 98aa4d5d242d3a73 [init/main.c: add warning when file specified in
    rdinit is inaccessible] promoted a long time check to be visible on
    boot.

    The issue is that it is always issued even when an initramfs boot is
    not used.

    To avoid needing to completely disable CONFIG_BLK_DEV_INITRD and not
    have the warning issues when an initramfs isn't used, we add checks for
    the existence and size of an initramfs before allowing the warning
    to be generated.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-yocto-rt_6.17.bb
meta/recipes-kernel/linux/linux-yocto-tiny_6.17.bb
meta/recipes-kernel/linux/linux-yocto_6.17.bb