ah-ha...bingo...I pulled down the most recent linaro-media-create tool
and am finally able to re-create this bug.

The diff between the linaro-media-create tool I was using and the one I
just pulled down is....

--- orig_linaro-media-create    2010-09-13 15:35:37.000000000 -0500
+++ new_orig_linaro-media-create        2010-09-14 11:10:50.000000000 -0500
@@ -57,11 +57,11 @@
 if [ ! ${IMAGE_FILE} ]; then
   for device in /dev/disk/by-id/*; do
     if [ `realpath $device` = $MMC ]; then
-      if echo $device | grep -q -- "-part[0-9]*$"; then
+      if echo "$device" | grep -q -- "-part[0-9]*$"; then
         echo "device $MMC must not be a partition part ($device)" 1>&2
         exit 1
       fi
-      for part_id in `ls $device-part*`; do
+      for part_id in `ls "$device-part"*`; do
         part=`realpath $part_id`
         part_no=`echo $part_id | sed -e 's/.*-part//g'`
         # echo "part $part_no found: $part_id" 1>&2
@@ -198,10 +198,10 @@
  sudo mount ${MMC1} ${DIR}/disk
  case "$DEVIMAGE" in
    beagle|igep)
-     if [ "$DEVIMAGE" == "beagle" ]; then
-          if test -e binary/${parts_dir}/${MLO_FILE} -a -e 
binary/${parts_dir}/${UBOOT_FILE}; then
-            sudo cp -v binary/${parts_dir}/${MLO_FILE} ${DIR}/disk/MLO
-            sudo cp -v binary/${parts_dir}/${UBOOT_FILE} ${DIR}/disk/u-boot.bin
+     if [ "$DEVIMAGE" = "beagle" ]; then
+          if [ -e binary/${parts_dir}/${MLO_FILE} ] && [ -e 
binary/${parts_dir}/${UBOOT_FILE} ]; then
+              sudo cp -v binary/${parts_dir}/${MLO_FILE}   ${DIR}/disk/MLO
+              sudo cp -v binary/${parts_dir}/${UBOOT_FILE} 
${DIR}/disk/u-boot.bin
           fi
      fi
      sync

-- 
20100912-0 build does not boot on beagle xm
https://bugs.launchpad.net/bugs/636895
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to