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

Bug#276001: marked as done (wishlist: additional preseeding before language-chooser)



Your message dated Fri, 17 Dec 2004 03:36:05 -0500
with message-id <E1CfDan-000667-00@newraff.debian.org>
and subject line Bug#276001: fixed in preseed 1.02
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Oct 2004 14:27:00 +0000
>From Joerg.Dieter.Friedrich@uni-konstanz.de Mon Oct 11 07:27:00 2004
Return-path: <Joerg.Dieter.Friedrich@uni-konstanz.de>
Received: from cytosin.uni-konstanz.de [134.34.240.61] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CH18e-0002zz-00; Mon, 11 Oct 2004 07:27:00 -0700
Received: from viribus.rz.uni-konstanz.de (viribus.rz.uni-konstanz.de [134.34.240.50])
	by cytosin.uni-konstanz.de (Postfix) with ESMTP id E4164A8D947
	for <submit@bugs.debian.org>; Mon, 11 Oct 2004 16:26:28 +0200 (MEST)
Received: from localhost (localhost [127.0.0.1])
	by localhost.viribus.rz.uni-konstanz.de (Postfix) with ESMTP id D546E1F8008
	for <submit@bugs.debian.org>; Mon, 11 Oct 2004 16:26:28 +0200 (CEST)
Received: from hitchhiker.rz.uni-konstanz.de (hitchhiker.rz.uni-konstanz.de [134.34.1.139])
	by viribus.rz.uni-konstanz.de (Postfix) with ESMTP
	id 64DE81F8004; Mon, 11 Oct 2004 16:26:28 +0200 (CEST)
Received: by hitchhiker.rz.uni-konstanz.de (Postfix, from userid 1000)
	id 5853312BE8; Mon, 11 Oct 2004 16:26:28 +0200 (CEST)
Content-Type: multipart/mixed; boundary="===============0810387073=="
MIME-Version: 1.0
From: Joerg Friedrich <Joerg.Dieter.Friedrich@uni-konstanz.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: wishlist: additional preseeding before language-chooser
X-Mailer: reportbug 2.63
Date: Mon, 11 Oct 2004 16:26:28 +0200
Message-Id: <20041011142628.5853312BE8@hitchhiker.rz.uni-konstanz.de>
X-Virus-Scanned: by amavisd-new at Mailservice RZ Uni-Konstanz
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0810387073==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: preseed
Version: 1.01
Severity: wishlist
Tags: patch

I would like to have an additional preseed which runs before the
language choser.
see http://lists.debian.org/debian-boot/2004/10/msg00812.html



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

--===============0810387073==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="preseed-diff"

diff -Nurd di-old/debian-installer/packages/preseed/debian/changelog di/debian-installer/packages/preseed/debian/changelog
--- di-old/debian-installer/packages/preseed/debian/changelog	2004-10-10 10:49:40.000000000 +0200
+++ di/debian-installer/packages/preseed/debian/changelog	2004-10-10 19:55:43.000000000 +0200
@@ -1,5 +1,12 @@
 preseed (1.01) unstable; urgency=low
 
+  * preseed-common
+  * initrd-preseed
+
+ -- Joerg Friedrich <Joerg.Dieter.Friedrich@uni-konstanz.de>  Sun, 10 Oct 2004 19:54:23 +0200
+
+preseed (1.01) unstable; urgency=low
+
   * Updated translations: 
     - Bulgarian (bg.po) by Ognyan Kulev
     - Catalan (ca.po) by Jordi Mallach
diff -Nurd di-old/debian-installer/packages/preseed/debian/control di/debian-installer/packages/preseed/debian/control
--- di-old/debian-installer/packages/preseed/debian/control	2004-10-10 10:49:40.000000000 +0200
+++ di/debian-installer/packages/preseed/debian/control	2004-10-09 16:55:13.000000000 +0200
@@ -5,17 +5,31 @@
 Uploaders: Joey Hess <joeyh@debian.org>
 Build-Depends: debhelper (>= 4.2), dpkg-dev (>= 1.9)
 
+Package: preseed-common
+Architecture: all
+Priority: standard
+Depends: ${shlibs:Depends}, di-utils
+Description: Debconf preseed  - Common Files
+XC-Package-Type: udeb
+
 Package: network-preseed
 Architecture: all
 Priority: standard
-Depends: ${shlibs:Depends}, configured-network, di-utils
+Depends: ${shlibs:Depends}, preseed-common, configured-network
 Description: Download debconf preseed file
 XC-Package-Type: udeb
 XB-Installer-Menu-Item: 21
 
 Package: file-preseed
 Architecture: all
-Depends: ${shlibs:Depends}, cdrom-detect, di-utils
+Depends: ${shlibs:Depends}, preseed-common, cdrom-detect
 Description: Load debconf preseed file
 XC-Package-Type: udeb
 XB-Installer-Menu-Item: 14
+
+Package: initrd-preseed
+Architecture: all
+Depends: ${shlibs:Depends}, preseed-common
+Description: Load debconf preseed file
+XC-Package-Type: udeb
+XB-Installer-Menu-Item: 5
diff -Nurd di-old/debian-installer/packages/preseed/debian/file-preseed.postinst di/debian-installer/packages/preseed/debian/file-preseed.postinst
--- di-old/debian-installer/packages/preseed/debian/file-preseed.postinst	2004-10-10 10:49:40.000000000 +0200
+++ di/debian-installer/packages/preseed/debian/file-preseed.postinst	2004-10-09 16:48:08.000000000 +0200
@@ -3,29 +3,10 @@
 
 . /usr/share/debconf/confmodule
 . /lib/preseed/preseed.sh
+. /lib/preseed/file-preseed.sh
 
-usedfloppy=
 
-# Used by preseed function.
-preseed_fetch () {
-	if [ "${1%/*}" = "/floppy" ]; then
-		mountfloppy || true
-		usedfloppy=1
-	fi
-	
-	if [ ! -e "$1" ] || ! cp "$1" $2; then
-		return 1
-	else
-		return 0
-	fi
-}
-preseed_relative () {
-	if [ -z "${1##/*}" ]; then
-		return 1
-	else	
-		return 0
-	fi
-}
+usedfloppy=
 
 preseed preseed/file
 preseed_command preseed/early_command
diff -Nurd di-old/debian-installer/packages/preseed/debian/initrd-preseed.isinstallable di/debian-installer/packages/preseed/debian/initrd-preseed.isinstallable
--- di-old/debian-installer/packages/preseed/debian/initrd-preseed.isinstallable	1970-01-01 01:00:00.000000000 +0100
+++ di/debian-installer/packages/preseed/debian/initrd-preseed.isinstallable	2004-10-09 16:53:37.000000000 +0200
@@ -0,0 +1,7 @@
+#!/bin/sh
+. /usr/share/debconf/confmodule
+db_get preseed/initrd || exit 1
+if [ -n "$RET" ]; then
+	exit 0
+fi
+exit 1
diff -Nurd di-old/debian-installer/packages/preseed/debian/initrd-preseed.postinst di/debian-installer/packages/preseed/debian/initrd-preseed.postinst
--- di-old/debian-installer/packages/preseed/debian/initrd-preseed.postinst	1970-01-01 01:00:00.000000000 +0100
+++ di/debian-installer/packages/preseed/debian/initrd-preseed.postinst	2004-10-10 11:08:35.000000000 +0200
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+. /usr/share/debconf/confmodule
+. /lib/preseed/preseed.sh
+. /lib/preseed/initrd-preseed.sh
+
+
+preseed preseed/initrd
+preseed_command preseed/early_command
+
diff -Nurd di-old/debian-installer/packages/preseed/debian/initrd-preseed.templates di/debian-installer/packages/preseed/debian/initrd-preseed.templates
--- di-old/debian-installer/packages/preseed/debian/initrd-preseed.templates	1970-01-01 01:00:00.000000000 +0100
+++ di/debian-installer/packages/preseed/debian/initrd-preseed.templates	2004-10-10 11:25:38.000000000 +0200
@@ -0,0 +1,10 @@
+Template: debian-installer/initrd-preseed/title
+Type: text
+#  Main menu item
+_Description: Load debconf preseed file
+
+Template: preseed/initrd
+Type: string
+Default: /etc/initrd-preseed
+# not translatable as it's never displayed
+Description: path to debconf preseed file (or files) to load
diff -Nurd di-old/debian-installer/packages/preseed/debian/network-preseed.postinst di/debian-installer/packages/preseed/debian/network-preseed.postinst
--- di-old/debian-installer/packages/preseed/debian/network-preseed.postinst	2004-10-10 10:49:40.000000000 +0200
+++ di/debian-installer/packages/preseed/debian/network-preseed.postinst	2004-10-09 16:49:13.000000000 +0200
@@ -3,29 +3,8 @@
 
 . /usr/share/debconf/confmodule
 . /lib/preseed/preseed.sh
+. /lib/preseed/network-preseed.sh
 
-# Used by preseed function.
-preseed_fetch () {
-	local url="$1"
-	local file="$2"
-	iters=0
-	while [ $iters -lt 3 ]; do
-		# TODO proxy support? Would it be useful?
-		# TODO add progress bar
-		if wget -q "$url" -O "$file"; then
-			return 0
-		fi
-        	iters=$(($iters + 1))
-	done
-	return 1
-}
-preseed_relative () {
-	if [ -z ${1##*://*} ]; then
-		return 1
-	else
-		return 0
-	fi
-}
 
 preseed preseed/url
 preseed_command preseed/early_command
diff -Nurd di-old/debian-installer/packages/preseed/debian/rules di/debian-installer/packages/preseed/debian/rules
--- di-old/debian-installer/packages/preseed/debian/rules	2004-10-10 10:49:40.000000000 +0200
+++ di/debian-installer/packages/preseed/debian/rules	2004-10-09 17:09:44.000000000 +0200
@@ -16,14 +16,18 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_install --all preseed_command bin
-	dh_install --all 05preseed usr/lib/prebaseconfig.d
-	dh_install --all preseed.sh lib/preseed
+	dh_install -ppreseed-common preseed_command bin
+	dh_install -ppreseed-common 05preseed usr/lib/prebaseconfig.d
+	dh_install -ppreseed-common preseed.sh lib/preseed
+	dh_install -pinitrd-preseed initrd-preseed.sh lib/preseed
+	dh_install -pnetwork-preseed network-preseed.sh lib/preseed
+	dh_install -pfile-preseed file-preseed.sh lib/preseed
 	dh_installdebconf
 	set -e; \
-	for pkg in $(shell dh_listpackages); do \
 		(echo; po2debconf debian/common.templates ) \
-			>> debian/$$pkg/DEBIAN/templates; \
+			>> debian/preseed-common/DEBIAN/templates; 
+	set -e; \
+	for pkg in $(shell dh_listpackages -Npreseed-common); do \
 		cp debian/$$pkg.isinstallable debian/$$pkg/DEBIAN/isinstallable; \
 	done
 	dh_compress
diff -Nurd di-old/debian-installer/packages/preseed/file-preseed.sh di/debian-installer/packages/preseed/file-preseed.sh
--- di-old/debian-installer/packages/preseed/file-preseed.sh	1970-01-01 01:00:00.000000000 +0100
+++ di/debian-installer/packages/preseed/file-preseed.sh	2004-10-09 16:47:29.000000000 +0200
@@ -0,0 +1,20 @@
+# Used by preseed function.
+preseed_fetch () {
+	if [ "${1%/*}" = "/floppy" ]; then
+		mountfloppy || true
+		usedfloppy=1
+	fi
+	
+	if [ ! -e "$1" ] || ! cp "$1" $2; then
+		return 1
+	else
+		return 0
+	fi
+}
+preseed_relative () {
+	if [ -z "${1##/*}" ]; then
+		return 1
+	else	
+		return 0
+	fi
+}
diff -Nurd di-old/debian-installer/packages/preseed/initrd-preseed.sh di/debian-installer/packages/preseed/initrd-preseed.sh
--- di-old/debian-installer/packages/preseed/initrd-preseed.sh	1970-01-01 01:00:00.000000000 +0100
+++ di/debian-installer/packages/preseed/initrd-preseed.sh	2004-10-09 16:58:01.000000000 +0200
@@ -0,0 +1,20 @@
+# Used by preseed function.
+preseed_fetch () {
+	if [ "${1%/*}" = "/floppy" ]; then
+		mountfloppy || true
+		usedfloppy=1
+	fi
+	
+	if [ ! -e "$1" ] || ! cp "$1" $2; then
+		return 1
+	else
+		return 0
+	fi
+}
+preseed_relative () {
+	if [ -z "${1##/*}" ]; then
+		return 1
+	else	
+		return 0
+	fi
+}
diff -Nurd di-old/debian-installer/packages/preseed/network-preseed.sh di/debian-installer/packages/preseed/network-preseed.sh
--- di-old/debian-installer/packages/preseed/network-preseed.sh	1970-01-01 01:00:00.000000000 +0100
+++ di/debian-installer/packages/preseed/network-preseed.sh	2004-10-09 16:48:34.000000000 +0200
@@ -0,0 +1,23 @@
+# Used by preseed function.
+preseed_fetch () {
+	local url="$1"
+	local file="$2"
+	iters=0
+	while [ $iters -lt 3 ]; do
+		# TODO proxy support? Would it be useful?
+		# TODO add progress bar
+		if wget -q "$url" -O "$file"; then
+			return 0
+		fi
+        	iters=$(($iters + 1))
+	done
+	return 1
+}
+preseed_relative () {
+	if [ -z ${1##*://*} ]; then
+		return 1
+	else
+		return 0
+	fi
+}
+

--===============0810387073==--

---------------------------------------
Received: (at 276001-close) by bugs.debian.org; 17 Dec 2004 08:39:05 +0000
>From troup@newraff.debian.org Fri Dec 17 00:39:05 2004
Return-path: <troup@newraff.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CfDdh-00068y-00; Fri, 17 Dec 2004 00:39:05 -0800
Received: from troup by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CfDan-000667-00; Fri, 17 Dec 2004 03:36:05 -0500
From: Joey Hess <joeyh@debian.org>
To: 276001-close@bugs.debian.org
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#276001: fixed in preseed 1.02
Message-Id: <E1CfDan-000667-00@newraff.debian.org>
Sender: James Troup <troup@newraff.debian.org>
Date: Fri, 17 Dec 2004 03:36:05 -0500
Delivered-To: 276001-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Source: preseed
Source-Version: 1.02

We believe that the bug you reported is fixed in the latest version of
preseed, which is due to be installed in the Debian FTP archive:

file-preseed_1.02_all.udeb
  to pool/main/p/preseed/file-preseed_1.02_all.udeb
initrd-preseed_1.02_all.udeb
  to pool/main/p/preseed/initrd-preseed_1.02_all.udeb
network-preseed_1.02_all.udeb
  to pool/main/p/preseed/network-preseed_1.02_all.udeb
preseed-common_1.02_all.udeb
  to pool/main/p/preseed/preseed-common_1.02_all.udeb
preseed_1.02.dsc
  to pool/main/p/preseed/preseed_1.02.dsc
preseed_1.02.tar.gz
  to pool/main/p/preseed/preseed_1.02.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 276001@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated preseed package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 16 Dec 2004 20:04:01 -0500
Source: preseed
Binary: file-preseed initrd-preseed network-preseed preseed-common
Architecture: source all
Version: 1.02
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 file-preseed - Load debconf preseed file (udeb)
 initrd-preseed - Load debconf preseed file from /preseed.cfg on the initrd (udeb)
 network-preseed - Download debconf preseed file (udeb)
 preseed-common - Common files for preseeding (udeb)
Closes: 276001 283680
Changes: 
 preseed (1.02) unstable; urgency=low
 .
   * Joey Hess
     - Not intended for sarge.
     - Split out preseed-common to allow multiple preseed packages to exist
       on one image w/o replacing each other out of existence. Closes: #283680
     - Add initrd-preseed package, which loads a preseed file (always
       /preseed.cfg if it exists) from the initrd during d-i boot.
       Closes: #276001
   * Updated translations:
     - Bulgarian (bg.po) by Ognyan Kulev
     - Greek, Modern (1453-) (el.po) by Greek Translation Team
     - Finnish (fi.po) by Tapio Lehtonen
     - French (fr.po) by French Team
     - Latvian (lv.po) by Aigars Mahinovs
     - Romanian (ro.po) by Eddy Petrisor
     - Russian (ru.po) by Russian L10N Team
Files: 
 58c2503f4c9f7dc3277a44250681d49b 598 debian-installer optional preseed_1.02.dsc
 cdd7d15cf205ed36f2a7c38b6fdd42fa 21711 debian-installer optional preseed_1.02.tar.gz
 793a8decf3513362269f3513934e313e 9750 debian-installer standard preseed-common_1.02_all.udeb
 b20c43b62be3d61b5a0bb6dca293154b 2360 debian-installer standard network-preseed_1.02_all.udeb
 999cfdf531b98e546914d57ff9242403 2254 debian-installer optional file-preseed_1.02_all.udeb
 3436d366353a576f3f5aa34bf89e5923 894 debian-installer extra initrd-preseed_1.02_all.udeb
package-type: udeb

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

iD8DBQFBwkWb2tp5zXiKP0wRArTaAJwOWMDcSatc7wXtvcuwL/1nwDwj4wCgrjTT
BehstKgZ1AY+RubwftnCPDs=
=NMkf
-----END PGP SIGNATURE-----



Reply to: