[Pkg-shadow-devel] Bug#343473: #343473: login: Please do not build package on hurd-i386, breaks debootstrap

Michael Banck mbanck at debian.org
Thu Dec 15 22:28:51 UTC 2005


tags 343473 +patch
thanks

On Thu, Dec 15, 2005 at 03:32:13PM +0100, Michael Banck wrote:
> Thus I think we should cease to build the login package on hurd-i386 at
> all, at least until arch-specific overrides have been put into place
> (I've been told somebody is working on them, but it might take time).

Here is a patch which does this, by exempting the login package from the
crucial final debhelper calls if $DEB_HOST_ARCH_OS is hurd.


cheers,

Michael

-- 
Michael Banck
Debian Developer
mbanck at debian.org
http://www.advogato.org/person/mbanck/diary.html
-------------- next part --------------
diff -Naur shadow-4.0.13.orig/debian/rules shadow-4.0.13/debian/rules
--- shadow-4.0.13.orig/debian/rules	2005-12-15 22:57:22.000000000 +0100
+++ shadow-4.0.13/debian/rules	2005-12-15 22:58:00.000000000 +0100
@@ -170,13 +170,17 @@
 	dh_installdebconf
 ifeq ($(DEB_HOST_ARCH_OS),hurd)
 	echo "loginpam=login, libpam-modules (>= 0.72-5)" >> debian/passwd.substvars
+	dh_installdeb -Nlogin
+	dh_gencontrol -Nlogin
+	dh_md5sums -Nlogin
+	dh_builddeb -Nlogin
 else
 	echo "loginpam=login (>= 970502-1), libpam-modules (>= 0.72-5)" >> debian/passwd.substvars
-endif
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
+endif
 
 binary: binary-indep binary-arch
 


More information about the Pkg-shadow-devel mailing list