[26082] in Source-Commits
/svn/athena r25380 - trunk/athena/bin/machtype/debian
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Mon Aug 15 22:03:25 2011
Date: Mon, 15 Aug 2011 22:03:19 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <201108160203.p7G23JbK020272@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: geofft
Date: 2011-08-15 22:03:19 -0400 (Mon, 15 Aug 2011)
New Revision: 25380
Modified:
trunk/athena/bin/machtype/debian/rules
Log:
machtype: Add comment to debian/rules about sysname order
Modified: trunk/athena/bin/machtype/debian/rules
===================================================================
--- trunk/athena/bin/machtype/debian/rules 2011-08-11 22:09:23 UTC (rev 25379)
+++ trunk/athena/bin/machtype/debian/rules 2011-08-16 02:03:19 UTC (rev 25380)
@@ -23,6 +23,11 @@
$(error Debian version $(DEBIAN_VERSION) is too old)
endif
+# The order of the following code is important, and ensures the correct
+# relative order of Debian and Ubuntu releases. (Note this is not quite
+# chronological order, e.g., Debian 6.0 released before Ubuntu 11.04,
+# but after its DebianImportFreeze.)
+
ifeq ($(DISTRO),Ubuntu)
ifeq ($(call compare_ubuntu_version,11.10),y)
SYS_COMPAT += $(call arch_sysnames,amd64_ubuntu1110,i386_ubuntu1110)