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

Bug#375740: marked as done (partman-auto: add support for partman-auto-crypto preseeding)



Your message dated Thu, 31 Aug 2006 23:14:45 +0200
with message-id <20060831211445.GA5314@hardeman.nu>
and subject line No longer relevant
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 ---
Package: partman-auto
Severity: minor
Tags: patch

The attached patch adds support for partman-auto-crypto preseeding. It should be committed once partman-auto-crypto is moved to the d-i trunk.

Regards,
David

Index: debian/changelog
===================================================================
--- debian/changelog	(revision 38467)
+++ debian/changelog	(working copy)
@@ -6,6 +6,9 @@
   * Estonian (et.po) by Siim Põder
   * Polish (pl.po) by Bartosz Fenski
 
+  [ David Härdeman ]
+  * Support preseeding of partman-auto-crypto/disk.
+
  -- Frans Pop <fjp@debian.org>  Mon, 26 Jun 2006 12:04:11 +0200
 
 partman-auto (53) unstable; urgency=low
Index: init.d/initial_auto
===================================================================
--- init.d/initial_auto	(revision 38467)
+++ init.d/initial_auto	(working copy)
@@ -33,7 +33,7 @@
 [ -d /var/lib/partman ] || mkdir /var/lib/partman
 touch /var/lib/partman/initial_auto
 
-# See if a disk to autopartition (either classic or LVM) has been set
+# See if a disk to autopartition (classic, LVM or crypto) has been set
 if db_get partman-auto/disk && [ -n "$RET" ]; then
 	disk="$RET"
 	id=$(dev_to_partman "$disk") || true
@@ -49,6 +49,14 @@
 		autopartition-lvm "$id"
 		exit 0
 	fi
+elif search-path autopartition-crypto && \
+     db_get partman-auto-crypto/disk && [ -n "$RET" ]; then
+	disk="$RET"
+	id=$(dev_to_partman "$disk") || true
+	if [ -n "$id" ]; then
+		autopartition-crypto "$id"
+		exit 0
+	fi
 fi
 
 echo "partman-auto/init_automatically_partition" > /lib/partman/automatically_partition/question

--- End Message ---
--- Begin Message ---
With the two-level menu reorganization, this bug is no longer relevant.

--- End Message ---

Reply to: