changeset 573:de6725a2fdad

Fix an "it doesn't boot" bug dating back to commit 553. Sigh.
author Rob Landley <rob@landley.net>
date Fri, 09 Jan 2009 01:22:54 -0600
parents 1277d5ae4507
children 90fab158a19f
files package-mini-native.sh
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/package-mini-native.sh	Thu Jan 08 00:13:50 2009 -0600
+++ b/package-mini-native.sh	Fri Jan 09 01:22:54 2009 -0600
@@ -24,7 +24,7 @@
 make ARCH="${KARCH}" KCONFIG_ALLCONFIG="$(getconfig linux)" \
   allnoconfig > /dev/null || dienow
 
-if [ ! -z "USE_INITRAMFS" ]
+if [ ! -z "$USE_INITRAMFS" ]
 then
   echo "Generating initramfs (in background)"
   (
@@ -49,13 +49,14 @@
 
 # Embed an initramfs image in the kernel?
 
-if [ ! -z "USE_INITRAMFS" ]
+if [ ! -z "$USE_INITRAMFS" ]
 then
   # This is a repeat of an earlier make invocation, but if we try to
   # consolidate them the dependencies build unnecessary prereqisites
   # and then decide that they're newer than the cpio.gz we supplied,
   # and thus overwrite it with a default (emptyish) one.
 
+  echo "Building kernel with initramfs."
   [ -f initramfs_data.cpio.gz ] &&
   touch initramfs_data.cpio.gz &&
   mv initramfs_data.cpio.gz usr &&