Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
x86:x86-common
>
installer-shell
> fix-error-partition-boundary.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File fix-error-partition-boundary.patch of Package installer-shell
diff -Naur a/installer-shell b/installer-shell --- a/installer-shell 2011-07-14 09:03:25.530332129 +0800 +++ b/installer-shell 2011-07-14 09:08:56.294183644 +0800 @@ -583,7 +583,7 @@ SWAP_SIZE_CYLINDERS=$(($SWAP_SIZE*1024*1024/$CYLINDER_SIZE)) if [ $IMAGE_TYPE = "liveimg" ]; then if [ -z "$SWAP_NR" ]; then - ROOT_SIZE_CYLINDERS=$(($HOLE_END-$HOLE_START-$BOOT_SIZE_CYLINDERS-$SWAP_SIZE_CYLINDERS-1)) + ROOT_SIZE_CYLINDERS=$(($EXTENDED_END-$EXTENDED_START-$BOOT_SIZE_CYLINDERS-$SWAP_SIZE_CYLINDERS-1)) do_fdisk "free space, liveimg, new swap" "n\nl\n\n+$BOOT_SIZE_CYLINDERS\nn\nl\n\n+$ROOT_SIZE_CYLINDERS\nn\nl\n\n\nw\n" sfdisk_loop "free space, liveimg, new swap" "" "-c $(($LOGICAL_BOOT+2)) 82" else @@ -592,7 +592,7 @@ fi elif [ $IMAGE_TYPE = "nandfs" ]; then if [ -z "$SWAP_NR" ]; then - ROOT_SIZE_CYLINDERS=$(($HOLE_END-$HOLE_START-$SWAP_SIZE_CYLINDERS-1)) + ROOT_SIZE_CYLINDERS=$(($EXTENDED_END-$EXTENDED_START-$SWAP_SIZE_CYLINDERS-1)) do_fdisk "free space, nandfs, new swap" "n\nl\n\n+$ROOT_SIZE_CYLINDERS\nn\nl\n\n\nw\n" sfdisk_loop "free space, nandfs, new swap" "" "-c $(($LOGICAL_BOOT+1)) 82" else