Commit Graph

12 Commits

Author SHA1 Message Date
Patrick Ohly
2ef3979a41 cryptsetup: enable native compilation
Useful for setting up dm-verity during a build.

"native-sdk" gets added just in case that this may also be used in an
SDK.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:32 +01:00
Bogdan Hopulele
6a0f6e0344 cryptsetup: Add kernel-module-xts to RRECOMMENDS
cryptsetup luksOpen (luksFormat) uses xts by default.
When the module is not installed, cryptsetup prints:

Check that kernel supports aes-xts-plain64 cipher (check syslog for more info)

Signed-off-by: Bogdan Hopulele <bogdan.hopulele@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-26 08:24:56 +01:00
Derek Straka
5f9728d97f cryptsetup: update to version 1.7.2
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:31:59 +02:00
Dai Caiyun
2a7be1d4f5 cryptsetup: 1.6.7 -> 1.7.0
Upgrade cryptsetup from 1.6.7 to 1.7.0.

Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-27 12:43:57 +01:00
leimaohui
4233630de7 cryptsetup: upgrade 1.6.6->1.6.7
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-18 11:38:04 +02:00
Andre McCurdy
4ec551cd35 cryptsetup: update 1.6.2 -> 1.6.6
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-20 16:06:14 +01:00
Richard Purdie
d04099e94b recipes: Add missing pkgconfig dependencies
These recipes were all missing pkgconfig dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:53:55 +02:00
Yevhen Kyriukha
e0eaa29f02 cryptsetup: Updated to upstream version.
Also build static libraries.

Signed-off-by: Yevhen Kyriukha <kirgene@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-10 22:43:13 +02:00
Martin Jansa
84116c5b36 cryptsetup: add missing dependency on libgcrypt
* there is PACKAGECONFIG for libgcrypt, but do_configure fails
  without macro staged by libgcrypt:
  configure.ac:122: error: possibly undefined macro: AM_PATH_LIBGCRYPT

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:56 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Stefan Herbrechtsmeier
8ded18cf95 cryptsetup: Update to latest version and use openssl as crypto backend
Cryptsetup with the command luksOpen failed with the error message:
device-mapper: status ioctl failed: Permission denied

The error comes from libgcrypt with drops root privileges if it is
linked with libcap support [1]. Update cryptsetup to latest version,
add PACKAGECONFIG for crypto backend selection (openssl / gcrypt)
and change the default crypto backend to openssl as libgcrypt states
the drop root privileges behaviour as a feature [2].

The license was updated to GPLv2 with OpenSSL exception.

Update the RRECOMMENDS to be conistent with the package names.

[1] http://code.google.com/p/cryptsetup/issues/detail?id=47
[2] https://bugs.g10code.com/gnupg/issue1181

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:16:52 +02:00
Martin Jansa
77da72f619 cryptsetup: import from oe-classic
* add LIC_FILES_CHKSUM
* depend on util-linux (renamed from util-linux-ng)
* depend on lvm2 instead of device-mapper
* inherit gettext

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-16 21:11:45 +01:00