]> git.ipfire.org Git - thirdparty/systemd.git/commit
fstab-generator: resolve bind mount source when in initrd 28385/head
authorMike Yuan <me@yhndnzj.com>
Thu, 13 Jul 2023 14:44:19 +0000 (22:44 +0800)
committerMike Yuan <me@yhndnzj.com>
Thu, 13 Jul 2023 17:29:23 +0000 (01:29 +0800)
commitb5fd3956ecaff8ef5f0b1826076965cab5fce604
tree7fbcc3840c42985093da04244f0172f95a84abda
parent35df78cd88e784abafd5df4545feeb3dd98e14a4
fstab-generator: resolve bind mount source when in initrd

We currently prepend /sysroot to mount points for entries
in /sysroot/etc/fstab. But when it comes to bind mounts,
the source needs to canonicalized too.

Fixes #6827
Replaces #7894
src/fstab-generator/fstab-generator.c