summaryrefslogtreecommitdiffstats
path: root/recipes-sota/ostree/ostree_git.bb
diff options
context:
space:
mode:
authorPhil Wise <phil@advancedtelematic.com>2017-04-18 16:28:07 +0200
committerPhil Wise <phil@advancedtelematic.com>2017-04-18 16:28:07 +0200
commit8d6b288d44368a966c3623c721c9d25da5a1b3a7 (patch)
tree1eeb35b2b1fae30888d5f7942b7ba88b890b51b4 /recipes-sota/ostree/ostree_git.bb
parentb4373b62f1a433fbcc83175e6aa6432133a766d0 (diff)
downloadmeta-updater-8d6b288d44368a966c3623c721c9d25da5a1b3a7.tar.gz
Create a wrapper so OSTree can find ostree-grub-generator
OSTree has a hardcoded path to ostree-grub-generator, this wrapper sets it dynamically to avoid problems with sharing a SSTATE cache.
Diffstat (limited to 'recipes-sota/ostree/ostree_git.bb')
-rw-r--r--recipes-sota/ostree/ostree_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-sota/ostree/ostree_git.bb b/recipes-sota/ostree/ostree_git.bb
index 102b70f..58a30a4 100644
--- a/recipes-sota/ostree/ostree_git.bb
+++ b/recipes-sota/ostree/ostree_git.bb
@@ -67,6 +67,11 @@ do_install_append() {
67 fi 67 fi
68} 68}
69 69
70do_install_append_class-native() {
71 create_wrapper ${D}${bindir}/ostree OSTREE_GRUB2_EXEC="${STAGING_LIBDIR_NATIVE}/ostree/ostree-grub-generator"
72}
73
74
70FILES_${PN} += " \ 75FILES_${PN} += " \
71 ${@'${systemd_unitdir}/system/' if d.getVar('SYSTEMD_REQUIRED', True) else ''} \ 76 ${@'${systemd_unitdir}/system/' if d.getVar('SYSTEMD_REQUIRED', True) else ''} \
72 ${@'${libdir}/dracut/modules.d/98ostree/module-setup.sh' if d.getVar('SYSTEMD_REQUIRED', True) else ''} \ 77 ${@'${libdir}/dracut/modules.d/98ostree/module-setup.sh' if d.getVar('SYSTEMD_REQUIRED', True) else ''} \