sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ladislav Hagara (a56a443057b3161cace5c004940f960a1bdfe25e)
- From: Ladislav Hagara <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (a56a443057b3161cace5c004940f960a1bdfe25e)
- Date: Thu, 26 Feb 2009 09:35:36 -0600
GIT changes to master grimoire by Ladislav Hagara <ladislav.hagara AT unob.cz>:
disk/lvm/BUILD | 8 +++++++-
disk/lvm/DEPENDS | 2 --
disk/lvm/HISTORY | 6 ++++++
disk/lvm/INSTALL | 5 +++++
disk/lvm/PREPARE | 2 ++
5 files changed, 20 insertions(+), 3 deletions(-)
New commits:
commit a56a443057b3161cace5c004940f960a1bdfe25e
Author: Ladislav Hagara <ladislav.hagara AT unob.cz>
Commit: Ladislav Hagara <ladislav.hagara AT unob.cz>
lvm: bye, bye device-mapper
starting with lvm 2.02.43, the device-mapper files are included in lvm
"cast lvm" now builds only device-mapper or both device-mapper and lvm
discussion:
https://lists.ibiblio.org/sympa/arc/sm-discuss/2008-November/018903.html
diff --git a/disk/lvm/BUILD b/disk/lvm/BUILD
index 07b5831..47bcc9d 100755
--- a/disk/lvm/BUILD
+++ b/disk/lvm/BUILD
@@ -7,5 +7,11 @@
--enable-static_link \
$OPTS &&
make_single &&
-make &&
+
+if [[ $LVM_DM_ONLY == y ]]; then
+ make device-mapper
+else
+ make
+fi &&
+
make_normal
diff --git a/disk/lvm/DEPENDS b/disk/lvm/DEPENDS
index a21b3b8..9968d88 100755
--- a/disk/lvm/DEPENDS
+++ b/disk/lvm/DEPENDS
@@ -1,5 +1,3 @@
-depends device-mapper &&
-
optional_depends readline \
"--enable-readline" \
"--enable-readline=no" \
diff --git a/disk/lvm/HISTORY b/disk/lvm/HISTORY
index 4cd09b0..3f1a7df 100644
--- a/disk/lvm/HISTORY
+++ b/disk/lvm/HISTORY
@@ -1,3 +1,9 @@
+2009-02-26 Ladislav Hagara <hgr AT vabo.cz>
+ * starting with lvm 2.02.43, the device-mapper files are included in
lvm
+ "cast lvm" now builds only device-mapper or both device-mapper and
lvm
+ * PREPARE, BUILD, INSTALL: added possibility to build only
device-mapper
+ * DEPENDS: removed device-mapper
+
2009-02-17 Elisamuel Resto <ryuji AT sourcemage.org>
* BUILD: add make_single so that multiple don't break building
diff --git a/disk/lvm/INSTALL b/disk/lvm/INSTALL
new file mode 100755
index 0000000..e862659
--- /dev/null
+++ b/disk/lvm/INSTALL
@@ -0,0 +1,5 @@
+if [[ $LVM_DM_ONLY == y ]]; then
+ make install_device-mapper
+else
+ default_install
+fi
diff --git a/disk/lvm/PREPARE b/disk/lvm/PREPARE
new file mode 100755
index 0000000..e573205
--- /dev/null
+++ b/disk/lvm/PREPARE
@@ -0,0 +1,2 @@
+message "${QUERY_COLOR}It is possible to build only device-mapper or both
device-mapper and lvm.${DEFAULT_COLOR}" &&
+config_query LVM_DM_ONLY "Do you want to build only device-mapper?" n
- [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (a56a443057b3161cace5c004940f960a1bdfe25e), Ladislav Hagara, 02/26/2009
Archive powered by MHonArc 2.6.24.