diff options
author | cajun-rat <philip.wise@here.com> | 2018-06-27 16:06:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-27 16:06:22 +0200 |
commit | cd97b4cd1e680b22afe62ebea2d8701b2f357098 (patch) | |
tree | aa8fef6bc263e331f732ee37cf7c1a2bc236643d | |
parent | b08439c2756ee1cc4020d92ce0abf087e64e94ef (diff) | |
parent | 54f9b8e2ecb4ef0027da026368edc33bbc08eed4 (diff) | |
download | meta-updater-cd97b4cd1e680b22afe62ebea2d8701b2f357098.tar.gz |
Merge pull request #338 from rsalveti/ostree-image
image_types_ostree: no need to create boot/loader folders when creating ostree repo
-rw-r--r-- | classes/image_types_ostree.bbclass | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index 30bfedf..ca8aee3 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
@@ -121,12 +121,6 @@ IMAGE_CMD_ostree () { | |||
121 | cp ${SOTA_SECONDARY_ECUS} var/sota/ecus | 121 | cp ${SOTA_SECONDARY_ECUS} var/sota/ecus |
122 | fi | 122 | fi |
123 | 123 | ||
124 | # Creating boot directories is required for "ostree admin deploy" | ||
125 | |||
126 | mkdir -p boot/loader.0 | ||
127 | mkdir -p boot/loader.1 | ||
128 | ln -sf boot/loader.0 boot/loader | ||
129 | |||
130 | checksum=`sha256sum ${DEPLOY_DIR_IMAGE}/${OSTREE_KERNEL} | cut -f 1 -d " "` | 124 | checksum=`sha256sum ${DEPLOY_DIR_IMAGE}/${OSTREE_KERNEL} | cut -f 1 -d " "` |
131 | 125 | ||
132 | cp ${DEPLOY_DIR_IMAGE}/${OSTREE_KERNEL} boot/vmlinuz-${checksum} | 126 | cp ${DEPLOY_DIR_IMAGE}/${OSTREE_KERNEL} boot/vmlinuz-${checksum} |