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

Bug#324748: marked as done (Improved localudebs handling)



Your message dated Sun, 5 Feb 2006 14:07:39 -0500
with message-id <20060205190739.GA17134@kitenet.net>
and subject line closing
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
>From aragorn@tiscali.nl Tue Aug 23 12:02:45 2005
Received: (at submit) by bugs.debian.org; 23 Aug 2005 19:02:45 +0000
Return-path: <aragorn@tiscali.nl>
Received: from smtp-out1.tiscali.nl [195.241.79.176] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E7e2n-00079y-00; Tue, 23 Aug 2005 12:02:45 -0700
Received: from [195.240.184.66] (helo=strider.fjphome.nl)
	by smtp-out1.tiscali.nl with esmtp (Tiscali http://www.tiscali.nl)
	id 1E7e2l-0001Fe-P4
	for <submit@bugs.debian.org>; Tue, 23 Aug 2005 21:02:43 +0200
From: Frans Pop <aragorn@tiscali.nl>
To: submit@bugs.debian.org
Subject: Improved localudebs handling
Date: Tue, 23 Aug 2005 21:03:19 +0200
User-Agent: KMail/1.7.2
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart15413262.WBpsd2bykq";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200508232103.27181.aragorn@tiscali.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

--nextPart15413262.WBpsd2bykq
Content-Type: multipart/mixed;
  boundary="Boundary-01=_3L3CD/DbK5MPBwx"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_3L3CD/DbK5MPBwx
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Package: debian-installer
Severity: minor
Tags: patch

During testing builds for sparc64 dual boot (2.6 and 2.4) I ran into a=20
problem with the handling in localudebs: kernel udebs that are marked as=20
optional are skipped by pkg-list if they are only available from=20
localudebs (and not apt-gettable).

I also noticed the wishlist item about making an apt source of localudebs,=
=20
and the attached patch will do that.

I've used dpkg-scanpackages (from dpkg-dev) to create a Packages.gz and=20
set it so that Packages.gz will be recreated if a rebuild is called or=20
after a clean.
If there are no localudebs, that file will be empty; this works.
A sources line for localudebs is always added to sources.list.udeb.

Please check the changes in Makefile, as my skills there are extremely=20
basic.

TODO:
=2D maybe localudebs support can be removed in some other places now,
  but it seemed that that would take them out of "needed" lists which
  would change behavior.
=2D I noticed config/dir has "LOCALUDEBDIR =3D localudebs", but this is
  not actually used in the Makefile or anywhere...
=2D add dpkg-dev to build dependencies


--Boundary-01=_3L3CD/DbK5MPBwx
Content-Type: text/x-diff;
  charset="us-ascii";
  name="localudebs.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="localudebs.diff"

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2D-- Makefile	(revision 30142)
+++ Makefile	(working copy)
@@ -231,6 +231,7 @@
 	rm -f $(TEMP)/diskusage.txt
 	rm -f $(TEMP)/all.utf
 	rm -f $(TEMP)/unifont.bdf $(TREE)/lib/unifont.bgf
+	rm -f localudebs/Packages.gz
 	rm -f pkg-lists/standard-udebs pkg-lists/kernel-module-udebs
 	rm -rf $(TARGET)
 	rm -rf $(TEMP)
@@ -500,16 +501,21 @@
 UDEBS =3D $(shell set -e; get-packages udeb update >&2; pkg-list $(TYPE) "=
$(DRIVER_FOR)" $(KERNEL_FLAVOUR) $(KERNELMAJOR) "$(SUBARCH)" $(KERNELIMAGEV=
ERSION)) $(EXTRAS)
=20
 # Get all required udebs and put them in UDEBDIR.
=2D$(STAMPS)get_udebs-$(targetstring)-stamp: sources.list.udeb
+$(STAMPS)get_udebs-$(targetstring)-stamp: localudebs/Packages.gz sources.l=
ist.udeb
 	dh_testroot
 	@rm -f $@
 	get-packages udeb $(UDEBS)
 	@touch $@
=20
+localudebs/Packages.gz:
+	# rebuild Packages.gz for localudebs
+	dpkg-scanpackages -u localudebs /dev/null | gzip >localudebs/Packages.gz
+
 # Auto-generate a sources.list.type
 sources.list.udeb:
 	(set -e; \
 	echo "# This file is automatically generated, edit $@.local instead."; \
+	echo "deb file:$$(pwd)/ localudebs/"; \
 	if [ "$(MIRROR)x" !=3D "x" ]; then \
 		echo "deb $(MIRROR) $(SUITE) main/debian-installer"; \
 	else \

--Boundary-01=_3L3CD/DbK5MPBwx--

--nextPart15413262.WBpsd2bykq
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDC3L/gm/Kwh6ICoQRAjiAAJ9mq1qdR/bNymSBbQUxOSrPkwkQ9wCdELD6
8iPpwxWxHqDrMh9tk7kiHVc=
=iqbP
-----END PGP SIGNATURE-----

--nextPart15413262.WBpsd2bykq--


--- End Message ---
--- Begin Message ---
>From joey@kitenet.net Sun Feb 05 11:07:48 2006
Received: (at 324748-done) by bugs.debian.org; 5 Feb 2006 19:07:48 +0000
Return-path: <joey@kitenet.net>
Received: from kitenet.net ([64.62.161.42] ident=postfix)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1F5pEi-0000cU-CY
	for 324748-done@bugs.debian.org; Sun, 05 Feb 2006 11:07:48 -0800
Received: from dragon.kitenet.net (101-045-dial.xtn.net [66.118.101.45])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "Joey Hess", Issuer "Joey Hess" (verified OK))
	by kitenet.net (Postfix) with ESMTP id 030B117DC7
	for <324748-done@bugs.debian.org>; Sun,  5 Feb 2006 19:07:47 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
	id 279A2BEEBC; Sun,  5 Feb 2006 14:07:39 -0500 (EST)
Date: Sun, 5 Feb 2006 14:07:39 -0500
From: Joey Hess <joeyh@debian.org>
To: 324748-done@bugs.debian.org
Subject: closing
Message-ID: <20060205190739.GA17134@kitenet.net>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC"
Content-Disposition: inline
User-Agent: Mutt/1.5.11
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02


--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Closing this bug, we use apt for localdebs now.

--=20
see shy jo

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD5kyQd8HHehbQuO8RAt03AJ9clnAVoOF7LW0gY5aEllpQalR0/ACdFV6F
I+C0ANRouqt4CZRftN2xQrc=
=28xo
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--

--- End Message ---

Reply to: