]> code.ossystems Code Review - openembedded-core.git/commit
udev-extraconf: do not mount swap partitions
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Sat, 20 Jul 2019 15:57:50 +0000 (17:57 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Jul 2019 20:36:02 +0000 (21:36 +0100)
commit7a2c56da85326043f0663c29535ac3fb555d96fe
tree2f695800918aff65f7cee71c4d5f777a040be00a
parentdd8c7f2466d94fd8326b962e9bcfc4f42a35da38
udev-extraconf: do not mount swap partitions

Swap is a special filesystem that cannot be mounted, so do not try to,
otherwise we will have service that tries and fails to mount it with
the following error:

systemd[1]: Mounting /run/media/nvme0n1p3...
mount[1229]: mount: /run/media/nvme0n1p3: unknown filesystem type 'swap'.

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/udev/udev-extraconf/mount.sh