mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
5fd9878d28
As part of issue #1, we should build all libraries and programs that we deploy into the Heads initrd. This modifies the module configurations for all of them to install into heads/install so that we can build against them. Add dmsetup, cryptsetup and veritysetup (issue #46). Build gpgv 1.4 as a standalone tool (issue #23). Modify populate-lib to use the install directory by setting LD_LIBRARY_PATH (issue #35).
25 lines
694 B
Plaintext
25 lines
694 B
Plaintext
modules += cryptsetup
|
|
|
|
cryptsetup_depends := libuuid popt lvm2
|
|
|
|
cryptsetup_version := 1.7.3
|
|
cryptsetup_dir := cryptsetup-$(cryptsetup_version)
|
|
cryptsetup_tar := cryptsetup-$(cryptsetup_version).tar.xz
|
|
cryptsetup_url := https://www.kernel.org/pub/linux/utils/cryptsetup/v1.7/cryptsetup-$(cryptsetup_version).tar.xz
|
|
cryptsetup_hash := af2b04e8475cf40b8d9ffd97a1acfa73aa787c890430afd89804fb544d6adc02
|
|
|
|
cryptsetup_configure := ./configure \
|
|
CFLAGS="-I$(INSTALL)/include" \
|
|
LDFLAGS="-L$(INSTALL)/lib" \
|
|
--prefix "$(INSTALL)" \
|
|
--disable-gcrypt-pbkdf2 \
|
|
--with-crypto_backend=kernel \
|
|
|
|
cryptsetup_target := -j 8 install
|
|
|
|
cryptsetup_output := \
|
|
src/.libs/cryptsetup \
|
|
src/.libs/veritysetup \
|
|
|
|
|