build system: detect if build host has no bzip2

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko committed 2022-01-04 14:32:41 +01:00
1 parent c3cfcc9242
commit ed2af2e82d
3 files changed
+20 -3

No files matched your search

+3 -3
View File
@@ -17,7 +17,7 @@ VERSION=`ls busybox-*.tar.gz | sed 's/busybox-\(.*\)\.tar\.gz/\1/'`
zcat busybox-$VERSION.tar.gz | bzip2 > busybox-$VERSION.tar.bz2
for releasefile in busybox-$VERSION.tar.gz busybox-$VERSION.tar.bz2; do
test -f $releasefile || { echo "no $releasefile"; exit 1; }
gpg --detach-sign $releasefile
sha256sum $releasefile > $releasefile.sha256
test -f $releasefile || { echo "no $releasefile"; exit 1; }
gpg --detach-sign $releasefile
sha256sum $releasefile > $releasefile.sha256
done