Skip to content

Commit

Permalink
bb.org: buildbot: craete bmap image
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson committed Jun 19, 2015
1 parent 23c2c49 commit 482c724
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions publish/bb.org_4gb_stable.sh
Expand Up @@ -46,10 +46,13 @@ if [ -d ./deploy/${image_name} ] ; then

keep_net_alive & KEEP_NET_ALIVE_PID=$!

bmaptool create -o bone-${image_name}-${size}.bmap bone-${image_name}-${size}.img

xz -z -3 -v -v --verbose bone-${image_name}-${size}.img

#upload:
ssh ${ssh_user} mkdir -p ${server_dir}
rsync -e ssh -av ./bone-${image_name}-${size}.bmap ${ssh_user}:${server_dir}/
rsync -e ssh -av ./bone-${image_name}-${size}.img.xz ${ssh_user}:${server_dir}/

[ -e /proc/$KEEP_NET_ALIVE_PID ] && sudo kill $KEEP_NET_ALIVE_PID
Expand Down

0 comments on commit 482c724

Please sign in to comment.