~j-harbott/cirros/dev

« back to all changes in this revision

Viewing changes to bin/build-release

  • Committer: Scott Moser
  • Date: 2015-05-12 20:50:12 UTC
  • mfrom: (326.1.14 trunk-2015.02)
  • Revision ID: smoser@ubuntu.com-20150512205012-4on0tca12owpfq9n
open 0.4.0

move to buildroot 2015.05 and 3.13 kernels from Ubuntu 14.04.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
VER=$1
6
6
pre=cirros-$VER
7
 
BR_VER="2012.05"
 
7
BR_VER="2015.05-rc1"
8
8
ARCHES="${ARCHES:-i386 x86_64 arm powerpc}"
9
 
KVER="3.2.0-80.116";
 
9
KVER="3.13.0-52.86";
 
10
ME=$(readlink -f "$0")
 
11
MY_D=${ME%/*}
 
12
PATH=${MY_D}:$PATH
10
13
 
11
14
dl() {
12
15
   local url="$1" target="$2" tfile="" t=""
61
64
echo "$(date): end br-source" >> "$out/date.txt";
62
65
 
63
66
echo "$(date): start kernel download" >> "$out/date.txt";
64
 
burl="https://launchpad.net/ubuntu/+archive/primary/+files/linux-image"
65
 
for arch in ${ARCHES}; do
66
 
     xarch=$arch; flav="virtual"
67
 
     [ "$arch" = "x86_64" ] && xarch="amd64";
68
 
     [ "$arch" = "arm" ] && xarch="armel" && flav="omap"
69
 
     [ "$arch" = "powerpc" ] && flav="powerpc64-smp"
70
 
     url="$burl-${KVER%.*}-${flav}_${KVER}_${xarch}.deb"
71
 
     tfile="download/${url##*/}"
72
 
     dl "$url" "$tfile"
73
 
     ln -sf "${tfile##*/}" download/kernel-${arch}.deb
74
 
done
 
67
grab-kernels "$KVER" ${ARCHES}
75
68
echo "$(date): end kernel download" >> "$out/date.txt";
76
69
 
77
70
for arch in ${ARCHES}; do