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
1fb9d23c
Commit
1fb9d23c
authored
Aug 26, 2015
by
Christopher Spinrath
Browse files
image_skel_file: reworked version without blob (no grub yet)
parent
14da00d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
1fb9d23c
...
...
@@ -375,9 +375,15 @@ image_content: image_git_pull $(IMAGE_DIR)/.remastered $(IMAGE_DIR)/grub/lipinfo
@
echo
"Image content is ready:
$(IMAGE_DIR)
"
image_skel_file
:
| $(WORKSPACE)
xz
-d
--keep
--stdout
"
$(CURDIR)
/contrib/image/multiboot.skel.img.xz"
>
"
$(
if
$(IMAGE_FILE)
,
$(IMAGE_FILE)
,
$(WORKSPACE)
/image.img
)
"
truncate
-s
"
$(IMAGE_PART_SIZE)
"
"
$(IMAGE_FILE)
"
.part
mkfs.vfat
-n
"
$(IMAGE_PART_LABEL)
"
"
$(IMAGE_FILE)
"
.part
ddrescue
--output-position
=
2048
--sparse
"
$(IMAGE_FILE)
"
.part
"
$(IMAGE_FILE)
"
#sfdisk: start, as large as possible, FAT, bootable
echo
-e
"label: dos
\n
unit: sectors
\n
2048,+,b,*"
\
| sfdisk
"
$(IMAGE_FILE)
"
@echo
@
echo
"Image skeleton is ready:
$(
if
$(IMAGE_FILE)
,
$(IMAGE_FILE)
,
$(WORKSPACE)
/image.img
)
"
@echo "Image skeleton is ready
:
$(IMAGE_FILE)"
@
echo
"You may want to mount appropriately (e.g. with kpartx) to
$(IMAGE_DIR)
and execute
\"
make image
\"
"
image_grub_lipinfo
:
$(IMAGE_DIR)/grub/lipinfo.cfg
...
...
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