mirror of
				https://github.com/lingble/meta-tegra.git
				synced 2025-10-31 04:18:06 +00:00 
			
		
		
		
	classes: rename image_types_esp.bbclass to image_types_tegra_esp.bbclass
The 'esp' name was a bit too generic, so renaming should avoid possible conflicts with other layers. Also fix a minor typo in the log output in the mkespfs function. Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
		 Matt Madison
					Matt Madison
				
			
				
					committed by
					
						 Matt Madison
						Matt Madison
					
				
			
			
				
	
			
			
			 Matt Madison
						Matt Madison
					
				
			
						parent
						
							164ce0d6ed
						
					
				
				
					commit
					f12b72cb0e
				
			| @@ -1,4 +1,4 @@ | |||||||
| inherit image_types image_types_cboot image_types_esp python3native perlnative kernel-artifact-names | inherit image_types image_types_cboot image_types_tegra_esp python3native perlnative kernel-artifact-names | ||||||
|  |  | ||||||
| IMAGE_TYPES += "tegraflash" | IMAGE_TYPES += "tegraflash" | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,5 +1,4 @@ | |||||||
| require conf/image-uefi.conf | # Adapted from oe_mkext234fs in image_types.bbclass | ||||||
| 
 |  | ||||||
| oe_mkespfs() { | oe_mkespfs() { | ||||||
| 	fstype="$1" | 	fstype="$1" | ||||||
| 	extra_imagecmd="" | 	extra_imagecmd="" | ||||||
| @@ -13,7 +12,7 @@ oe_mkespfs() { | |||||||
| 	bbdebug 1 Executing "dd if=/dev/zero of=${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype seek=65536 count=0 bs=1024" | 	bbdebug 1 Executing "dd if=/dev/zero of=${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype seek=65536 count=0 bs=1024" | ||||||
| 	dd if=/dev/zero of=${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype seek=65536 count=0 bs=1024 | 	dd if=/dev/zero of=${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype seek=65536 count=0 bs=1024 | ||||||
| 	bbdebug 1 "Actual Rootfs size:  `du -s ${IMAGE_ROOTFS}`" | 	bbdebug 1 "Actual Rootfs size:  `du -s ${IMAGE_ROOTFS}`" | ||||||
| 	bbdebug 1 "Actual Partion size: `stat -c '%s' ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype`" | 	bbdebug 1 "Actual Partition size: `stat -c '%s' ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype`" | ||||||
| 	bbdebug 1 Executing "mkfs.vfat -F 32 -I $extra_imagecmd ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype " | 	bbdebug 1 Executing "mkfs.vfat -F 32 -I $extra_imagecmd ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype " | ||||||
| 	mkfs.vfat -F 32 -I $extra_imagecmd ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype | 	mkfs.vfat -F 32 -I $extra_imagecmd ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype | ||||||
| 	mcopy -i ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype -s ${IMAGE_ROOTFS}/* ::/ | 	mcopy -i ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.$fstype -s ${IMAGE_ROOTFS}/* ::/ | ||||||
		Reference in New Issue
	
	Block a user