Contents of /trunk/mkinitrd-magellan/busybox/scripts/bb_release
Parent Directory | Revision Log
Revision 816 -
(show annotations)
(download)
Fri Apr 24 18:33:46 2009 UTC (15 years, 5 months ago) by niro
File size: 1041 byte(s)
Fri Apr 24 18:33:46 2009 UTC (15 years, 5 months ago) by niro
File size: 1041 byte(s)
-updated to busybox-1.13.4
1 | #!/bin/sh |
2 | |
3 | # Create signed release tarballs and signature files from current svn. |
4 | # Since you don't have my gpg key, this doesn't do you much good, |
5 | # but if I get hit by a bus the next maintainer might find this useful. |
6 | # Run this in an empty directory. The VERSION= line can get confused |
7 | # otherwise. |
8 | |
9 | #svn co svn://busybox.net/trunk/busybox |
10 | cd busybox || { echo "cd busybox failed"; exit 1; } |
11 | make release || { echo "make release failed"; exit 1; } |
12 | cd .. |
13 | |
14 | VERSION=`ls busybox-*.tar.gz | sed 's/busybox-\(.*\)\.tar\.gz/\1/'` |
15 | |
16 | zcat busybox-$VERSION.tar.gz | bzip2 > busybox-$VERSION.tar.bz2 |
17 | |
18 | test -f busybox-$VERSION.tar.gz || { echo "no busybox-$VERSION.tar.gz"; exit 1; } |
19 | test -f busybox-$VERSION.tar.bz2 || { echo "no busybox-$VERSION.tar.bz2"; exit 1; } |
20 | |
21 | signit() |
22 | { |
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 |