package/cryptsetup: fix tmpfiles.d setup
authorJohn Keeping <john@metanate.com>
Mon, 14 Jun 2021 10:42:10 +0000 (11:42 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 20 Jul 2021 21:48:42 +0000 (23:48 +0200)
commita2e93a802cbdbcd42b504c26596a076fbc4c86d1
tree256f22694f0c77bd96b8dc1568fc82c825c9ea0a
parentc4041c230c18d3a9d82bfc6a96b2ceaabddbc94b
package/cryptsetup: fix tmpfiles.d setup

The configure script uses pkg-config to detect the location of
tmpfiles.d but imposes an unspecified ordering dependency with systemd.
Instead of relying on systemd being built before cryptsetup, set the
directory path explcitly, and ensure it is not set when systemd-tmpfiles
is disabled.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/cryptsetup/cryptsetup.mk