]> git.ipfire.org Git - thirdparty/systemd.git/commit
fstab-generator: drop unapplicable options for /usr/ too 31048/head
authorMike Yuan <me@yhndnzj.com>
Mon, 22 Jan 2024 16:00:46 +0000 (00:00 +0800)
committerMike Yuan <me@yhndnzj.com>
Thu, 25 Jan 2024 17:06:41 +0000 (01:06 +0800)
commit9f6c32ac964078130db0d2a175d319cdb9e3b2f9
tree2a226653395d2dc50eecc49dc5501be70aa51c41
parent74467890ffcff573c39cf2a0d51ce1b140da5b21
fstab-generator: drop unapplicable options for /usr/ too

We already drop these for /sysroot/usr/ in parse_fstab
(1e9b2e4fdd8d04e3fbfadbc0b92dc138c819c221). Let's make
things consistent, and do the same for /usr/ too (after
switch-root).
src/fstab-generator/fstab-generator.c
test/units/testsuite-81.fstab-generator.sh