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
|
||||
------------------
|
||||
|
||||
Images are using bzip2(1) for distribution. This can be invoked
|
||||
manually using:
|
||||
Images are compressed using bzip2(1) for distribution. This can
|
||||
be invoked manually using:
|
||||
|
||||
# make compress-<image1>[,<image2>]
|
||||
|
||||
|
|
|
@ -34,10 +34,10 @@ SELF=compress
|
|||
for ARG in ${@}; do
|
||||
case ${ARG} in
|
||||
arm|dvd|nano|serial|vga|vm)
|
||||
for FILE in $(find ${IMAGESDIR} -name \
|
||||
for IMAGE in $(find ${IMAGESDIR} -name \
|
||||
"*-${PRODUCT_FLAVOUR}-${ARG}-*" \! -name "*.bz2"); do
|
||||
echo -n ">>> Compressing ${ARG} image... "
|
||||
bzip2 ${FILE}
|
||||
bzip2 ${IMAGE}
|
||||
echo "done"
|
||||
done
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue