[Debootloaders-devel] r161 - trunk/emile/debian

Wouter Verhelst wouter at costa.debian.org
Wed Sep 13 18:53:57 UTC 2006


Author: wouter
Date: 2006-09-13 18:53:56 +0000 (Wed, 13 Sep 2006)
New Revision: 161

Added:
   trunk/emile/debian/emile-install-kernel
Modified:
   trunk/emile/debian/TODO
   trunk/emile/debian/changelog
Log:
Scratch one from TODO


Modified: trunk/emile/debian/TODO
===================================================================
--- trunk/emile/debian/TODO	2006-08-16 21:23:36 UTC (rev 160)
+++ trunk/emile/debian/TODO	2006-09-13 18:53:56 UTC (rev 161)
@@ -1,6 +1,4 @@
 * Write emile-installer (for debian-installer)
-* Write some kernel-package hook to refresh/install emile at kernel
-  install time
 * Perhaps figure out whether the machine we're running on is known to
   work with emile, and bail out (or at least warn) if it isn't. Would
   involve some ugly list, I guess (yeah, yeah, but I can dream, right?)

Modified: trunk/emile/debian/changelog
===================================================================
--- trunk/emile/debian/changelog	2006-08-16 21:23:36 UTC (rev 160)
+++ trunk/emile/debian/changelog	2006-09-13 18:53:56 UTC (rev 161)
@@ -4,8 +4,10 @@
   * Update FSF address in debian/copyright.
   * Change maintainer address to team list
   * Add TODO list
+  * Create emile-install-kernel, a postinst.d script to automatically install
+    a kernel with emile.
 
- -- Wouter Verhelst <wouter at debian.org>  Tue, 27 Jun 2006 10:11:46 +0200
+ -- Wouter Verhelst <wouter at debian.org>  Wed, 13 Sep 2006 20:51:53 +0200
 
 emile (0.10-1) unstable; urgency=low
 

Added: trunk/emile/debian/emile-install-kernel
===================================================================
--- trunk/emile/debian/emile-install-kernel	                        (rev 0)
+++ trunk/emile/debian/emile-install-kernel	2006-09-13 18:53:56 UTC (rev 161)
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+KERNELFILE="$2"
+
+[ -f /etc/emile-install-kernel.cfg ] && . /etc/emile-install-kernel.cfg
+
+if [ -z "$DO_EMILE" -o "$DO_EMILE" != "true" -o -z "$EMILE_DEVICE" ]
+then
+	# We don't have everything set, or this script has been disabled
+	exit 0
+fi
+
+OPTS="-f /boot/emile/first_scsi -s /boot/emile_second_scsi -k $KERNELFILE -p $EMILE_DEVICE"
+if [ ! -z "$APPEND" ]
+then
+	OPTS="$OPTS -a '$APPEND'"
+fi
+
+emile $OPTS




More information about the Debootloaders-devel mailing list