6 Commits

Author SHA1 Message Date
Mingli Yu
0198c6f482 meta-encrypted-storage: check luks DISTRO_FEATURES
Fix the yocto compliance issue:
  INFO: test_signatures (common.CommonCheckLayer)
  INFO:  ... FAIL

  Stdout:
  Loaded 2790 entries from dependency cache.
  INFO: Traceback (most recent call last):
  File "/build/layers/oe-core/scripts/lib/checklayer/cases/common.py", line 81, in test_signatures
    self.fail('Adding layer %s changed signatures.\n%s' % (self.tc.layer['name'], msg))
AssertionError: Adding layer meta-encrypted-storage changed signatures.
208 signatures changed, initial differences (first hash before, second after):
    cryptsetup:do_package: f0fa7d14534fb27c9caf639036338bbfa270ac29524b30d699f8f8ea0ec8cb02 -> 35d3ffd44373fc052d5bf7c0b1e649b585e49638ddc21109651e9602786aa87b
      bitbake-diffsigs --task cryptsetup do_package --signature f0fa7d14534fb27c9caf639036338bbfa270ac29524b30d699f8f8ea0ec8cb02 35d3ffd44373fc052d5bf7c0b1e649b585e49638ddc21109651e9602786aa87b
      NOTE: Starting bitbake server...
      basehash changed from 69f1e7096d59cdc20c48b2c7591a3d5c5abbdcf4452c2a2dbdd84ed352054477 to e8cb4b995a71a2b37597a4cdd37b91fe2904895db51922664d2ac2ae1702aecc
      Variable RDEPENDS:cryptsetup value changed:
      "     libdevmapper  {+lvm2+} udev lvm2-udevrules"
      Variable RRECOMMENDS:cryptsetup value changed:
      "     kernel-module-aes-generic     kernel-module-dm-crypt     kernel-module-md5     kernel-module-cbc     kernel-module-sha256-generic     kernel-module-xts  {+lvm2-udevrules+}"

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
2022-12-06 09:16:14 +08:00
Yi Zhao
4042043742 meta-secure-core: Convert to new override syntax
Converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2021-08-09 18:51:13 +08:00
Robert Yang
9e63c16057 cryptsetup_%.bbappend: Fix for native
Issue: LIN1019-2347

Fixed:
$ bitbake cryptsetup-native
[snip]
Nothing RPROVIDES 'lvm2-udevrules-native'
[snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2019-11-14 08:42:33 +08:00
Hongxu Jia
23b208c08c cryptsetup_%.bbappend: move lvm2-udevrules from RDEPEND to RRECOMMENDS
when configuring lvm2 without udev, lvm2-udevrules package is empty,
causing do_rootfs failure.

Error:
ERROR: wrlinux-image-glibc-std-1.0-r5 do_rootfs: Function failed: do_rootfs
 Problem: conflicting requests
  - nothing provides lvm2-udevrules needed by cryptsetup-1.7.4-r0.corei7_64

Move lvm2-udevrules from RDEPEND to RRECOMMENDS could workaround the issue.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-27 10:50:37 +08:00
WarrickJiang
afc39392a6 cryptsetup:add lvm2-udevrules into RDEPENDS (#19)
meta-oe layer split the udevrules for lvm2 into a new package.
Add lvm2-udevrules into cryptsetup RDEPENDS list.

Signed-off-by: Jiang Lu <lu.jiang@windriver.com>
2017-09-25 03:24:24 -04:00
Lans Zhang
8dd6733e31 cryptsetup: depend on lvm2 to include dmsetup
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-08-04 16:36:41 +08:00