diff --git a/hardware/virtualization/ostree/actions.py b/hardware/virtualization/ostree/actions.py
index b7ca0dc4ea..d631540ee8 100644
--- a/hardware/virtualization/ostree/actions.py
+++ b/hardware/virtualization/ostree/actions.py
@@ -15,12 +15,10 @@ def setup():
shelltools.system("env NOCONFIGURE=1 ./autogen.sh")
autotools.configure("--disable-silent-rules \
- --enable-gtk-doc \
--without-selinux \
--with-curl \
--with-openssl \
--disable-static \
- --enable-installed-tests=exclusive \
--enable-trivial-httpd-cmdline \
--disable-http2 \
--without-dracut \
@@ -28,7 +26,6 @@ def setup():
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
-
def build():
autotools.make()
diff --git a/hardware/virtualization/ostree/files/disable_werror_implicit_funtion_declaraction.patch b/hardware/virtualization/ostree/files/disable_werror_implicit_funtion_declaraction.patch
new file mode 100644
index 0000000000..8a601edf8c
--- /dev/null
+++ b/hardware/virtualization/ostree/files/disable_werror_implicit_funtion_declaraction.patch
@@ -0,0 +1,11 @@
+diff -Nuar libostree-2018.8.orig/configure.ac libostree-2018.8/configure.ac
+--- libostree-2018.8.orig/configure.ac 2018-08-22 16:53:53.000000000 +0300
++++ libostree-2018.8/configure.ac 2018-10-13 21:50:43.341668859 +0300
+@@ -35,7 +35,6 @@
+ -Werror=empty-body \
+ -Werror=strict-prototypes \
+ -Werror=missing-prototypes \
+- -Werror=implicit-function-declaration \
+ "-Werror=format=2 -Werror=format-security -Werror=format-nonliteral" \
+ -Werror=pointer-arith -Werror=init-self \
+ -Werror=missing-declarations \
diff --git a/hardware/virtualization/ostree/pspec.xml b/hardware/virtualization/ostree/pspec.xml
index 3f845825e4..07544ec5f0 100644
--- a/hardware/virtualization/ostree/pspec.xml
+++ b/hardware/virtualization/ostree/pspec.xml
@@ -12,9 +12,8 @@
app:console
Operating system and container binary deployment and upgrades
OSTree is a tool for managing bootable, immutable, versioned filesystem trees
- https://github.com/ostreedev/ostree/archive/v2018.8.tar.gz
+ https://github.com/ostreedev/ostree/releases/download/v2018.8/libostree-2018.8.tar.xz
- gtk-doc
glib2-devel
xz-devel
zlib-devel
@@ -32,7 +31,7 @@
gnutls-devel
- bsdiff_libglnx_submodule.patch
+ disable_werror_implicit_funtion_declaraction.patch
@@ -40,6 +39,9 @@
ostree
xz
+ curl
+ avahi-glib
+ avahi-libs
zlib
fuse
glib2
@@ -48,8 +50,7 @@
libarchive
libgpg-error
libutil-linux
- openssl
- libgcc
+ openssl
/usr/bin
@@ -70,6 +71,7 @@
ostree
xz-devel
+ curl-devel
zlib-devel
fuse-devel
glib2-devel