aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2/lvm2/0001-explicitly-do-not-install-libdm.patch
blob: 7f5dd933414beb14ec23a024299b9188f22c993b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
From 5a3e13ae94318c2bed60f875bb3852c45ce0113c Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Thu, 25 May 2017 05:27:11 -0400
Subject: [PATCH] explicitly do not install libdm

Already have package libdevmapper which split from lvm2,
explicitly do not do the installation here.

Upstream-Status: Inappropriate [meta-oe specific]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Andrew Bresticker <abrestic@waymo.com>
---
 libdm/Makefile.in | 6 ++++--
 tools/Makefile.in | 3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/libdm/Makefile.in b/libdm/Makefile.in
index 66ec39513..c779c9d86 100644
--- a/libdm/Makefile.in
+++ b/libdm/Makefile.in
@@ -77,9 +77,11 @@ ifeq ("@PKGCONFIG@", "yes")
   INSTALL_TYPE += install_pkgconfig
 endif
 
-install: $(INSTALL_TYPE) install_include
+install:
+	echo "Do not install device mapper in lvm2"
 
-install_device-mapper: install
+install_device-mapper:
+	echo "Do not install device mapper in lvm2"
 
 install_include: $(srcdir)/libdevmapper.h
 	$(INSTALL_DATA) -D $< $(includedir)/$(<F)
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 103b76732..63ba7fc04 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -267,7 +267,8 @@ install_dmsetup_static: dmsetup.static
 	$(Q) $(INSTALL_PROGRAM) -D $< $(staticdir)/$(<F)
 	$(Q) $(LN_S) -f $(<F) $(staticdir)/dmstats
 
-install_device-mapper: $(INSTALL_DMSETUP_TARGETS)
+install_device-mapper:
+	echo "Do not install device mapper in lvm2"
 
 install_lvm2: $(INSTALL_LVM_TARGETS)
 
-- 
2.19.0.397.gdd90340f6a-goog