From e0596d1038fd290dab4145e46f2e6bf13fe43a8c Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 1 Sep 2010 17:21:32 -0500 Subject: [PATCH] use mv vs cp, less likely to run out of space on the mmc partition --- scripts/lucid-tweaks.diff | 4 ++-- scripts/maverick-tweaks.diff | 4 ++-- scripts/squeeze-tweaks.diff | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/lucid-tweaks.diff b/scripts/lucid-tweaks.diff index ec10ff9..e1392df 100644 --- a/scripts/lucid-tweaks.diff +++ b/scripts/lucid-tweaks.diff @@ -32,8 +32,8 @@ index 61bc6ae..fea0a1b 100644 + mount /dev/mmcblk0p1 /tmp/mmc + cp /tmp/mmc/boot.scr /tmp/mmc/netinstall.scr + cp /tmp/mmc/normal.scr /tmp/mmc/boot.scr -+ cp /tmp/mmc/uInitrd /tmp/mmc/uInitrd.net -+ cp /tmp/mmc/uInitrd.final /tmp/mmc/uInitrd ++ mv /tmp/mmc/uInitrd /tmp/mmc/uInitrd.net ++ mv /tmp/mmc/uInitrd.final /tmp/mmc/uInitrd + umount /tmp/mmc + + mkdir -p /target/boot/uboot diff --git a/scripts/maverick-tweaks.diff b/scripts/maverick-tweaks.diff index b1b0d26..50af855 100644 --- a/scripts/maverick-tweaks.diff +++ b/scripts/maverick-tweaks.diff @@ -32,8 +32,8 @@ index 61bc6ae..fea0a1b 100644 + mount /dev/mmcblk0p1 /tmp/mmc + cp /tmp/mmc/boot.scr /tmp/mmc/netinstall.scr + cp /tmp/mmc/normal.scr /tmp/mmc/boot.scr -+ cp /tmp/mmc/uInitrd /tmp/mmc/uInitrd.net -+ cp /tmp/mmc/uInitrd.final /tmp/mmc/uInitrd ++ mv /tmp/mmc/uInitrd /tmp/mmc/uInitrd.net ++ mv /tmp/mmc/uInitrd.final /tmp/mmc/uInitrd + umount /tmp/mmc + + mkdir -p /target/boot/uboot diff --git a/scripts/squeeze-tweaks.diff b/scripts/squeeze-tweaks.diff index 5bd7d8a..2294a57 100644 --- a/scripts/squeeze-tweaks.diff +++ b/scripts/squeeze-tweaks.diff @@ -26,8 +26,8 @@ index 61bc6ae..a889e23 100644 + mount /dev/mmcblk0p1 /tmp/mmc + cp /tmp/mmc/boot.scr /tmp/mmc/netinstall.scr + cp /tmp/mmc/normal.scr /tmp/mmc/boot.scr -+ cp /tmp/mmc/uInitrd /tmp/mmc/uInitrd.net -+ cp /tmp/mmc/uInitrd.final /tmp/mmc/uInitrd ++ mv /tmp/mmc/uInitrd /tmp/mmc/uInitrd.net ++ mv /tmp/mmc/uInitrd.final /tmp/mmc/uInitrd + umount /tmp/mmc + + mkdir -p /target/boot/uboot