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

Bug#586870: marked as done (partman-base: use a system-specific default filesystem)



Your message dated Mon, 23 Aug 2010 10:17:38 +0000
with message-id <E1OnU5y-0006vj-EG@franck.debian.org>
and subject line Bug#586870: fixed in partman-base 144
has caused the Debian Bug report #586870,
regarding partman-base: use a system-specific default filesystem
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
586870: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586870
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: partman-base
Version: 141
Severity: normal
Usertags: gsoc2010
Tags: patch

Hello,

Currently the default filesystem is ext3 on all systems. However, Hurd
only supports ext2 and kFreeBSD requires ufs as its root filesystem.
The attached patch sets a system-specific default, provided none has
been preseeded.

An alternative approach would be to load a system-specific "pre-preseed"
file at the beginning of the installation, though I'm not sure what
other configuration items would need system-specific defaults.

My suggestion would be to use my patch as a first step and review the
situation when/if more system-specific defaults prove to be necessary.

Any thoughts? (or irrepressible urges to commit my patch? :-)

Thanks,
-- 
Jeremie Koenig <jk@jk.fr.eu.org>
http://jk.fr.eu.org
Index: partman-base/debian/changelog
===================================================================
--- partman-base/debian/changelog	(revision 63538)
+++ partman-base/debian/changelog	(working copy)
@@ -1,9 +1,14 @@
 partman-base (142) UNRELEASED; urgency=low
 
+  [ Colin Watson ]
   * Add ALIGNMENT_OFFSET to partman-command.
 
- -- Colin Watson <cjwatson@debian.org>  Sat, 08 May 2010 15:20:19 +0200
+  [ Jeremie Koenig ]
+  * Set a system-specific value for partman/default_filesystem if none has been
+    preseeded.
 
+ -- Jeremie Koenig <jk@jk.fr.eu.org>  Wed, 16 Jun 2010 18:08:50 +0200
+
 partman-base (141) unstable; urgency=low
 
   * parted 2.1 changed the semantics of ped_disk_clobber: it now zeroes out
Index: partman-base/init.d/default_filesystem
===================================================================
--- partman-base/init.d/default_filesystem	(revision 0)
+++ partman-base/init.d/default_filesystem	(revision 0)
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+. /usr/share/debconf/confmodule
+
+db_fget partman/default_filesystem seen
+if [ "$RET" != "false" ]; then
+	exit 0
+fi
+
+case "$(udpkg --print-os)" in
+    "kfreebsd")
+	db_set partman/default_filesystem ufs
+	;;
+    "hurd")
+	db_set partman/default_filesystem ext2
+	;;
+esac
+
+db_fset partman/default_filesystem seen true
+

Property changes on: partman-base/init.d/default_filesystem
___________________________________________________________________
Added: svn:executable
   + *

Index: partman-base/init.d/_numbers
===================================================================
--- partman-base/init.d/_numbers	(revision 63538)
+++ partman-base/init.d/_numbers	(working copy)
@@ -1,5 +1,6 @@
 01 early_command
 10 umount_target
+20 default_filesystem
 30 parted
 35 dump
 70 update_partitions

--- End Message ---
--- Begin Message ---
Source: partman-base
Source-Version: 144

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

partman-base_144.dsc
  to main/p/partman-base/partman-base_144.dsc
partman-base_144.tar.gz
  to main/p/partman-base/partman-base_144.tar.gz
partman-base_144_amd64.udeb
  to main/p/partman-base/partman-base_144_amd64.udeb
partman-utils_144_amd64.udeb
  to main/p/partman-base/partman-utils_144_amd64.udeb



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 586870@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated partman-base 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.8
Date: Mon, 23 Aug 2010 11:54:35 +0200
Source: partman-base
Binary: partman-base partman-utils
Architecture: source amd64
Version: 144
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description: 
 partman-base - Partition the storage devices (partman) (udeb)
 partman-utils - Utilities related to partitioning (udeb)
Closes: 586870
Changes: 
 partman-base (144) unstable; urgency=low
 .
   [ Jeremie Koenig ]
   * debian/rules: add a case for Hurd's DEFAULT_FS (closes: #586870).
 .
   [ Updated translations ]
   * Asturian (ast.po) by maacub
   * Bulgarian (bg.po) by Damyan Ivanov
   * Danish (da.po) by Jacob Sparre Andersen
   * Serbian (sr.po) by Karolina Kalic
Checksums-Sha1: 
 cbaf0243f23ae67240f65c62284723ab5f6a59b9 1010 partman-base_144.dsc
 dd4063e856615c2f96ca9362c252eb6e4ea3e350 185612 partman-base_144.tar.gz
 3169886fbaa864bd3ec2c407bf4f392c1d4a9276 144168 partman-base_144_amd64.udeb
 099385cf9a114327c3b501c3c8086cc288e64d8e 3828 partman-utils_144_amd64.udeb
Checksums-Sha256: 
 c3e22256954f2efd6042cd36136720ca97119873e727455c64b84797d71eac8e 1010 partman-base_144.dsc
 43402048f1f982588c53997041021fb0abd9a9ad23b7e8f739231923ac58ba06 185612 partman-base_144.tar.gz
 15667b7fcdcc642b96008d08694ef445c02560b6e7e65465a299ee9179d8ae85 144168 partman-base_144_amd64.udeb
 ae13d8bdadf8379d21739e50837a6709b3fabbbd6c4c941f843f3430811fde9a 3828 partman-utils_144_amd64.udeb
Files: 
 b8cbf8fefebc09ed6d0223d0153f7298 1010 debian-installer standard partman-base_144.dsc
 061dbab42014df4e9d9ebf206cbdde0f 185612 debian-installer standard partman-base_144.tar.gz
 3cb64f3713e624e8254c7fcdb3f27d99 144168 debian-installer standard partman-base_144_amd64.udeb
 610aacad74ec4bdfed7e0d9865eb3238 3828 debian-installer extra partman-utils_144_amd64.udeb
Package-Type: udeb

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

iD8DBQFMckahw3ao2vG823MRAtfUAJ93vxoZ0TQq1fTkafDj3p4CL3M/UwCfSQR/
Ct8/Hjl8zL6dW0Ch4FoBlKY=
=wZHL
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: