Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
366f6a6b
Commit
366f6a6b
authored
May 20, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build-vm, image.in: Fix parameter VM_SAVE_TAR -> VM_SAVE_TARBALL
The code is given in accordance with the documentation See-also: commit
2987fa8f
parent
efec47fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
90-build-vm.mk
features.in/build-vm/lib/90-build-vm.mk
+3
-4
Makefile
image.in/Makefile
+2
-2
No files found.
features.in/build-vm/lib/90-build-vm.mk
View file @
366f6a6b
...
...
@@ -30,11 +30,10 @@ VM_XZ_COMMAND ?= xz -T0
RECOVERY_LINE ?= Press ENTER to start
# tarball save
#SAVE_TARBALL := convert-image/tar
ifdef VM_SAVE_TAR
ifdef VM_SAVE_TARBALL
ifeq (,$(filter-out img img.xz qcow2 qcow2c vdi vmdk vhd,$(IMAGE_TYPE)))
ifeq (,$(filter-out tar tar.gz tar.xz,$(VM_SAVE_TAR)))
SAVE_TARBALL := convert-image/$(VM_SAVE_TAR)
ifeq (,$(filter-out tar tar.gz tar.xz,$(VM_SAVE_TAR
BALL
)))
SAVE_TARBALL := convert-image/$(VM_SAVE_TAR
BALL
)
endif
endif
endif
...
...
image.in/Makefile
View file @
366f6a6b
...
...
@@ -95,8 +95,8 @@ postprocess: | $(addprefix postprocess-,$(sort $(POSTPROCESS_TARGETS)))
echo
"** error:
$(IMAGE_OUTPATH)
missing"
>
&2
;
\
exit
1
;
\
fi
;
\
if
[
-n
"
$(VM_SAVE_TAR)
"
]
;
then
\
echo
"** tarball saved:
$(IMAGE_OUTPATH)
/
$(IMAGE_OUTNAME)
.
$(VM_SAVE_TAR)
"
>
&2
;
\
if
[
-n
"
$(VM_SAVE_TAR
BALL
)
"
]
;
then
\
echo
"** tarball saved:
$(IMAGE_OUTPATH)
/
$(IMAGE_OUTNAME)
.
$(VM_SAVE_TAR
BALL
)
"
>
&2
;
\
fi
;
\
echo
"** image:
$(IMAGE_OUTPATH)
[
$$
OUTSIZE]"
>
&2
&&
\
echo
"IMAGE_OUTPATH =
$(IMAGE_OUTPATH)
"
&&
\
...
...
Write
Preview
Markdown
is supported
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