@@ -1100,6 +1100,9 @@ F: package/turbolua/
N: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
F: package/libkcapi/
+N: Marcus Folkesson <marcus.folkesson@gmail.com>
+F: package/libostree/
+
N: Marek Belisko <marek.belisko@open-nandra.com>
F: package/libatasmart/
F: package/polkit/
@@ -1883,6 +1883,7 @@ menu "System tools"
source "package/numactl/Config.in"
source "package/nut/Config.in"
source "package/openvmtools/Config.in"
+ source "package/libostree/Config.in"
source "package/polkit/Config.in"
source "package/powerpc-utils/Config.in"
source "package/procps-ng/Config.in"
new file mode 100644
@@ -0,0 +1,42 @@
+From e4b940cc02776edee63c5a706746dc237862151d Mon Sep 17 00:00:00 2001
+From: Marcus Folkesson <marcus.folkesson@gmail.com>
+Date: Wed, 30 Aug 2017 19:20:35 +0200
+Subject: [PATCH] Use autoreconf from the build environment
+
+OSTree workarounds a bug in automake in their autogen.sh file.
+Use the script but do not call autoreconf from it.
+
+Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
+---
+ autogen.sh | 11 -----------
+ 1 file changed, 11 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 17f6abf4..0dfbb15a 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -6,12 +6,6 @@ test -n "$srcdir" || srcdir=.
+ olddir=`pwd`
+ cd $srcdir
+
+-AUTORECONF=`which autoreconf`
+-if test -z $AUTORECONF; then
+- echo "*** No autoreconf found, please install it ***"
+- exit 1
+-fi
+-
+ set -e
+
+ mkdir -p m4
+@@ -37,8 +31,3 @@ sed -e 's,$(libbsdiff_srcpath),bsdiff,g' < bsdiff/Makefile-bsdiff.am >bsdiff/Mak
+
+ # FIXME - figure out how to get aclocal to find this by default
+ ln -sf ../libglnx/libglnx.m4 buildutil/libglnx.m4
+-
+-autoreconf --force --install --verbose
+-
+-cd $olddir
+-test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
+--
+2.13.1
+
new file mode 100644
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LIBOSTREE
+ bool "libostree"
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_PKGCONF
+ select BR2_PACKAGE_XZ
+ select BR2_PACKAGE_E2FSPROGS
+ select BR2_PACKAGE_LIBFUSE
+ select BR2_PACKAGE_LIBGPGME
+ help
+ OSTree is an upgrade system for Linux-based operating systems.
+
+ https://ostree.readthedocs.io/en/latest/
new file mode 100644
@@ -0,0 +1,22 @@
+################################################################################
+#
+# libostree
+#
+################################################################################
+
+LIBOSTREE_VERSION = v2017.10
+LIBOSTREE_SITE = https://github.com/ostreedev/ostree.git
+LIBOSTREE_SITE_METHOD = git
+LIBOSTREE_GIT_SUBMODULES = yes
+LIBOSTREE_LICENSE = GPLv2
+LIBOSTREE_LICENSE_FILES = COPYING
+LIBOSTREE_AUTORECONF = YES
+LIBOSTREE_DEPENDENCIES = libgpgme libglib2 xz libfuse pkgconf e2fsprogs
+
+# Use their special autogen.sh script to workaround automake bug with subdir-objects and computed paths
+define LIBOSTREE_RUN_AUTOGEN
+ cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
+endef
+LIBOSTREE_PRE_CONFIGURE_HOOKS += LIBOSTREE_RUN_AUTOGEN
+
+$(eval $(autotools-package))
OSTree is an upgrade system for Linux-based operating systems Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> --- v2: - add e2fsprogs as dependency DEVELOPERS | 3 ++ package/Config.in | 1 + ...Use-autoreconf-from-the-build-environment.patch | 42 ++++++++++++++++++++++ package/libostree/Config.in | 12 +++++++ package/libostree/libostree.mk | 22 ++++++++++++ 5 files changed, 80 insertions(+) create mode 100644 package/libostree/0001-Use-autoreconf-from-the-build-environment.patch create mode 100644 package/libostree/Config.in create mode 100644 package/libostree/libostree.mk