]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerMathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Wed, 22 Oct 2025 16:17:27 +0000 (18:17 +0200)
commit1a42d1471b4bc733aa0d479ae76a778ea89e6859
treec83c8e115e6aa9c9f13af3ea2c37d70680232ff8
parent3fa48dea892c58a2d6e424622ea0d4e84561e57d
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>
meta/recipes-core/initrdscripts/initramfs-framework/init