diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2015-05-07 12:43:36 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2015-05-12 10:06:23 +0200 |
commit | 336ba7bbc7c94e53a6426afce00a9e4deef09280 (patch) | |
tree | a695017212ecf590e1f9a03dc1fada298f2341f7 | |
parent | 3d0095dea33a21e5651fd469b0ba14b94e30d756 (diff) |
image partitions: use the volume names boot and rootfs
Was Boot and arm
-rwxr-xr-x | recipes/images/files/library/genext3fs.sh | 2 | ||||
-rwxr-xr-x | recipes/images/files/library/imx6/update.sh | 2 | ||||
-rwxr-xr-x | 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). |