mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
add compression to rip-image script
This commit is contained in:
committed by
Aiden McClelland
parent
c49fe9744e
commit
8bc1ef415f
@@ -96,3 +96,10 @@ echo "Verification Succeeded"
|
|||||||
|
|
||||||
sudo e2label update.img red
|
sudo e2label update.img red
|
||||||
echo "Image Relabeled to \"red\""
|
echo "Image Relabeled to \"red\""
|
||||||
|
|
||||||
|
echo "Compressing..."
|
||||||
|
if which pv > /dev/null; then
|
||||||
|
cat update.img | pv -s $FS_SIZE | gzip > update.img.gz
|
||||||
|
else
|
||||||
|
cat update.img | gzip > update.img.gz
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user