[Fai-commit] r3088 - in trunk: bin debian

fai-repository at svn.debian.org fai-repository at svn.debian.org
Wed Nov 23 19:34:29 UTC 2005


Author: lange
Date: 2005-11-23 19:34:28 +0000 (Wed, 23 Nov 2005)
New Revision: 3088

Modified:
   trunk/bin/fai-cd
   trunk/debian/changelog
Log:
exist unless arch is i386 or amd64 (closes: #339098)


Modified: trunk/bin/fai-cd
===================================================================
--- trunk/bin/fai-cd	2005-11-23 19:15:50 UTC (rev 3087)
+++ trunk/bin/fai-cd	2005-11-23 19:34:28 UTC (rev 3088)
@@ -30,7 +30,7 @@
 #*********************************************************************
 
 set -e 
-version="fai-cd 1.2.3"
+version="fai-cd 1.2.4"
 
 isoversion="$version -- build $(date '+%c')"
 vname="Fully Automatic Installation CD"
@@ -235,6 +235,11 @@
 # - - - - - - - - - - - - - - - - - - - - - - - - - -
 # main program
 
+case `dpkg --print-installation-architecture` in
+    i386|amd64) : ;;
+       *) die 11 "fai-cd only works on i386 and maybe on amd64 architecture. Exiting."
+esac
+
 # Parse commandline options
 while getopts "hg:bm:" opt ; do
     case "$opt" in

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-11-23 19:15:50 UTC (rev 3087)
+++ trunk/debian/changelog	2005-11-23 19:34:28 UTC (rev 3088)
@@ -10,7 +10,8 @@
   * fai-cd: fixed hardcoded sources.list for the install client to be
     generated, code by Michael Tautschnig (closes: #320024) and at least
     partially #329547, test if nfsroot was created (closes: #317495), test
-    if mkisofs is available (closes: #334871)
+    if mkisofs is available (closes: #334871), exist unless arch is i386
+    or amd64 (closes: #339098)
   * install_packages: ignore packages ending with - when using -d
     (closes: #334333)
   * lib/create_ramdisk: make /etc/network/run/ifstate writable




More information about the Fai-commit mailing list