From 7c7aec62e844e79e862cb9ac49ca9f73c5931629 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti Date: Fri, 18 May 2018 17:47:11 -0300 Subject: image_types_ostree: no need to create boot/loader folders when creating ostree repo The boot/loader folders are only required at the deploy stage, which is already created by image_types_ota.bbclass. Signed-off-by: Ricardo Salveti (cherry-picked from commit 54f9b8e2ecb4ef0027da026368edc33bbc08eed4) --- classes/image_types_ostree.bbclass | 6 ------ 1 file changed, 6 deletions(-) (limited to 'classes') diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index 79147cf..ca97fdb 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass @@ -119,12 +119,6 @@ IMAGE_CMD_ostree () { ln -sf var/roothome root fi - # Creating boot directories is required for "ostree admin deploy" - - mkdir -p boot/loader.0 - mkdir -p boot/loader.1 - ln -sf boot/loader.0 boot/loader - checksum=`sha256sum ${DEPLOY_DIR_IMAGE}/${OSTREE_KERNEL} | cut -f 1 -d " "` cp ${DEPLOY_DIR_IMAGE}/${OSTREE_KERNEL} boot/vmlinuz-${checksum} -- cgit v1.2.3-54-g00ecf