diff options
Diffstat (limited to 'recipes-sota/ostree/ostree_git.bb')
-rw-r--r-- | recipes-sota/ostree/ostree_git.bb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-sota/ostree/ostree_git.bb b/recipes-sota/ostree/ostree_git.bb index 37a2445..e085df0 100644 --- a/recipes-sota/ostree/ostree_git.bb +++ b/recipes-sota/ostree/ostree_git.bb | |||
@@ -22,11 +22,19 @@ FILES_${PN} += "${libdir}/ostree/ ${libdir}/ostbuild" | |||
22 | 22 | ||
23 | BBCLASSEXTEND = "native" | 23 | BBCLASSEXTEND = "native" |
24 | 24 | ||
25 | export STAGING_INCDIR | ||
26 | export STAGING_LIBDIR | ||
27 | |||
25 | do_configure() { | 28 | do_configure() { |
26 | NOCONFIGURE=true ./autogen.sh | 29 | NOCONFIGURE=true ./autogen.sh |
27 | oe_runconf | 30 | oe_runconf |
28 | } | 31 | } |
29 | 32 | ||
33 | do_compile_prepend() { | ||
34 | export BUILD_SYS="${BUILD_SYS}" | ||
35 | export HOST_SYS="${HOST_SYS}" | ||
36 | } | ||
37 | |||
30 | do_install_append() { | 38 | do_install_append() { |
31 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 39 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
32 | install -p -D ${S}/src/boot/ostree-prepare-root.service ${D}${systemd_unitdir}/system/ostree-prepare-root.service | 40 | install -p -D ${S}/src/boot/ostree-prepare-root.service ${D}${systemd_unitdir}/system/ostree-prepare-root.service |
@@ -37,5 +45,9 @@ do_install_append() { | |||
37 | SYSTEMD_SERVICE_${PN} = "ostree-prepare-root.service ostree-remount.service" | 45 | SYSTEMD_SERVICE_${PN} = "ostree-prepare-root.service ostree-remount.service" |
38 | FILES_${PN} += " \ | 46 | FILES_${PN} += " \ |
39 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_unitdir}/system/', '', d)} \ | 47 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_unitdir}/system/', '', d)} \ |
48 | ${datadir}/gir-1.0 \ | ||
49 | ${datadir}/gir-1.0/OSTree-1.0.gir \ | ||
40 | ${libdir}/dracut/ \ | 50 | ${libdir}/dracut/ \ |
51 | ${libdir}/girepository-1.0 \ | ||
52 | ${libdir}/girepository-1.0/OSTree-1.0.typelib \ | ||
41 | " | 53 | " |