Skip to contentSkip to conversation

image-vm.bbclass: uses IMAGE_LINK_NAME

PATCH New Ming Liu 1 participant 1 message Nov 13, 2015

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

PATCH 1/1 image-vm.bbclass: uses IMAGE_LINK_NAME

From: Ming Liu <[email protected]>

Uses ${IMAGE_LINK_NAME} instead of ${IMAGE_BASENAME}-${MACHINE}.

---
 meta/classes/image-vm.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/image-vm.bbclass +1 -1
index 5ddd1cb..575a4b7 100644
@@ -10,7 +10,7 @@ do_bootdirectdisk[depends] += "${@'${INITRD_IMAGE}:do_rootfs' if '${INITRD_IMAGE
 
 # need to define the dependency and the ROOTFS for directdisk
 do_bootdirectdisk[depends] += "${PN}:do_rootfs"
-ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext4"
+ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.ext4"
 
 # creating VM images relies on having a hddimg so ensure we inherit it here.
 inherit boot-directdisk
Signature · 1 line
1.9.1