CVS: moonbase/kernel/linux BUILD, 1.15, 1.16 CONFIGURE, 1.12, 1.13 POST_INSTALL, 1.15, 1.16

Terry Chan tchan at lunar-linux.org
Wed Nov 19 21:13:49 GMT 2003


Update of /var/cvs/lunar/moonbase/kernel/linux
In directory dbguin.lunar-linux.org:/tmp/cvs-serv13609

Modified Files:
	BUILD CONFIGURE POST_INSTALL 
Log Message:
Added the Sparc64 changes for the linux module.


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/linux/BUILD,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- BUILD	5 Oct 2003 19:51:47 -0000	1.15
+++ BUILD	19 Nov 2003 21:13:47 -0000	1.16
@@ -43,13 +43,14 @@
 
   case $XARCH in
      xi386 | xi486 | xi586 | xi686 ) make bzImage;;
-    xalpha ) make boot;;
-      xppc ) make vmlinux;;
-    xsparc ) echo "Sorry no Lunar port yet want to try its easy :-P the penguin team will help.";;
-      xarm ) echo "Sorry no Lunar port yet want to try its easy :-P the penguin team will help.";;
-     xm68k ) echo "Sorry no Lunar port yet want to try its easy :-P the penguin team will help.";;
-     xmips ) echo "Sorry no Lunar port yet want to try its easy :-P the penguin team will help.";;
-          *) echo "Opps. You, yea you, yap at hardkrash for forgetting to put in your arch in this module. :-P";;
+    xalpha   ) make boot;;
+      xppc   ) make vmlinux;;
+    xsparc   ) echo "Sorry no Lunar port yet want to try its easy :-P the penguin team will help.";;
+    xsparc64 ) make vmlinux;;
+      xarm   ) echo "Sorry no Lunar port yet want to try its easy :-P the penguin team will help.";;
+     xm68k   ) echo "Sorry no Lunar port yet want to try its easy :-P the penguin team will help.";;
+     xmips   ) echo "Sorry no Lunar port yet want to try its easy :-P the penguin team will help.";;
+          *  ) echo "Opps. You, yea you, yap at hardkrash for forgetting to put in your arch in this module. :-P";;
   esac					     &&
   
   if grep -q "CONFIG_MODULES=y" .config
@@ -74,6 +75,8 @@
 
       xppc ) 
              cp vmlinux /boot/vmlinux-$VERSION;;
+  xsparc64 )
+             cp vmlinux /boot/vmlinux-$VERSION;;
       xarm ) echo "Oh crud they forgot to tell me what should I do for arm.";;
      xm68k ) echo "Oh crud they forgot to tell me what should I do for m68k.";;
      xmips ) echo "Oh crud they forgot to tell me what should I do for mips.";;

Index: CONFIGURE
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/linux/CONFIGURE,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- CONFIGURE	14 May 2003 06:45:01 -0000	1.12
+++ CONFIGURE	19 Nov 2003 21:13:47 -0000	1.13
@@ -12,8 +12,9 @@
 	      fi;;
 	  
 	    xalpha) BOOT_LOADER=aboot;;
-	      xppc)  BOOT_LOADER=yaboot;;
-	    xsparc) echo ";~( I am not setup for Sparcs. Can you electrify me?.";; 
+	      xppc) BOOT_LOADER=yaboot;;
+            xsparc|xsparc64)
+                    BOOT_LOADER=silo;;
 	      xarm) echo ";~( I am not setup for arms. Can you give me limbs?";;
 	     xm68k) echo ";~( I am not setup for 68k. Can you configure me?";;
 	     xmips) echo ";~( I am not setup for mips. Can you configure me?";;
@@ -27,6 +28,7 @@
 CONFIG_LILO="n"
 CONFIG_ABOOT="n"
 CONFIG_YABOOT="n"
+CONFIG_SILO="n"
 
 if    grep  -q  "BOOT_LOADER=grub"  $MODULE_CONFIG  &&
       query  "Configure grub?"  n
@@ -70,6 +72,11 @@
 	fi
 fi
 
+if    grep  -q  "BOOT_LOADER=silo" $MODULE_CONFIG  &&
+      query  "Configure silo?" n
+then  CONFIG_SILO=y
+fi
+
 CONFIG_AGGRESSIVE="n"
 
 if !  grep  -q  "CONFIG_AGGRESSIVE=" $MODULE_CONFIG &&
@@ -125,7 +132,9 @@
       grep  -v  "CONFIG_GRUB="                            |
       grep  -v  "CONFIG_ABOOT="				  |
       grep  -v  "CONFIG_YABOOT="			  |
+      grep  -v  "CONFIG_SILO="  			  |
       grep  -v  "CONFIG_AGGRESSIVE="                      |
+      grep  -v  "EDIT_YABOOT="                            |
       grep  -v  "EDIT_LILO"`
 
 echo  "$TEMP"                                >   $MODULE_CONFIG
@@ -134,5 +143,7 @@
 echo  "CONFIG_GRUB=$CONFIG_GRUB"             >>  $MODULE_CONFIG
 echo  "CONFIG_ABOOT=$CONFIG_ABOOT"           >>  $MODULE_CONFIG
 echo  "CONFIG_YABOOT=$CONFIG_YABOOT"         >>  $MODULE_CONFIG
+echo  "CONFIG_ABOOT=$CONFIG_SILO"            >>  $MODULE_CONFIG
 echo  "CONFIG_AGGRESSIVE=$CONFIG_AGGRESSIVE" >>  $MODULE_CONFIG
+echo  "EDIT_YABOOT=$EDIT_YABOOT"             >>  $MODULE_CONFIG
 echo  "EDIT_LILO=$EDIT_LILO"	             >>  $MODULE_CONFIG

Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/linux/POST_INSTALL,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- POST_INSTALL	5 Oct 2003 19:51:47 -0000	1.15
+++ POST_INSTALL	19 Nov 2003 21:13:47 -0000	1.16
@@ -201,11 +201,16 @@
 
 }
 
+update_silo() {
+    ${EDITOR:-nano}  /boot/silo.conf;
+}
+
 case  $BOOT_LOADER  in
   lilo)  [ $CONFIG_LILO = y ] && update_lilo  ;;
   grub)  [ $CONFIG_GRUB = y ] && update_grub  ;;
   aboot) [ $CONFIG_ABOOT = y ] && update_aboot ;;
   yaboot) [ $CONFIG_YABOOT = y ] && update_yaboot ;;
+  silo)  [ $CONFIG_SILO = y ] && update_silo ;;
 esac
 
 




More information about the Lunar-commits mailing list