git.annexia.org
/
supernested.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compress the qcow2 file.
[supernested.git]
/
build-supernested.sh.in
diff --git
a/build-supernested.sh.in
b/build-supernested.sh.in
index
e3c2b10
..
e5e2a49
100644
(file)
--- a/
build-supernested.sh.in
+++ b/
build-supernested.sh.in
@@
-40,7
+40,7
@@
if [[ "$distro" =~ ^fedora- ]]; then
grep
qemu
qemu-kvm-rhev
grep
qemu
qemu-kvm-rhev
- systemd
+ systemd
-udev
util-linux
"
elif [[ "$distro" =~ ^debian- ]]; then
util-linux
"
elif [[ "$distro" =~ ^debian- ]]; then
@@
-88,6
+88,6
@@
EOF
# Copy out the kernel, initrd and disk image.
mv tmp-appliance.d/kernel .
mv tmp-appliance.d/initrd .
# Copy out the kernel, initrd and disk image.
mv tmp-appliance.d/kernel .
mv tmp-appliance.d/initrd .
-qemu-img convert -f raw tmp-appliance.d/root -O qcow2 "$output"
+qemu-img convert -f raw tmp-appliance.d/root -O qcow2
-c
"$output"
#rm -rf tmp-supermin.d tmp-appliance.d
#rm -rf tmp-supermin.d tmp-appliance.d