[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Typo in tasks/debian-installer



While building using the current CVS version of debian-cd, I noticed a
warning when generating the tasks.  Notice the 'garbage' line:

  Building Dependency Tree...
  /bin/echo -e "mawk\nexim4-daemon-light\nunifont" >>/tmp/debian-cd/woody-i386/rawlist
  In file included from :15:
  /home/debian-cd/tasks/debian-installer:329: warning: garbage at end of `#ifdef' argument
  Generating the complete list of packages to be included ...

The problem is in this part of the code:

Index: tasks/debian-installer
===================================================================
RCS file: /cvs/debian-boot/debian-cd/tasks/debian-installer,v
retrieving revision 1.16
diff -u -3 -p -u -r1.16 debian-installer
--- tasks/debian-installer      7 Jun 2004 09:35:39 -0000       1.16
+++ tasks/debian-installer      29 Jun 2004 23:01:41 -0000
@@ -325,6 +325,7 @@ userdevfs
 wireless-tools-udeb
 xfsprogs-udeb
 #endif /* ARCH_hppa */
+/* minus in defines do not work!  ARCH_hurd-i386 is not a valid define */
 #ifdef ARCH_hurd-i386
 #endif /* ARCH_hurd-i386 */
 #ifdef ARCH_i386

The file us automatically generated, and I'm not sure how to fix it.
Any ideas?  Rewrite the arch name?



Reply to: