@@ -556,8 +556,8 ROOT_OFFSET=$(expr ${TABLE_SECTORS} + ${FRMW_SECTORS}) | |||
|
556 | 556 | |
|
557 | 557 | # The root partition is EXT4 |
|
558 | 558 | # This means more space than the actual used space of the chroot is used. |
|
559 |
# As overhead for journaling and reserved blocks |
|
|
560 |
ROOT_SECTORS=$(expr $(expr ${CHROOT_SIZE} + ${CHROOT_SIZE} \/ 100 \* |
|
|
559 | # As overhead for journaling and reserved blocks 35% are added. | |
|
560 | ROOT_SECTORS=$(expr $(expr ${CHROOT_SIZE} + ${CHROOT_SIZE} \/ 100 \* 35) \* 1024 \/ 512) | |
|
561 | 561 | |
|
562 | 562 | # Calculate required image size in 512 Byte sectors |
|
563 | 563 | IMAGE_SECTORS=$(expr ${TABLE_SECTORS} + ${FRMW_SECTORS} + ${ROOT_SECTORS}) |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant