Skip to contentSkip to conversation

image_types.bbclass: Make ubi depend on ubifs

PATCH In review Pascal Bach 2 participants 5 messages Oct 27, 2014 – Nov 5, 2014

lore
Share & tools
lore
#0 lore raw

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
index 99a07da..76190fd 100644
@@ -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
#1 lore raw
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.

---
meta/classes/image_types.bbclass | 2 ++

1 file changed, 2 insertions(+)
meta/classes/image_types.bbclass +0 -0
index 99a07da..76190fd 100644

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'?

#2 lore raw
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.

#3 lore raw
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_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.
--

Any chance this gets included?

Pascal

#4 lore raw
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_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.
--

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