Skip to contentSkip to conversation

layer.conf: add lvm2 as libdevmapper preferred rprovider

PATCH In review Hongxu Jia 2 participants 4 messages Aug 31, 2019

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

PATCH 1/1 layer.conf: add lvm2 as libdevmapper preferred rprovider

Since commit [libdevmapper/lvm2: force recipe libdevmapper to populate sysroot only] applied, if recipe DEPENDS on libdevmapper, we have to add it to packages RDEPENDS to fix [file-rdeps] QA issue

Set PREFERRED_RPROVIDER_libdevmapper = "lvm2" in layer.conf to explicit use lvm2 as libdevmapper preferred rprovider

Remove unnecessary insane skip

---
 meta-oe/conf/layer.conf                               | 2 ++
 meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/conf/layer.conf +2 -0
index 896a5d6..e48fabd 100644
@@ -33,6 +33,8 @@ LAYERSERIES_COMPAT_openembedded-layer = "thud warrior"
 
 LICENSE_PATH += "${LAYERDIR}/licenses"
 
+PREFERRED_RPROVIDER_libdevmapper = "lvm2"
+
 SIGGEN_EXCLUDERECIPES_ABISAFE += " \
   mplayer-common \
   fbset-modes \
meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb +0 -2
index 194842e..0773671 100644
@@ -89,6 +89,4 @@ EXTRA_OECONF += "--disable-libargon2"
 
 FILES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','${exec_prefix}/lib/tmpfiles.d/cryptsetup.conf', '', d)}"
 
-INSANE_SKIP_${PN} += "build-deps file-rdeps"
-
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.7.4
#1 lore raw
Quoted 10 lines · Hongxu Jia

Since commit [libdevmapper/lvm2: force recipe libdevmapper to populate sysroot only] applied, if recipe DEPENDS on libdevmapper, we have to add it to packages RDEPENDS to fix [file-rdeps] QA issue

Set PREFERRED_RPROVIDER_libdevmapper = "lvm2" in layer.conf to explicit use lvm2 as libdevmapper preferred rprovider

Remove unnecessary insane skip

thanks I have staged something similar

Quoted 34 lines
---
 meta-oe/conf/layer.conf                               | 2 ++
 meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/conf/layer.conf +2 -0
index 896a5d6..e48fabd 100644
@@ -33,6 +33,8 @@ LAYERSERIES_COMPAT_openembedded-layer = "thud warrior"
 
 LICENSE_PATH += "${LAYERDIR}/licenses"
 
+PREFERRED_RPROVIDER_libdevmapper = "lvm2"
+
 SIGGEN_EXCLUDERECIPES_ABISAFE += " \
   mplayer-common \
   fbset-modes \
meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb +0 -3
index 194842e..0773671 100644
@@ -89,6 +89,4 @@ EXTRA_OECONF += "--disable-libargon2"
 
 FILES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','${exec_prefix}/lib/tmpfiles.d/cryptsetup.conf', '', d)}"
 
-INSANE_SKIP_${PN} += "build-deps file-rdeps"
-
 BBCLASSEXTEND = "native nativesdk"
--

2.7.4

author
#2 lore raw
Quoted 11 lines · Khem Raj
Quoted 9 lines · Hongxu Jia

Since commit [libdevmapper/lvm2: force recipe libdevmapper to populate sysroot only] applied, if recipe DEPENDS on libdevmapper, we have to add it to packages RDEPENDS to fix [file-rdeps] QA issue

Set PREFERRED_RPROVIDER_libdevmapper = "lvm2" in layer.conf to explicit use lvm2 as libdevmapper preferred rprovider

Remove unnecessary insane skip

thanks I have staged something similar

Sorry for so many revision, but I think we investigated a way to break

circular dependencies when have to, some kind of tricky, but works, I hope

//Hongxu

Quoted 34 lines
Quoted 34 lines
---
  meta-oe/conf/layer.conf                               | 2 ++
  meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb | 2 --
  2 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/conf/layer.conf +2 -0
index 896a5d6..e48fabd 100644
@@ -33,6 +33,8 @@ LAYERSERIES_COMPAT_openembedded-layer = "thud warrior"
 
  LICENSE_PATH += "${LAYERDIR}/licenses"
 
+PREFERRED_RPROVIDER_libdevmapper = "lvm2"
+
  SIGGEN_EXCLUDERECIPES_ABISAFE += " \
    mplayer-common \
    fbset-modes \
meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb +0 -3
index 194842e..0773671 100644
@@ -89,6 +89,4 @@ EXTRA_OECONF += "--disable-libargon2"
 
  FILES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','${exec_prefix}/lib/tmpfiles.d/cryptsetup.conf', '', d)}"
 
-INSANE_SKIP_${PN} += "build-deps file-rdeps"
-
  BBCLASSEXTEND = "native nativesdk"
--

2.7.4

#3 lore raw
Quoted 10 lines · Hongxu Jia
Quoted 8 lines · Khem Raj
Quoted 7 lines · Hongxu Jia

Since commit [libdevmapper/lvm2: force recipe libdevmapper to populate sysroot only] applied, if recipe DEPENDS on libdevmapper, we have to add it to packages RDEPENDS to fix [file-rdeps] QA issue

Set PREFERRED_RPROVIDER_libdevmapper = "lvm2" in layer.conf to explicit use lvm2 as libdevmapper preferred rprovider

Quoted 7 lines
Quoted 3 lines
Quoted 2 lines

Remove unnecessary insane skip

thanks I have staged something similar

Sorry for so many revision, but I think we investigated a way to break

circular dependencies when have to, some kind of tricky, but works, I hope

no worries, thanks for staying up with it.

Quoted 39 lines

//Hongxu

Quoted 34 lines
Quoted 34 lines
---
  meta-oe/conf/layer.conf                               | 2 ++
  meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb | 2 --
  2 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/conf/layer.conf +2 -0
index 896a5d6..e48fabd 100644
@@ -33,6 +33,8 @@ LAYERSERIES_COMPAT_openembedded-layer = "thud warrior"
 
  LICENSE_PATH += "${LAYERDIR}/licenses"
 
+PREFERRED_RPROVIDER_libdevmapper = "lvm2"
+
  SIGGEN_EXCLUDERECIPES_ABISAFE += " \
    mplayer-common \
    fbset-modes \
meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb +0 -3
index 194842e..0773671 100644
@@ -89,6 +89,4 @@ EXTRA_OECONF += "--disable-libargon2"
 
  FILES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','${exec_prefix}/lib/tmpfiles.d/cryptsetup.conf', '', d)}"
 
-INSANE_SKIP_${PN} += "build-deps file-rdeps"
-
  BBCLASSEXTEND = "native nativesdk"
--

2.7.4