* [Buildroot] [PATCH 1/2] libostree: add systemd optional dependency
@ 2018-11-20 21:48 Fabrice Fontaine
2018-11-20 21:48 ` [Buildroot] [PATCH 2/2] libostree: bump to version 2018.9.1 Fabrice Fontaine
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2018-11-20 21:48 UTC (permalink / raw)
To: buildroot
This option is available since v2018.3:
https://github.com/ostreedev/ostree/commit/17db0f15a79835b76ede6785120d237066c57d32
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libostree/libostree.mk | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk
index 4c841dbe4d..8538cdc69c 100644
--- a/package/libostree/libostree.mk
+++ b/package/libostree/libostree.mk
@@ -68,4 +68,13 @@ else
LIBOSTREE_CONF_OPTS += --without-selinux
endif
+ifeq ($(BR2_INIT_SYSTEMD),y)
+LIBOSTREE_CONF_OPTS += \
+ --with-libsystemd \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system
+LIBOSTREE_DEPENDENCIES += systemd
+else
+LIBOSTREE_CONF_OPTS += --without-libsystemd
+endif
+
$(eval $(autotools-package))
--
2.14.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] libostree: bump to version 2018.9.1
2018-11-20 21:48 [Buildroot] [PATCH 1/2] libostree: add systemd optional dependency Fabrice Fontaine
@ 2018-11-20 21:48 ` Fabrice Fontaine
2018-11-21 18:57 ` Marcus Folkesson
2018-11-21 18:57 ` [Buildroot] [PATCH 1/2] libostree: add systemd optional dependency Marcus Folkesson
2018-11-21 21:31 ` Thomas Petazzoni
2 siblings, 1 reply; 5+ messages in thread
From: Fabrice Fontaine @ 2018-11-20 21:48 UTC (permalink / raw)
To: buildroot
Bump to v2018.9 added ostree-finalize-staged.path through
https://github.com/ostreedev/ostree/commit/ac1a919ffd4fe944d06c4f4510604baa73d1bf8e
However, this file was not added in the tarball until commit:
https://github.com/ostreedev/ostree/commit/62594765b2fae72e332ffb21fbd11085d911ef83
So use the new 2018.9.1 tarball to get this file otherwise build with
systemd will fail
Fixes:
- http://autobuild.buildroot.org/results/fc6435282630e60927f88bf5954805ebbaa60cb3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libostree/libostree.hash | 2 +-
package/libostree/libostree.mk | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/package/libostree/libostree.hash b/package/libostree/libostree.hash
index 35bf2caf0a..ddd15b5099 100644
--- a/package/libostree/libostree.hash
+++ b/package/libostree/libostree.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 9a3c17af133e6d381bb997473c6371ef8f048c1cfb6bd0acdb5662ede712aa5a libostree-2018.9.tar.xz
+sha256 f263cfed75dcc9e312a874d28241e7143d8a0d8c774938f2165327bae67dbe06 libostree-2018.9.1.tar.xz
sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING
diff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk
index 8538cdc69c..e8cdd64d6e 100644
--- a/package/libostree/libostree.mk
+++ b/package/libostree/libostree.mk
@@ -4,9 +4,10 @@
#
################################################################################
-LIBOSTREE_VERSION = 2018.9
+LIBOSTREE_VERSION_MAJOR = 2018.9
+LIBOSTREE_VERSION= $(LIBOSTREE_VERSION_MAJOR).1
LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz
-LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION)
+LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION_MAJOR)
LIBOSTREE_LICENSE = LGPL-2.0+
LIBOSTREE_LICENSE_FILES = COPYING
--
2.14.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] libostree: add systemd optional dependency
2018-11-20 21:48 [Buildroot] [PATCH 1/2] libostree: add systemd optional dependency Fabrice Fontaine
2018-11-20 21:48 ` [Buildroot] [PATCH 2/2] libostree: bump to version 2018.9.1 Fabrice Fontaine
@ 2018-11-21 18:57 ` Marcus Folkesson
2018-11-21 21:31 ` Thomas Petazzoni
2 siblings, 0 replies; 5+ messages in thread
From: Marcus Folkesson @ 2018-11-21 18:57 UTC (permalink / raw)
To: buildroot
On Tue, Nov 20, 2018 at 10:48:23PM +0100, Fabrice Fontaine wrote:
> This option is available since v2018.3:
> https://github.com/ostreedev/ostree/commit/17db0f15a79835b76ede6785120d237066c57d32
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] libostree: bump to version 2018.9.1
2018-11-20 21:48 ` [Buildroot] [PATCH 2/2] libostree: bump to version 2018.9.1 Fabrice Fontaine
@ 2018-11-21 18:57 ` Marcus Folkesson
0 siblings, 0 replies; 5+ messages in thread
From: Marcus Folkesson @ 2018-11-21 18:57 UTC (permalink / raw)
To: buildroot
On Tue, Nov 20, 2018 at 10:48:24PM +0100, Fabrice Fontaine wrote:
> Bump to v2018.9 added ostree-finalize-staged.path through
> https://github.com/ostreedev/ostree/commit/ac1a919ffd4fe944d06c4f4510604baa73d1bf8e
>
> However, this file was not added in the tarball until commit:
> https://github.com/ostreedev/ostree/commit/62594765b2fae72e332ffb21fbd11085d911ef83
>
> So use the new 2018.9.1 tarball to get this file otherwise build with
> systemd will fail
>
> Fixes:
> - http://autobuild.buildroot.org/results/fc6435282630e60927f88bf5954805ebbaa60cb3
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] libostree: add systemd optional dependency
2018-11-20 21:48 [Buildroot] [PATCH 1/2] libostree: add systemd optional dependency Fabrice Fontaine
2018-11-20 21:48 ` [Buildroot] [PATCH 2/2] libostree: bump to version 2018.9.1 Fabrice Fontaine
2018-11-21 18:57 ` [Buildroot] [PATCH 1/2] libostree: add systemd optional dependency Marcus Folkesson
@ 2018-11-21 21:31 ` Thomas Petazzoni
2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2018-11-21 21:31 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 20 Nov 2018 22:48:23 +0100, Fabrice Fontaine wrote:
> This option is available since v2018.3:
> https://github.com/ostreedev/ostree/commit/17db0f15a79835b76ede6785120d237066c57d32
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/libostree/libostree.mk | 9 +++++++++
> 1 file changed, 9 insertions(+)
Both patches applied to next. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-11-21 21:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-20 21:48 [Buildroot] [PATCH 1/2] libostree: add systemd optional dependency Fabrice Fontaine
2018-11-20 21:48 ` [Buildroot] [PATCH 2/2] libostree: bump to version 2018.9.1 Fabrice Fontaine
2018-11-21 18:57 ` Marcus Folkesson
2018-11-21 18:57 ` [Buildroot] [PATCH 1/2] libostree: add systemd optional dependency Marcus Folkesson
2018-11-21 21:31 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox