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
0
Merge Requests
0
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
125ad24e
You need to sign in or sign up before continuing.
Commit
125ad24e
authored
Apr 27, 2021
by
Mikhail Efremov
Committed by
Anton Midyukov
Apr 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: Add ability to build .img.xz
So we are can to build compressed img files.
parent
be353bc7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
90-build-vm.mk
features.in/build-vm/lib/90-build-vm.mk
+3
-0
config.mk
features.in/pack/config.mk
+1
-1
No files found.
features.in/build-vm/lib/90-build-vm.mk
View file @
125ad24e
...
@@ -68,6 +68,9 @@ convert-image/tar.xz:
...
@@ -68,6 +68,9 @@ convert-image/tar.xz:
convert-image/img: tar2fs
convert-image/img: tar2fs
mv "$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"
mv "$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"
convert-image/img.xz: tar2fs
$(VM_XZ_COMMAND) < "$(VM_RAWDISK)" > "$(IMAGE_OUTPATH)"
convert-image/qcow2 convert-image/qcow2c convert-image/vmdk \
convert-image/qcow2 convert-image/qcow2c convert-image/vmdk \
convert-image/vdi convert-image/vhd: check-qemu tar2fs
convert-image/vdi convert-image/vhd: check-qemu tar2fs
@VM_COMPRESS=; \
@VM_COMPRESS=; \
...
...
features.in/pack/config.mk
View file @
125ad24e
...
@@ -41,7 +41,7 @@ $(foreach c,$(VE_ARCHIVES), \
...
@@ -41,7 +41,7 @@ $(foreach c,$(VE_ARCHIVES), \
endif
endif
# extensions for buld-vm
# extensions for buld-vm
VM_EXTS := .tar .tar.gz .tar.xz .img .qcow2 .qcow2c .vdi .vmdk .vhd
VM_EXTS := .tar .tar.gz .tar.xz .img .
img.xz .
qcow2 .qcow2c .vdi .vmdk .vhd
VM_TAVOLGA_EXTS := .recovery.tar
VM_TAVOLGA_EXTS := .recovery.tar
ifeq (vm,$(IMAGE_CLASS))
ifeq (vm,$(IMAGE_CLASS))
...
...
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