Index: mod_image_for_test.sh |
diff --git a/mod_image_for_test.sh b/mod_image_for_test.sh |
index 650a0d5bee67925237cbcadaa974534aa2706363..1ea312126b2f2e8f77595265f599e7648907bd9c 100755 |
--- a/mod_image_for_test.sh |
+++ b/mod_image_for_test.sh |
@@ -114,6 +114,12 @@ install_autotest() { |
sudo mkdir -p "/tmp/autotest" |
sudo rm -rf /tmp/autotest/* |
+ # Remove excess files from stateful partition. |
+ # If these aren't there, that's fine. |
+ sudo rm -rf "${stateful_root}${autotest_client}/*" || true |
+ sudo rm -rf "${stateful_root}/autotest-pkgs" || true |
+ sudo rm -rf "${stateful_root}/lib/icedtea6" || true |
ericli
2010/07/03 02:04:47
why icetea6 here?
otherwise LGTM.
Nick Sanders
2010/07/04 01:37:54
From factory perspective, it's 150+MB of useless s
|
+ |
sudo cp -fpru ${AUTOTEST_SRC}/client/* \ |
"/tmp/autotest" |
# Remove outrageously large tests. |