From 31ed3238f285c5a18d1d197e6315ce26e7536b63 Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Sun, 8 Nov 2015 12:49:05 +0100
Subject: [PATCH] turn off oml in f23

---
 00-DISTROS.md | 32 ++++++++++++++++++++++++++++++++
 lxc.mk        |  2 ++
 2 files changed, 34 insertions(+)
 create mode 100644 00-DISTROS.md

diff --git a/00-DISTROS.md b/00-DISTROS.md
new file mode 100644
index 00000000..de750d7c
--- /dev/null
+++ b/00-DISTROS.md
@@ -0,0 +1,32 @@
+Notes on modules that have been left behind while moving forward with the successive versinos of fedora
+
+# Modules turned off in f23
+
+## `liboml`
+
+* See `Makefile` for details on this one
+
+* many of our modules exhibited an issue (see details in Makefile) an empty `debugfiles.list`
+
+* so to work around that I added this line to `header.spec`
+
+#
+            echo "%define debug_package %{nil}" >> $@
+
+* Now with this in place `liboml` won't build anymore; I haven't tried *without* the patch yet with just `liboml`
+
+* In any case to keep things simple and to move forward I am turning off liboml in the f23 builds and on.
+
+# previous releases
+
+## `ipfw` 
+
+ * turned off in builds from f21 and on
+
+## `procprotect` 
+
+* turned off in builds from f20 and on
+## `fprobe-ulog`
+
+* turned off in builds from f20 an on
+
diff --git a/lxc.mk b/lxc.mk
index c911c1fc..e1beb529 100644
--- a/lxc.mk
+++ b/lxc.mk
@@ -385,6 +385,7 @@ IN_NODEIMAGE += pyplnet
 IN_MYPLC += pyplnet
 IN_BOOTCD += pyplnet
 
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME),f23)"
 #
 # OML measurement library
 #
@@ -392,6 +393,7 @@ oml-MODULES := oml
 oml-STOCK-DEVEL-RPMS += sqlite-devel 
 oml-SPEC := liboml.spec
 ALL += oml
+endif
 
 #
 # bootcd
-- 
2.47.0