fstab-generator: fix target of /sysroot/usr
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 26 Jul 2023 00:31:54 +0000 (09:31 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 26 Jul 2023 14:59:56 +0000 (23:59 +0900)
commitb93d9e06fc6abbd496ec3fb150a4e01c3b7ec72b
tree01237a00d9d45016ced9677f8fa447c91830e0f1
parent8f88e57397bc6d4f897c4547770e67abd849498d
fstab-generator: fix target of /sysroot/usr

If /usr mount is picked from the main system's fstab file (prefix_sysroot
is true, and the path is prefixed as /sysroot/usr), then previously it
was installed in the wrong target unit.
src/fstab-generator/fstab-generator.c