|
From: <kr...@us...> - 2011-12-06 21:16:32
|
Revision: 5290
http://astlinux.svn.sourceforge.net/astlinux/?rev=5290&view=rev
Author: krisk84
Date: 2011-12-06 21:16:26 +0000 (Tue, 06 Dec 2011)
Log Message:
-----------
runnix formatting changes after comments from Lonnie
Modified Paths:
--------------
branches/1.0/project/runnix/files/rootfs_vfat/os/default.conf
branches/1.0/project/runnix/target_skeleton/runnix
Modified: branches/1.0/project/runnix/files/rootfs_vfat/os/default.conf
===================================================================
--- branches/1.0/project/runnix/files/rootfs_vfat/os/default.conf 2011-12-06 21:16:01 UTC (rev 5289)
+++ branches/1.0/project/runnix/files/rootfs_vfat/os/default.conf 2011-12-06 21:16:26 UTC (rev 5290)
@@ -5,6 +5,11 @@
# images, etc. This is where you define the
# behavior of these features.
+# initramfs support
+# If your kernel uses initramfs set this to yes
+# This gets parsed immediately after this file
+#INITRAMFS="yes"
+
# Network support
# Runnix can upgrade your .run files from a
# network
Modified: branches/1.0/project/runnix/target_skeleton/runnix
===================================================================
--- branches/1.0/project/runnix/target_skeleton/runnix 2011-12-06 21:16:01 UTC (rev 5289)
+++ branches/1.0/project/runnix/target_skeleton/runnix 2011-12-06 21:16:26 UTC (rev 5290)
@@ -213,9 +213,9 @@
. $BASE/os/$RUNIMG.conf
fi
-if [ "$INITRAMFS" ]; then
- if [ "$INITRAMFS" = "YES" ]; then
- if [ "$KCMD" ]; then
+if [ -n "$INITRAMFS" ]; then
+ if [ "$INITRAMFS" = "yes" ]; then
+ if [ -n "$KCMD" ]; then
echo "Image is initramfs, booting now..."
kexec --command-line="$KCMD" -f $BASE/os/$RUNIMG
do_failure
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|