r1458 - trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian

nobse@haydn.debian.org nobse@haydn.debian.org
Sat, 28 Aug 2004 20:54:29 -0600


Author: nobse
Date: 2004-08-28 15:25:29 -0600 (Sat, 28 Aug 2004)
New Revision: 1458

Modified:
   trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/changelog
   trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/control
   trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/rules
Log:
added headers packages


Modified: trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/changelog
===================================================================
--- trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/changelog	2004-08-28 21:14:33 UTC (rev 1457)
+++ trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/changelog	2004-08-28 21:25:29 UTC (rev 1458)
@@ -1,7 +1,9 @@
-kernel-latest-2.4-alpha (3) UNRELEASED; urgency=low
+kernel-latest-2.4-alpha (3) unstable; urgency=high
 
   * This is a new package containing these metapackages:
     - kernel-image-2.4-generic
     - kernel-image-2.4-smp
+    - kernel-headers-2.4-generic
+    - kernel-headers-2.4-smp
 
- -- Norbert Tretkowski <nobse@debian.org>  Sat, 28 Aug 2004 22:16:53 +0200
+ -- Norbert Tretkowski <nobse@debian.org>  Sat, 28 Aug 2004 23:23:11 +0200

Modified: trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/control
===================================================================
--- trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/control	2004-08-28 21:14:33 UTC (rev 1457)
+++ trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/control	2004-08-28 21:25:29 UTC (rev 1458)
@@ -23,3 +23,21 @@
 Description: Linux kernel image for version 2.4 on Alpha SMP.
  This package will always depend on the latest 2.4 kernel image available for
  the Alpha architecture with SMP support.
+
+Package: kernel-headers-2.4-generic
+Architecture: alpha
+Section: devel
+Priority: optional
+Depends: kernel-headers-2.4.27-1-generic
+Description: Linux kernel headers 2.4 on Alpha
+ This package will always depend on the latest 2.4 kernel headers available
+ for the Alpha architecture.
+
+Package: kernel-headers-2.4-smp
+Architecture: alpha
+Section: devel
+Priority: optional
+Depends: kernel-headers-2.4.27-1-smp
+Description: Linux kernel headers 2.4 on Alpha SMP
+ This package will always depend on the latest 2.4 kernel headers available
+ for the Alpha architecture with SMP support.

Modified: trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/rules
===================================================================
--- trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/rules	2004-08-28 21:14:33 UTC (rev 1457)
+++ trunk/kernel-2.4/alpha/kernel-latest-2.4-alpha/debian/rules	2004-08-28 21:25:29 UTC (rev 1458)
@@ -14,7 +14,8 @@
 
 FLAVOURS := generic smp
 BINARY_ARCH := $(FLAVOURS:=.binary-arch)
-base := kernel-image-2.4
+kernel := kernel-image-2.4
+headers := kernel-headers-2.4
 
 build binary-indep:
 # Ye olde no-op.
@@ -32,19 +33,22 @@
 # Build architecture-independent files here.
 binary-indep:
 
-%.binary-arch:
+%.binary-arch: kernel-image-2.4-%.binary-arch-pkg kernel-headers-2.4-%.binary-arch-pkg
+	@true
+
+%.binary-arch-pkg:
 	dh_testroot
 	dh_testdir
-	dh_clean -k --package=$(base)-$*
-	dh_installdirs --package=$(base)-$*
-	dh_installdocs --package=$(base)-$*
-	dh_installchangelogs --package=$(base)-$*
-	dh_compress --package=$(base)-$*
-	dh_fixperms --package=$(base)-$*
-	dh_installdeb --package=$(base)-$*
-	dh_gencontrol --package=$(base)-$*
-	dh_md5sums --package=$(base)-$*
-	dh_builddeb --package=$(base)-$*
+	dh_clean -k -p$*
+	dh_installdirs -p$*
+	dh_installdocs -p$*
+	dh_installchangelogs -p$*
+	dh_compress -p$*
+	dh_fixperms -p$*
+	dh_installdeb -p$*
+	dh_gencontrol -p$*
+	dh_md5sums -p$*
+	dh_builddeb -p$*
 
 # Build architecture-dependent files here.
 binary-arch: install $(BINARY_ARCH)