changeset 764:dc34da83204d

Cosmetic fix: don't announce system-image.sh stage twice.
author Rob Landley <rob@landley.net>
date Sat, 27 Jun 2009 23:57:54 -0500
parents 221b0e3cd8fd
children b8c0278becf6
files system-image.sh
diffstat 1 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/system-image.sh	Sat Jun 27 23:57:30 2009 -0500
+++ b/system-image.sh	Sat Jun 27 23:57:54 2009 -0500
@@ -16,13 +16,6 @@
   exit 1
 fi
 
-# Announce start of stage.
-
-echo -e "$PACKAGE_COLOR"
-echo "=== Packaging system image from root-filesystem"
-
-SYSIMAGE="${BUILD}/system-image-${ARCH_NAME}"
-blank_tempdir "$SYSIMAGE"
 blank_tempdir "$WORK"
 
 # A little song and dance so we run in our own session, to prevent the "kill 0"
@@ -40,6 +33,15 @@
   exec "$WORK/mysetsid" "$0" "$@"
 fi
 
+# Announce start of stage.
+
+echo -e "$PACKAGE_COLOR"
+echo "=== Packaging system image from root-filesystem"
+
+SYSIMAGE="${BUILD}/system-image-${ARCH_NAME}"
+blank_tempdir "$SYSIMAGE"
+
+
 [ -z "$SYSIMAGE_TYPE" ] && SYSIMAGE_TYPE=squashfs
 
 TOOLSDIR=tools