The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / iodine / 0001-disable-systemd-and-selinux.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/iodine/0001-disable-systemd-and-selinux.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/iodine/0001-disable-systemd-and-selinux.patch
new file mode 100644 (file)
index 0000000..965abb7
--- /dev/null
@@ -0,0 +1,29 @@
+Disable selinux and systemd support since they check for host headers.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura iodine-0.7.0.orig/src/osflags iodine-0.7.0/src/osflags
+--- iodine-0.7.0.orig/src/osflags      2015-02-20 14:59:00.799958145 -0300
++++ iodine-0.7.0/src/osflags   2015-02-20 15:05:54.791135141 -0300
+@@ -18,8 +18,8 @@
+               ;;
+               Linux)
+                       FLAGS="";
+-                      [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
+-                      [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
++                      #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
++                      #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
+                       echo $FLAGS;
+               ;;
+       esac
+@@ -34,8 +34,8 @@
+               ;;
+               Linux)
+                       FLAGS="-D_GNU_SOURCE"
+-                      [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
+-                      [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
++                      #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
++                      #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
+                       echo $FLAGS;
+               ;;
+       esac