package/systemd: disable cryptsetup for host package
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 29 Aug 2020 13:59:40 +0000 (15:59 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 29 Aug 2020 16:34:38 +0000 (18:34 +0200)
commit04b54138e67e2a6bb6498da201f55b5a109af917
tree137177da2a75b11f26ec3619feb5e4967224f152
parent5754d9c9b17189d05e7436143a46098fdfeae762
package/systemd: disable cryptsetup for host package

Build with cryptsetup and without libblkid will fail on:

../src/shared/dissect-image.c:1336:34: error: 'N_DEVICE_NODE_LIST_ATTEMPTS' undeclared (first use in this function)
 1336 |         for (unsigned i = 0; i < N_DEVICE_NODE_LIST_ATTEMPTS; i++) {
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~

This bug has been reported upstream:
https://github.com/systemd/systemd/pull/16901
and is not an issue for the target variant as libblkid is select by
BR2_PACKAGE_UTIL_LINUX_MOUNT

As cryptsetup does not seem needed for host-systemd, just disable it

Fixes:
 - http://autobuild.buildroot.org/results/67782c225c08387c1bbcbea9eee3ca12bc6577cd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/systemd/systemd.mk