image_types.bbclass: Make ubi depend on ubifs
PATCH 1/1 image_types.bbclass: Make ubi depend on ubifs
The ubi command assumes the ubifs file is present. This makes sure this is really the case.
--- meta/classes/image_types.bbclass | 2 ++ 1 file changed, 2 insertions(+)
meta/classes/image_types.bbclass +2 -0
@@ -96,6 +96,8 @@ IMAGE_CMD_ubi () { mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS} ubinize -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${UBINIZE_ARGS} ubinize.cfg } +IMAGE_TYPEDEP_ubi = "ubifs" + IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS}" EXTRA_IMAGECMD = ""
Signature · 1 line
1.7.10.4
Quoted 16 lines
Op 27 okt. 2014, om 08:42 heeft Pascal Bach <[email protected]> het volgende geschreven:
The ubi command assumes the ubifs file is present. This makes sure this is really the case.
Signed-off-by Pascal Bach <[email protected]>---
meta/classes/image_types.bbclass | 2 ++1 file changed, 2 insertions(+)meta/classes/image_types.bbclass +0
-0
meta/classes/image_types.bbclass IMAGE_CMD_ubi () { · line 100
Quoted 5 lines
meta/classes/image_types.bbclass +2
-0@@ -96,6 +96,8 @@ IMAGE_CMD_ubi () { mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS} ubinize -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${UBINIZE_ARGS} ubinize.cfg } +IMAGE_TYPEDEP_ubi = "ubifs" +
'ubifs' or 'ubifs-native'?
Quoted 5 lines
meta/classes/image_types.bbclass IMAGE_CMD_ubi () { · line 100
Quoted 3 lines
}
meta/classes/image_types.bbclass +2
-0+IMAGE_TYPEDEP_ubi = "ubifs" +'ubifs' or 'ubifs-native'?
IMAGE_TYPEDEP describes dependencies between image types. So in this case ubifs referred to IMAGE_CMD_ubifs I'm not aware that there is ubifs-native image type.
Quoted 11 lines
Quoted 6 lines
meta/classes/image_types.bbclass IMAGE_CMD_ubi () { · line 100
Quoted 4 lines
}
meta/classes/image_types.bbclass +2
-0+IMAGE_TYPEDEP_ubi = "ubifs" +'ubifs' or 'ubifs-native'?
IMAGE_TYPEDEPdescribes dependencies between image types. So in this case ubifs referred toIMAGE_CMD_ubifs
I'm not aware that there is ubifs-native image type.
--
Any chance this gets included?
Pascal
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
}
meta/classes/image_types.bbclass IMAGE_CMD_ubi () { · line 100
Quoted 2 lines
meta/classes/image_types.bbclass +2
-0+IMAGE_TYPEDEP_ubi = "ubifs" +'ubifs' or 'ubifs-native'?
Quoted 7 lines
Quoted 4 lines
IMAGE_TYPEDEPdescribes dependencies between image types. So in this case ubifs referred toIMAGE_CMD_ubifs
I'm not aware that there is ubifs-native image type.
--Any chance this gets included?
Sorry forget the above mail, should have updated my git tree first. I see it's already in. Thanks.
Pascal