Skip to content

Commit

Permalink
udisk: fix dependency about libdevmapper
Browse files Browse the repository at this point in the history
We have separated libdevmapper from lvm2, so we need to also fix related
dependency for udisk.

Instead of simply replacing lvm2 with libdevmapper in DEPENDS, we add
PACKAGECONFIG for libdevmapper.

Signed-off-by: Chen Qi <[email protected]>
Signed-off-by: Martin Jansa <[email protected]>
  • Loading branch information
ChenQi1989 authored and shr-project committed Aug 31, 2017
1 parent 860f01d commit 6775acb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions meta-oe/recipes-support/udisks/udisks_1.0.5.bb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ DESCRIPTION = "A storage daemon that implements well-defined D-Bus interfaces th
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=73d83aebe7e4b62346afde80e0e94273"

DEPENDS = "libatasmart sg3-utils polkit libgudev dbus-glib glib-2.0 intltool-native lvm2 \
DEPENDS = "libatasmart sg3-utils polkit libgudev dbus-glib glib-2.0 intltool-native \
dbus-glib-native \
"
# optional dependencies: device-mapper parted
Expand All @@ -24,7 +24,8 @@ SRC_URI[udisks.sha256sum] = "f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3

inherit autotools-brokensep systemd gtk-doc

PACKAGECONFIG ??= ""
PACKAGECONFIG ??= "libdevmapper"
PACKAGECONFIG[libdevmapper] = "--enable-devmapper,--disable-devmapper,libdevmapper"
PACKAGECONFIG[parted] = "--enable-parted,--disable-parted,parted"

EXTRA_OECONF = "--disable-man-pages --libdir=${base_libdir} --sbindir=${base_sbindir}"
Expand Down

0 comments on commit 6775acb

Please sign in to comment.