Skip to content

Commit

Permalink
Updates to build new wheezy & jessie images.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johny Mattsson committed Jun 28, 2014
1 parent 5dcf5ec commit a7c993c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
root@raspbian:~# reboot
Broadcast message from root@energymon (pts/0) (Sun Aug 25 05:09:46 2013):
Broadcast message from root@raspbian (pts/0) (Sun Aug 25 05:09:46 2013):
The system is going down for reboot NOW!
Expand Down
8 changes: 6 additions & 2 deletions build_rpi_sd_card.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#
# by Klaus M Pfeiffer, http://blog.kmp.or.at/ , 2012-06-24
#
# 2014-06-28 J.Mattsson - added early exit on error
# - added --no-check-gpg to debootstrap
# - made release name (wheezy) a mere default
# 2013-08-25 J.Mattsson - trimmed down further and changed to raspbian armhf
#

Expand Down Expand Up @@ -38,7 +41,7 @@ deb_mirror="http://mirror.internode.on.net/pub/raspbian/raspbian/"
#deb_local_mirror="http://debian.kmp.or.at:3142/debian"

bootsize="64M"
deb_release="wheezy"
: ${deb_release:="wheezy"}

device=$1
buildenv="/root/rpi"
Expand Down Expand Up @@ -91,6 +94,7 @@ p
w
EOF

set -e

if [ "$image" != "" ]; then
losetup -d $device
Expand Down Expand Up @@ -121,7 +125,7 @@ mount $rootp $rootfs

cd $rootfs

debootstrap --foreign --arch armhf $deb_release $rootfs $deb_local_mirror
debootstrap --no-check-gpg --foreign --arch armhf $deb_release $rootfs $deb_local_mirror
cp /usr/bin/qemu-arm-static usr/bin/
LANG=C chroot $rootfs /debootstrap/debootstrap --second-stage

Expand Down

0 comments on commit a7c993c

Please sign in to comment.