[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5817] EXTRAS fix and some cleanup
From: |
Paul Cox |
Subject: |
[paparazzi-commits] [5817] EXTRAS fix and some cleanup |
Date: |
Tue, 07 Sep 2010 10:04:36 +0000 |
Revision: 5817
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5817
Author: paulcox
Date: 2010-09-07 10:04:35 +0000 (Tue, 07 Sep 2010)
Log Message:
-----------
EXTRAS fix and some cleanup
Modified Paths:
--------------
paparazzi3/trunk/sw/tools/overo_sd_maker/overo_sd_maker.sh
Modified: paparazzi3/trunk/sw/tools/overo_sd_maker/overo_sd_maker.sh
===================================================================
--- paparazzi3/trunk/sw/tools/overo_sd_maker/overo_sd_maker.sh 2010-09-07
10:00:50 UTC (rev 5816)
+++ paparazzi3/trunk/sw/tools/overo_sd_maker/overo_sd_maker.sh 2010-09-07
10:04:35 UTC (rev 5817)
@@ -1,4 +1,7 @@
-#!/bin/bash
+#! /bin/sh
+# (c) 2009 Graeme Gregory
+# modified by Steve Sakoman and Paul Cox
+# This script is GPLv3 licensed!
echo "SD card creator for OMAP"
if [ "$(id -u)" != "0" ]; then
@@ -8,11 +11,11 @@
echo "DANGEROUS: proceed carefully"
-if [ "$2" = "extra" ] && [ -e extras.bz2 ];then
- EXTRA=1
+if [ "$2" = "extras" ] && [ -e extras.bz2 ];then
+ EXTRAS=1
echo "I will copy extras to rootfs."
else
- EXTRA=0
+ EXTRAS=0
fi
if [ -z $1 ];then
@@ -64,7 +67,10 @@
umount $DRIVE2
echo "formatting Linux partition..."
mke2fs -j -L rootfs $DRIVE2
-# wget http://paparazzi.enac.fr/overo/latest/rootfs.bz2
http://paparazzi.enac.fr/overo/latest/uImage.bin
+
+ echo "Fetching files..."
+ wget http://paparazzi.enac.fr/overo/latest/rootfs.bz2
http://paparazzi.enac.fr/overo/latest/uImage.bin
+
echo -n "Writing files to FAT partition..."
mount $DRIVE1 /mnt
if [ $? -ne 0 ]; then
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5817] EXTRAS fix and some cleanup,
Paul Cox <=