Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/announce
blob: 022894e317589017964f8985e7f0e6d96d174443 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
set -e

recipients=martin@martindengler.com

builddir=$1
buildnamefile=$2
buildname=$(<$buildnamefile)
announcefile=$builddir/$buildname.announcement.txt

nandsize=$(<$builddir/$buildname.img.size.txt)
nandsizechange=$(<$builddir/$buildname.img.size-change.txt)

treesize=$(<$builddir/$buildname.tree.size.txt)
treesizechange=$(<$builddir/$buildname.tree.size-change.txt)

cat > $announcefile <<EOF

A new SoaS-on-XO-1 build $buildname is available.

NAND size / change in size: $nandsizechange
ext3 size / change in size: $treesizechange

Package changes:

$(<$builddir/$buildname.tree.package-changes.txt)

Download from http://people.sugarlabs.org/~mtd/soas-xo1

$(<BUGS.txt)

Installation instructions: http://people.sugarlabs.org/~mtd/soas-xo1/README.txt

Files:

$buildname.iso - iso9990 file system (for use with livecd-iso-to-disk)
$buildname.tree.tar.lzma - for hacking

$buildname.img - for ...
$buildname.crc - ... copy-nand'ing
$buildname.plc - ... NANDblast'ing

$buildname.removable.img.tar.lzma - for:
 cat $buildname.removable.tar.lzma | lzma -dc - | tar xf - -O > /dev/sdX

Build date: $(date)

EOF

mail -s "New SoaS-on-XO-1 build done: $buildname" $recipients < $announcefile