diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-04-19 16:06:28 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-04-19 16:06:28 +0200 |
commit | eae33b943dbf1bd9d863a8255e47726f7cd93418 (patch) | |
tree | be1b917c1bd49c2c5f3938c38c1634a4faae73e0 | |
parent | f8a90e45c8cfa8253468cf9376560f6de728169b (diff) | |
parent | 71d0af75271eff7b5b8c658576d696e99997d57f (diff) | |
download | meta-updater-eae33b943dbf1bd9d863a8255e47726f7cd93418.tar.gz |
Merge branch 'morty' into switchupdater
-rw-r--r-- | classes/image_types_ota.bbclass | 2 | ||||
-rw-r--r-- | recipes-sota/ostree/ostree_git.bb | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index b275930..819a83c 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass | |||
@@ -95,7 +95,7 @@ IMAGE_CMD_otaimg () { | |||
95 | # Copy deployment /home and /var/sota to sysroot | 95 | # Copy deployment /home and /var/sota to sysroot |
96 | HOME_TMP=`mktemp -d ${WORKDIR}/home-tmp-XXXXX` | 96 | HOME_TMP=`mktemp -d ${WORKDIR}/home-tmp-XXXXX` |
97 | tar --xattrs --xattrs-include='*' -C ${HOME_TMP} -xf ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs.ostree.tar.bz2 ./usr/homedirs ./var/sota || true | 97 | tar --xattrs --xattrs-include='*' -C ${HOME_TMP} -xf ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs.ostree.tar.bz2 ./usr/homedirs ./var/sota || true |
98 | > mv ${HOME_TMP}/var/sota ${PHYS_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/ || true | 98 | mv ${HOME_TMP}/var/sota ${PHYS_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/ || true |
99 | mv ${HOME_TMP}/usr/homedirs/home ${PHYS_SYSROOT}/ || true | 99 | mv ${HOME_TMP}/usr/homedirs/home ${PHYS_SYSROOT}/ || true |
100 | rm -rf ${HOME_TMP} | 100 | rm -rf ${HOME_TMP} |
101 | 101 | ||
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 | ||
70 | do_install_append_class-native() { | ||
71 | create_wrapper ${D}${bindir}/ostree OSTREE_GRUB2_EXEC="${STAGING_LIBDIR_NATIVE}/ostree/ostree-grub-generator" | ||
72 | } | ||
73 | |||
74 | |||
70 | FILES_${PN} += " \ | 75 | FILES_${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 ''} \ |