]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptsetup-generator: use "/proc/cmdline" as source when appropriate
authorJonathan Lebon <jonathan@jlebon.com>
Wed, 23 Sep 2020 19:23:58 +0000 (15:23 -0400)
committerJonathan Lebon <jonathan@jlebon.com>
Wed, 23 Sep 2020 19:31:31 +0000 (15:31 -0400)
commit62ca7d3b38dbbfbffa0aa0d3746b6be2916530b5
tree9cd9d9caf80eeca1473122b238b72f1a0cab632d
parenta5d815bb7ff7b9116b3c92b656d5ecd4f684674a
cryptsetup-generator: use "/proc/cmdline" as source when appropriate

Right now, we always say `/etc/crypttab` even if the source was fully
derived from the kargs.

Let's match what `systemd-fstab-generator` does and use `/proc/cmdline`
when that's the case.
src/cryptsetup/cryptsetup-generator.c