diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_types_ota.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index d21441d..36e7059 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass | |||
@@ -105,6 +105,8 @@ IMAGE_CMD_otaimg () { | |||
105 | mv ${HOME_TMP}/var/local ${PHYS_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/ || true | 105 | mv ${HOME_TMP}/var/local ${PHYS_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/ || true |
106 | # Create /var/sota if it doesn't exist yet | 106 | # Create /var/sota if it doesn't exist yet |
107 | mkdir -p ${PHYS_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/sota || true | 107 | mkdir -p ${PHYS_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/sota || true |
108 | # Ensure the permissions are correctly set | ||
109 | chmod 700 ${PHYS_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/sota | ||
108 | mv ${HOME_TMP}/usr/homedirs/home ${PHYS_SYSROOT}/ || true | 110 | mv ${HOME_TMP}/usr/homedirs/home ${PHYS_SYSROOT}/ || true |
109 | # Ensure that /var/local exists (AGL symlinks /usr/local to /var/local) | 111 | # Ensure that /var/local exists (AGL symlinks /usr/local to /var/local) |
110 | install -d ${PHYS_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/local | 112 | install -d ${PHYS_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/local |