build/compress: one more tweak

This commit is contained in:
Franco Fichtner 2018-06-28 18:33:04 +02:00
parent 7d09af0559
commit 8f1ba252e4
2 changed files with 4 additions and 4 deletions

View File

@ -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>]

View File

@ -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
;; ;;