libostree: add systemd optional dependency
PATCH 1/2 libostree: add systemd optional dependency
This option is available since v2018.3:
https://github.com/ostreedev/ostree/commit/17db0f15a79835b76ede6785120d237066c57d32
--- package/libostree/libostree.mk | 9 +++++++++ 1 file changed, 9 insertions(+)
package/libostree/libostree.mk +9 -0
@@ -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))
Signature · 1 line
2.14.1
PATCH 2/2 libostree: bump to version 2018.9.1
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
--- package/libostree/libostree.hash | 2 +- package/libostree/libostree.mk | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-)
package/libostree/libostree.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 9a3c17af133e6d381bb997473c6371ef8f048c1cfb6bd0acdb5662ede712aa5a libostree-2018.9.tar.xz +sha256 f263cfed75dcc9e312a874d28241e7143d8a0d8c774938f2165327bae67dbe06 libostree-2018.9.1.tar.xz sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING
package/libostree/libostree.mk +3 -2
@@ -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
Signature · 1 line
2.14.1
PATCH 2/2 libostree: bump to version 2018.9.1
Quoted 6 lines · Fabrice Fontaine
Bump to v2018.9 added ostree-finalize-staged.path through
https://github.com/ostreedev/ostree/commit/ac1a919ffd4fe944d06c4f4510604baa73d1bf8eHowever, this file was not added in the tarball until commit:
https://github.com/ostreedev/ostree/commit/62594765b2fae72e332ffb21fbd11085d911ef83
Quoted 7 lines
So use the new 2018.9.1 tarball to get this file otherwise build with systemd will fail
Fixes:
- http://autobuild.buildroot.org/results/fc6435282630e60927f88bf5954805ebbaa60cb3Signed-off-by Fabrice Fontaine <[email protected]>
PATCH 1/2 libostree: add systemd optional dependency
In reply to Fabrice FontaineQuoted 4 lines · Fabrice Fontaine
This option is available since v2018.3:
https://github.com/ostreedev/ostree/commit/17db0f15a79835b76ede6785120d237066c57d32Signed-off-by Fabrice Fontaine <[email protected]>
PATCH 1/2 libostree: add systemd optional dependency
In reply to Fabrice FontaineHello,
Quoted 7 lines · Fabrice Fontaine
This option is available since v2018.3:
https://github.com/ostreedev/ostree/commit/17db0f15a79835b76ede6785120d237066c57d32Signed-off-by Fabrice Fontaine <[email protected]>--- package/libostree/libostree.mk | 9 +++++++++ 1 file changed, 9 insertions(+)
Both patches applied to next. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com