build/compress: one more tweak
This commit is contained in:
parent
7d09af0559
commit
8f1ba252e4
|
@ -377,8 +377,8 @@ they can be printed selectively using:
|
||||||
Compressing images
|
Compressing images
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
Images are using bzip2(1) for distribution. This can be invoked
|
Images are compressed using bzip2(1) for distribution. This can
|
||||||
manually using:
|
be invoked manually using:
|
||||||
|
|
||||||
# make compress-<image1>[,<image2>]
|
# make compress-<image1>[,<image2>]
|
||||||
|
|
||||||
|
|
|
@ -34,10 +34,10 @@ SELF=compress
|
||||||
for ARG in ${@}; do
|
for ARG in ${@}; do
|
||||||
case ${ARG} in
|
case ${ARG} in
|
||||||
arm|dvd|nano|serial|vga|vm)
|
arm|dvd|nano|serial|vga|vm)
|
||||||
for FILE in $(find ${IMAGESDIR} -name \
|
for IMAGE in $(find ${IMAGESDIR} -name \
|
||||||
"*-${PRODUCT_FLAVOUR}-${ARG}-*" \! -name "*.bz2"); do
|
"*-${PRODUCT_FLAVOUR}-${ARG}-*" \! -name "*.bz2"); do
|
||||||
echo -n ">>> Compressing ${ARG} image... "
|
echo -n ">>> Compressing ${ARG} image... "
|
||||||
bzip2 ${FILE}
|
bzip2 ${IMAGE}
|
||||||
echo "done"
|
echo "done"
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue