From 6fb8bd795c3f40735ced3f51b8082f91956fd786 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 5 Jun 2018 12:48:53 -0400 Subject: Update release script to generate detached signatures and checksum files This is more usable for programmatically checking the validity of a release. Signed-off-by: Eli Schwartz Signed-off-by: Denys Vlasenko --- scripts/bb_release | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'scripts') diff --git a/scripts/bb_release b/scripts/bb_release index 8aa380438..2e146bf84 100755 --- a/scripts/bb_release +++ b/scripts/bb_release @@ -15,20 +15,8 @@ VERSION=`ls busybox-*.tar.gz | sed 's/busybox-\(.*\)\.tar\.gz/\1/'` zcat busybox-$VERSION.tar.gz | bzip2 > busybox-$VERSION.tar.bz2 -test -f busybox-$VERSION.tar.gz || { echo "no busybox-$VERSION.tar.gz"; exit 1; } -test -f busybox-$VERSION.tar.bz2 || { echo "no busybox-$VERSION.tar.bz2"; exit 1; } - -signit() -{ -echo "$1 released `date -r $1 -R` - -MD5: `md5sum $1` -SHA1: `sha1sum $1` - -To verify this signature, you can obtain my public key -from http://busybox.net/~vda/vda_pubkey.gpg -" | gpg --clearsign > "$1.sign" -} - -signit busybox-$VERSION.tar.gz -signit 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 +done -- cgit v1.2.3-55-g6feb From 5f5119be971825e359f8dd3456f99f07546eca7f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 26 Jun 2018 16:01:05 +0200 Subject: scripts/randomtest: disable CONFIG_FEATURE_MOUNT_NFS for glibc Signed-off-by: Denys Vlasenko --- scripts/randomtest | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/randomtest b/scripts/randomtest index 635978338..19f663479 100755 --- a/scripts/randomtest +++ b/scripts/randomtest @@ -57,6 +57,7 @@ if test x"$LIBC" = x"glibc"; then | grep -v CONFIG_FEATURE_2_4_MODULES \ | grep -v CONFIG_FEATURE_USE_BSS_TAIL \ | grep -v CONFIG_DEBUG_SANITIZE \ + | grep -v CONFIG_FEATURE_MOUNT_NFS \ >.config.new mv .config.new .config echo '# CONFIG_STATIC is not set' >>.config @@ -66,6 +67,8 @@ if test x"$LIBC" = x"glibc"; then echo '# CONFIG_FEATURE_2_4_MODULES is not set' >>.config echo '# CONFIG_FEATURE_USE_BSS_TAIL is not set' >>.config echo '# CONFIG_DEBUG_SANITIZE is not set' >>.config + # 2018: current glibc versions no longer include rpc/rpc.h + echo '# CONFIG_FEATURE_MOUNT_NFS is not set' >>.config fi # If uclibc, build static, and remove some things -- cgit v1.2.3-55-g6feb From 185326613d2a7535aac4ea112f060d86096ac0ee Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 26 Jun 2018 16:08:22 +0200 Subject: scripts/randomtest: disable CONFIG_FEATURE_INETD_RPC for glibc Signed-off-by: Denys Vlasenko --- scripts/randomtest | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/randomtest b/scripts/randomtest index 19f663479..3434531b1 100755 --- a/scripts/randomtest +++ b/scripts/randomtest @@ -58,6 +58,7 @@ if test x"$LIBC" = x"glibc"; then | grep -v CONFIG_FEATURE_USE_BSS_TAIL \ | grep -v CONFIG_DEBUG_SANITIZE \ | grep -v CONFIG_FEATURE_MOUNT_NFS \ + | grep -v CONFIG_FEATURE_INETD_RPC \ >.config.new mv .config.new .config echo '# CONFIG_STATIC is not set' >>.config @@ -69,6 +70,7 @@ if test x"$LIBC" = x"glibc"; then echo '# CONFIG_DEBUG_SANITIZE is not set' >>.config # 2018: current glibc versions no longer include rpc/rpc.h echo '# CONFIG_FEATURE_MOUNT_NFS is not set' >>.config + echo '# CONFIG_FEATURE_INETD_RPC is not set' >>.config fi # If uclibc, build static, and remove some things -- cgit v1.2.3-55-g6feb From 762440b20e3b75ab30ddca55cfdc657397bb38dc Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 26 Jun 2018 17:22:35 +0200 Subject: scripts/randomtest: disable CONFIG_NSLOOKUP for uclibc Signed-off-by: Denys Vlasenko --- scripts/randomtest | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/randomtest b/scripts/randomtest index 3434531b1..94709a99f 100755 --- a/scripts/randomtest +++ b/scripts/randomtest @@ -91,6 +91,7 @@ if test x"$LIBC" = x"uclibc"; then | grep -v CONFIG_UNSHARE \ | grep -v CONFIG_FALLOCATE \ | grep -v CONFIG_UDHCPC6 \ + | grep -v CONFIG_NSLOOKUP \ | grep -v CONFIG_ASH_INTERNAL_GLOB \ >.config.new mv .config.new .config @@ -108,6 +109,7 @@ if test x"$LIBC" = x"uclibc"; then echo '# CONFIG_UNSHARE is not set' >>.config echo '# CONFIG_FALLOCATE is not set' >>.config echo '# CONFIG_UDHCPC6 is not set' >>.config + echo '# CONFIG_NSLOOKUP is not set' >>.config echo 'CONFIG_ASH_INTERNAL_GLOB=y' >>.config fi -- cgit v1.2.3-55-g6feb