diff options
Diffstat (limited to 'recipes-sota/ostree')
-rw-r--r-- | recipes-sota/ostree/ostree_git.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes-sota/ostree/ostree_git.bb b/recipes-sota/ostree/ostree_git.bb index a35799e..6adac5f 100644 --- a/recipes-sota/ostree/ostree_git.bb +++ b/recipes-sota/ostree/ostree_git.bb | |||
@@ -7,7 +7,7 @@ inherit autotools-brokensep pkgconfig systemd | |||
7 | INHERIT_remove_class-native = "systemd" | 7 | INHERIT_remove_class-native = "systemd" |
8 | 8 | ||
9 | SRC_URI = "gitsm://github.com/ostreedev/ostree.git;branch=master" | 9 | SRC_URI = "gitsm://github.com/ostreedev/ostree.git;branch=master" |
10 | SRCREV="v2016.10" | 10 | SRCREV="v2016.5" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
13 | 13 | ||
@@ -19,7 +19,8 @@ DEPENDS_remove_class-native = "systemd-native" | |||
19 | RDEPENDS_${PN} = "python util-linux-libuuid util-linux-libblkid util-linux-libmount libcap xz" | 19 | RDEPENDS_${PN} = "python util-linux-libuuid util-linux-libblkid util-linux-libmount libcap xz" |
20 | RDEPENDS_${PN}_remove_class-native = "python-native" | 20 | RDEPENDS_${PN}_remove_class-native = "python-native" |
21 | 21 | ||
22 | EXTRA_OECONF = "--with-libarchive --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf --disable-man" | 22 | EXTRA_OECONF = "CFLAGS='-DDISABLE_OTMPFILE' --with-libarchive --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf --disable-man" |
23 | EXTRA_OEMAKE = "CFLAGS='-DDISABLE_OTMPFILE'" | ||
23 | 24 | ||
24 | SYSTEMD_REQUIRED = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}" | 25 | SYSTEMD_REQUIRED = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}" |
25 | SYSTEMD_REQUIRED_class-native = "" | 26 | SYSTEMD_REQUIRED_class-native = "" |
@@ -29,7 +30,7 @@ SYSTEMD_SERVICE_${PN}_class-native = "" | |||
29 | 30 | ||
30 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | 31 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" |
31 | PACKAGECONFIG_class-native = "" | 32 | PACKAGECONFIG_class-native = "" |
32 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,," | 33 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/ --with-dracut" |
33 | 34 | ||
34 | FILES_${PN} += "${libdir}/ostree/ ${libdir}/ostbuild" | 35 | FILES_${PN} += "${libdir}/ostree/ ${libdir}/ostbuild" |
35 | 36 | ||
@@ -57,6 +58,7 @@ do_install_append() { | |||
57 | 58 | ||
58 | FILES_${PN} += " \ | 59 | FILES_${PN} += " \ |
59 | ${@'${systemd_unitdir}/system/' if d.getVar('SYSTEMD_REQUIRED', True) else ''} \ | 60 | ${@'${systemd_unitdir}/system/' if d.getVar('SYSTEMD_REQUIRED', True) else ''} \ |
61 | ${@'${libdir}/dracut/modules.d/98ostree/module-setup.sh' if d.getVar('SYSTEMD_REQUIRED', True) else ''} \ | ||
60 | ${datadir}/gir-1.0 \ | 62 | ${datadir}/gir-1.0 \ |
61 | ${datadir}/gir-1.0/OSTree-1.0.gir \ | 63 | ${datadir}/gir-1.0/OSTree-1.0.gir \ |
62 | ${libdir}/girepository-1.0 \ | 64 | ${libdir}/girepository-1.0 \ |