From dbf5bc6140d31746feb79586f3916785097ee933 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 7 May 2015 12:43:36 +0200 Subject: image partitions: use the volume names boot and rootfs Was Boot and arm --- recipes/images/files/library/genext3fs.sh | 2 +- recipes/images/files/library/imx6/update.sh | 2 +- recipes/images/files/library/tegra/update.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/images/files/library/genext3fs.sh b/recipes/images/files/library/genext3fs.sh index 3c8ecc8..ffcf060 100755 --- a/recipes/images/files/library/genext3fs.sh +++ b/recipes/images/files/library/genext3fs.sh @@ -40,7 +40,7 @@ shift $(($OPTIND - 1)) #create the file used for the loopbackdevice and format it for ext3 #answer y to "is not a block special device" dd if=/dev/zero of=$@ bs=1024k count=$PARTITIONSIZE -mkfs.ext3 -F -L arm $@ +mkfs.ext3 -F -L rootfs $@ #disable fsck checks based on mount count or time interval tune2fs -c 0 -i 0 $@ diff --git a/recipes/images/files/library/imx6/update.sh b/recipes/images/files/library/imx6/update.sh index 98dea58..2ff097e 100755 --- a/recipes/images/files/library/imx6/update.sh +++ b/recipes/images/files/library/imx6/update.sh @@ -202,7 +202,7 @@ BOOT_START=$(expr 4096 \* 2) # Rootfs partition [in sectors of 512] ROOTFS_START=$(expr 20480 \* 2) # Boot partition volume id -BOOTDD_VOLUME_ID="Boot" +BOOTDD_VOLUME_ID="boot" #make the partition size size(rootfs used + MIN_PARTITION_FREE_SIZE) #add about 4% to the rootfs to account for fs overhead. (/1024/985 instead of /1024/1024). diff --git a/recipes/images/files/library/tegra/update.sh b/recipes/images/files/library/tegra/update.sh index 614af1a..552f728 100755 --- a/recipes/images/files/library/tegra/update.sh +++ b/recipes/images/files/library/tegra/update.sh @@ -327,7 +327,7 @@ else # Rootfs partition [in sectors of 512] ROOTFS_START=$(expr 20480 \* 2) # Boot partition volume id - BOOTDD_VOLUME_ID="Boot" + BOOTDD_VOLUME_ID="boot" #make the partition size size(rootfs used + MIN_PARTITION_FREE_SIZE) #add about 4% to the rootfs to account for fs overhead. (/1024/985 instead of /1024/1024). -- cgit v1.2.3