]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
initramfs-framework: drop redundant /var/lock directory creation
authorRicardo Salveti <ricardo@foundries.io>
Fri, 17 Oct 2025 18:51:12 +0000 (15:51 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Oct 2025 11:37:38 +0000 (11:37 +0000)
commit24629a0e81291900edf0967bb218ba51dfa90ce9
tree7cd5ce88ac5157782e208982f9b27a0dd1b9654b
parentd5f281bf13995117d98af809a2caea91e241713e
initramfs-framework: drop redundant /var/lock directory creation

base-files already provides /var/lock as a symbolic link to /run/lock, and
since /run is created and mounted as tmpfs during init, there is no need
to explicitly create /var/lock within initramfs.

This avoids the following spurious error during boot:

    mkdir: can't create directory '/var/lock': No such file or directory

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/initramfs-framework/init