~ubuntu-branches/ubuntu/hardy/linux-backports-modules-2.6.24/hardy-security

« back to all changes in this revision

Viewing changes to updates/wireless/iwlwifi/mac80211/scripts/make_change_log

  • Committer: Bazaar Package Importer
  • Author(s): , Ben Collins
  • Date: 2008-04-02 06:59:04 UTC
  • Revision ID: james.westby@ubuntu.com-20080402065904-e5knh2gn2hms3xbb
Tags: 2.6.24-14.11
[Ben Collins]

* iwlwifi: Update to iwlwifi-1.2.25 and mac80211-10.0.4
  - LP: #200950
* ubuntu: Slight cleanups to module hiearchy and Makefiles
* mac80211: Enable LED triggers
* iwlwifi: Add LED trigger support (rx and tx only)
  - LP: #176090

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env /bin/bash
 
2
prog=$0
 
3
[ "${prog/*make_change_log/make_change_log}" = "make_change_log" ] || {
 
4
    echo "This script must not be sourced."
 
5
    return 1
 
6
}  || return 1
 
7
 
 
8
function die()
 
9
{
 
10
        ret=$1
 
11
        shift
 
12
        echo $@ >&2
 
13
        exit $ret
 
14
}
 
15
 
 
16
(( $# == 1 )) && {
 
17
        version="$1"
 
18
        shift
 
19
} || {
 
20
        version="..."
 
21
}
 
22
 
 
23
(( $# == 1 )) && {
 
24
        tag="$1"
 
25
        shift
 
26
} || {
 
27
        tag=$(git-tag -l | tail -n 1)
 
28
}
 
29
 
 
30
echo "Building change log since: $tag..."
 
31
 
 
32
echo -e "Changes in $version\n" > .tmp_CHANGES
 
33
git-log --pretty=oneline "$tag".. | 
 
34
        sed -e 's,[^[:space:]]*\([[:space:]].*\),*\1,g' >> .tmp_CHANGES
 
35
echo "" >> .tmp_CHANGES
 
36
cat CHANGES >> .tmp_CHANGES
 
37
 
 
38
mv .tmp_CHANGES CHANGES
 
39
 
 
40
cat << EOF
 
41
 
 
42
Done.  Run 'cg-diff' to verify CHANGES have been updated correctly.
 
43
 
 
44
NOTE:  You need to manually set the version number in the lead 
 
45
line of the CHANGES file.
 
46
EOF