diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bb_release | 22 | ||||
-rwxr-xr-x | scripts/randomtest | 7 |
2 files changed, 12 insertions, 17 deletions
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/'` | |||
15 | 15 | ||
16 | zcat busybox-$VERSION.tar.gz | bzip2 > busybox-$VERSION.tar.bz2 | 16 | zcat busybox-$VERSION.tar.gz | bzip2 > busybox-$VERSION.tar.bz2 |
17 | 17 | ||
18 | test -f busybox-$VERSION.tar.gz || { echo "no busybox-$VERSION.tar.gz"; exit 1; } | 18 | for releasefile in busybox-$VERSION.tar.gz busybox-$VERSION.tar.bz2; do |
19 | test -f busybox-$VERSION.tar.bz2 || { echo "no busybox-$VERSION.tar.bz2"; exit 1; } | 19 | test -f $releasefile || { echo "no $releasefile"; exit 1; } |
20 | 20 | gpg --detach-sign $releasefile | |
21 | signit() | 21 | sha256sum $releasefile > $releasefile.sha256 |
22 | { | 22 | done |
23 | echo "$1 released `date -r $1 -R` | ||
24 | |||
25 | MD5: `md5sum $1` | ||
26 | SHA1: `sha1sum $1` | ||
27 | |||
28 | To verify this signature, you can obtain my public key | ||
29 | from http://busybox.net/~vda/vda_pubkey.gpg | ||
30 | " | gpg --clearsign > "$1.sign" | ||
31 | } | ||
32 | |||
33 | signit busybox-$VERSION.tar.gz | ||
34 | signit busybox-$VERSION.tar.bz2 | ||
diff --git a/scripts/randomtest b/scripts/randomtest index 635978338..94709a99f 100755 --- a/scripts/randomtest +++ b/scripts/randomtest | |||
@@ -57,6 +57,8 @@ if test x"$LIBC" = x"glibc"; then | |||
57 | | grep -v CONFIG_FEATURE_2_4_MODULES \ | 57 | | grep -v CONFIG_FEATURE_2_4_MODULES \ |
58 | | grep -v CONFIG_FEATURE_USE_BSS_TAIL \ | 58 | | grep -v CONFIG_FEATURE_USE_BSS_TAIL \ |
59 | | grep -v CONFIG_DEBUG_SANITIZE \ | 59 | | grep -v CONFIG_DEBUG_SANITIZE \ |
60 | | grep -v CONFIG_FEATURE_MOUNT_NFS \ | ||
61 | | grep -v CONFIG_FEATURE_INETD_RPC \ | ||
60 | >.config.new | 62 | >.config.new |
61 | mv .config.new .config | 63 | mv .config.new .config |
62 | echo '# CONFIG_STATIC is not set' >>.config | 64 | echo '# CONFIG_STATIC is not set' >>.config |
@@ -66,6 +68,9 @@ if test x"$LIBC" = x"glibc"; then | |||
66 | echo '# CONFIG_FEATURE_2_4_MODULES is not set' >>.config | 68 | echo '# CONFIG_FEATURE_2_4_MODULES is not set' >>.config |
67 | echo '# CONFIG_FEATURE_USE_BSS_TAIL is not set' >>.config | 69 | echo '# CONFIG_FEATURE_USE_BSS_TAIL is not set' >>.config |
68 | echo '# CONFIG_DEBUG_SANITIZE is not set' >>.config | 70 | echo '# CONFIG_DEBUG_SANITIZE is not set' >>.config |
71 | # 2018: current glibc versions no longer include rpc/rpc.h | ||
72 | echo '# CONFIG_FEATURE_MOUNT_NFS is not set' >>.config | ||
73 | echo '# CONFIG_FEATURE_INETD_RPC is not set' >>.config | ||
69 | fi | 74 | fi |
70 | 75 | ||
71 | # If uclibc, build static, and remove some things | 76 | # If uclibc, build static, and remove some things |
@@ -86,6 +91,7 @@ if test x"$LIBC" = x"uclibc"; then | |||
86 | | grep -v CONFIG_UNSHARE \ | 91 | | grep -v CONFIG_UNSHARE \ |
87 | | grep -v CONFIG_FALLOCATE \ | 92 | | grep -v CONFIG_FALLOCATE \ |
88 | | grep -v CONFIG_UDHCPC6 \ | 93 | | grep -v CONFIG_UDHCPC6 \ |
94 | | grep -v CONFIG_NSLOOKUP \ | ||
89 | | grep -v CONFIG_ASH_INTERNAL_GLOB \ | 95 | | grep -v CONFIG_ASH_INTERNAL_GLOB \ |
90 | >.config.new | 96 | >.config.new |
91 | mv .config.new .config | 97 | mv .config.new .config |
@@ -103,6 +109,7 @@ if test x"$LIBC" = x"uclibc"; then | |||
103 | echo '# CONFIG_UNSHARE is not set' >>.config | 109 | echo '# CONFIG_UNSHARE is not set' >>.config |
104 | echo '# CONFIG_FALLOCATE is not set' >>.config | 110 | echo '# CONFIG_FALLOCATE is not set' >>.config |
105 | echo '# CONFIG_UDHCPC6 is not set' >>.config | 111 | echo '# CONFIG_UDHCPC6 is not set' >>.config |
112 | echo '# CONFIG_NSLOOKUP is not set' >>.config | ||
106 | echo 'CONFIG_ASH_INTERNAL_GLOB=y' >>.config | 113 | echo 'CONFIG_ASH_INTERNAL_GLOB=y' >>.config |
107 | fi | 114 | fi |
108 | 115 | ||