Your message dated Mon, 25 Aug 2008 19:32:05 +0000 with message-id <E1KXhnJ-000222-Tf@ries.debian.org> and subject line Bug#484272: fixed in partman-auto-lvm 29 has caused the Debian Bug report #484272, regarding partman-auto-lvm: Should support for explicit logical volume names in recipes 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.) -- 484272: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484272 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: partman-auto-lvm: Should support for explicit logical volume names in recipes
- From: Jérémy Bobbio <lunar@debian.org>
- Date: Tue, 3 Jun 2008 13:15:37 +0200
- Message-id: <20080603111537.GA11950@qamar>
- Mail-followup-to: Debian Bug Tracking System <submit@bugs.debian.org>
Package: partman-auto-lvm Version: 27 Severity: wishlist Tags: patch The attached patch adds support for explicitely preseeding a logical volume name (instead of computing one) in recipes. This is done by using "lvname{ <name> }", which fits nicely with the "vgname" option proposed in Grégory Oestreicher's patch in #462396. (No test was done with both patches applied, though.) Cheers, -- Jérémy Bobbio .''`. lunar@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-commit 8f27d9d47f34903e8ba5fa613f6c4c525194e22c Author: Jérémy Bobbio <lunar@debian.org> Date: Tue Jun 3 11:09:23 2008 +0000 Add support for preseeding logical volume names directly partman-auto-lvm now support the direct preseeding of a logical volume names (instead of computing one) using "lvname{ <name> }" in the recipe. diff --git a/packages/partman/partman-auto-lvm/debian/changelog b/packages/partman/partman-auto-lvm/debian/changelog index 7200752..72a8a76 100644 --- a/packages/partman/partman-auto-lvm/debian/changelog +++ b/packages/partman/partman-auto-lvm/debian/changelog @@ -1,3 +1,11 @@ +partman-auto-lvm (28) UNRELEASED; urgency=low + + [ Jérémy Bobbio ] + * Add support for preseeding logical volume names directly using + lvname{ <name> } in the recipe. + + -- Jérémy Bobbio <lunar@debian.org> Tue, 03 Jun 2008 11:06:17 +0000 + partman-auto-lvm (27) unstable; urgency=low [ Updated translations ] diff --git a/packages/partman/partman-auto-lvm/perform_recipe_by_lvm b/packages/partman/partman-auto-lvm/perform_recipe_by_lvm index c530104..c466b52 100755 --- a/packages/partman/partman-auto-lvm/perform_recipe_by_lvm +++ b/packages/partman/partman-auto-lvm/perform_recipe_by_lvm @@ -48,7 +48,11 @@ db_progress STEP 1 name_number=1 foreach_partition ' - if echo $* | grep -q "mountpoint{"; then + if echo $* | grep -q "lvname{"; then + lvname=$(echo $* | sed \ + -e "s/.*lvname{ *\([^ }]*\) *}.*/\1/g" + ) + elif echo $* | grep -q "mountpoint{"; then lvname=$(echo $* | sed \ -e "s/.*mountpoint{ *\([^ }]*\) *}.*/\1/g" \ -e "s!//!/!g" \Attachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: 484272-close@bugs.debian.org
- Subject: Bug#484272: fixed in partman-auto-lvm 29
- From: Jérémy Bobbio <lunar@debian.org>
- Date: Mon, 25 Aug 2008 19:32:05 +0000
- Message-id: <E1KXhnJ-000222-Tf@ries.debian.org>
Source: partman-auto-lvm Source-Version: 29 We believe that the bug you reported is fixed in the latest version of partman-auto-lvm, which is due to be installed in the Debian FTP archive: partman-auto-lvm_29.dsc to pool/main/p/partman-auto-lvm/partman-auto-lvm_29.dsc partman-auto-lvm_29.tar.gz to pool/main/p/partman-auto-lvm/partman-auto-lvm_29.tar.gz partman-auto-lvm_29_all.udeb to pool/main/p/partman-auto-lvm/partman-auto-lvm_29_all.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 484272@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jérémy Bobbio <lunar@debian.org> (supplier of updated partman-auto-lvm 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, 25 Aug 2008 21:05:34 +0200 Source: partman-auto-lvm Binary: partman-auto-lvm Architecture: source all Version: 29 Distribution: unstable Urgency: low Maintainer: Debian Install System Team <debian-boot@lists.debian.org> Changed-By: Jérémy Bobbio <lunar@debian.org> Description: partman-auto-lvm - Automatically partition storage devices using LVM (udeb) Closes: 385220 462396 484272 Changes: partman-auto-lvm (29) unstable; urgency=low . [ Christian Perrier ] * Add translation sublevel markers to debconf templates. . [ Jérémy Bobbio ] * Use convert_to_megabytes() in auto_lvm_prepare(). Depends: partman-base (>= 125) * Replace $devfs_pvdevices by $pv_devices in auto_lvm_prepare() and remove devfs resolving in autopartition-lvm. Depends: partman-auto (>= 81) * Call get_last_free_partition_infos() after auto_init_disk(). Depends: partman-auto (>= 81) * Use auto_init_disks() instead of auto_init_disk(). Depends: partman-auto (>= 81) * Add support for preseeding logical volume names directly using lv_name{ <name> } in the recipe. (Closes: #484272) * Add support for preseeding multiple disks, specifiying explicit partitions to hold Physical Volumes, specifying Volume Group names and specifiying in which VG Logical Volumes should be created. (Closes: #385220, #462396) Based on a patch by Grégory Oestreicher. . [ Updated translations ] * Arabic (ar.po) by Ossama M. Khayat * Bulgarian (bg.po) by Damyan Ivanov * Czech (cs.po) by Miroslav Kure * Dzongkha (dz.po) by Jurmey Rabgay(Bongop) (DIT,BHUTAN) * Greek, Modern (el.po) by Emmanuel Galatoulas * Basque (eu.po) by Piarres Beobide * Finnish (fi.po) by Esko Arajärvi * French (fr.po) by Christian Perrier * Galician (gl.po) by Jacobo Tarrio * Gujarati (gu.po) by Kartik Mistry * Italian (it.po) by Milo Casagrande * Japanese (ja.po) by Kenshi Muto * Kurdish (ku.po) by Erdal Ronahi * Lithuanian (lt.po) by Kęstutis Biliūnas * Malayalam (ml.po) by Praveen|പ്രവീണ് A|എ * Marathi (mr.po) by Sampada * Norwegian Bokmål (nb.po) by Hans Fredrik Nordhaug * Portuguese (pt.po) by Miguel Figueiredo * Portuguese (Brazil) (pt_BR.po) by Felipe Augusto van de Wiel (faw) * Romanian (ro.po) by Eddy Petrișor * Russian (ru.po) by Yuri Kozlov * Slovak (sk.po) by Ivan Masár * Swedish (sv.po) by Daniel Nylander * Thai (th.po) by Theppitak Karoonboonyanan * Turkish (tr.po) by Mert Dirik * Traditional Chinese (zh_TW.po) by Tetralet Checksums-Sha1: 833f19a16e35d13549edc4c96104f760ec5fcdcd 923 partman-auto-lvm_29.dsc 7fec92eb89d262b643fb7c8a982af7764d18efce 73534 partman-auto-lvm_29.tar.gz 2259f7dc32098ba28edbdfd5c563590c473f04af 48880 partman-auto-lvm_29_all.udeb Checksums-Sha256: e36754d7ffffe6d908a4c7db9314aa531bbca554fd9147000971d16b76b672f8 923 partman-auto-lvm_29.dsc 56b33a8e7a45a260b2510b6515089895012ca09d0cc23dcf86be358a42716e49 73534 partman-auto-lvm_29.tar.gz 70a6cd22146e70f1da4d7b5d1d0543b7cce3a7d5909ab577370aa1dcbc05bdc0 48880 partman-auto-lvm_29_all.udeb Files: 4f67decc5a0d71e1ccf3eab692eff604 923 debian-installer optional partman-auto-lvm_29.dsc c48f1b56d9611ea4f1bb9f53b8755af2 73534 debian-installer optional partman-auto-lvm_29.tar.gz fa66db0c1c371085af90234c97692d3d 48880 debian-installer optional partman-auto-lvm_29_all.udeb Package-Type: udeb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIswcP2PUjs9fQ72URAlFYAJ0WrEP1DoDhvJjJpa6RDm2umMkVRACgpiWQ OBhVFrpPQDbsGjHQkzuMSOo= =rc97 -----END PGP SIGNATURE-----
--- End Message ---