Commit b94edc07 authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

image_assemble: fix unit of partition offset (bytes->sectors)

parent b87386e6
......@@ -401,7 +401,7 @@ $(GRUB_ASSEMBLE_DIR)/grub.i386-pc : | $(WORKSPACE)
image_assemble: $(IMAGE_FILE)
$(IMAGE_FILE): $(IMAGE_PART_FILE)
ddrescue --output-position=2048 --sparse "$(IMAGE_PART_FILE)" "$@"
ddrescue --output-position=2048s --sparse "$(IMAGE_PART_FILE)" "$@"
#sfdisk: start, as large as possible, FAT, bootable
echo -e "label: dos\nunit: sectors\n2048,+,b,*"\
| sfdisk "$@"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment