Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
lipck
Commits
b94edc07
Commit
b94edc07
authored
Aug 28, 2015
by
Christopher Spinrath
Browse files
image_assemble: fix unit of partition offset (bytes->sectors)
parent
b87386e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
b94edc07
...
...
@@ -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
=
2048
s
--sparse
"
$(IMAGE_PART_FILE)
"
"
$@
"
#sfdisk: start, as large as possible, FAT, bootable
echo
-e
"label: dos
\n
unit: sectors
\n
2048,+,b,*"
\
| sfdisk
"
$@
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment