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
1 Disable selinux and systemd support since they check for host headers.
2
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
4
5 diff -Nura iodine-0.7.0.orig/src/osflags iodine-0.7.0/src/osflags
6 --- iodine-0.7.0.orig/src/osflags       2015-02-20 14:59:00.799958145 -0300
7 +++ iodine-0.7.0/src/osflags    2015-02-20 15:05:54.791135141 -0300
8 @@ -18,8 +18,8 @@
9                 ;;
10                 Linux)
11                         FLAGS="";
12 -                       [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
13 -                       [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
14 +                       #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
15 +                       #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
16                         echo $FLAGS;
17                 ;;
18         esac
19 @@ -34,8 +34,8 @@
20                 ;;
21                 Linux)
22                         FLAGS="-D_GNU_SOURCE"
23 -                       [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
24 -                       [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
25 +                       #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
26 +                       #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
27                         echo $FLAGS;
28                 ;;
29         esac