Unlike all the other partman-$fs, the apt-install call for the $fs
user space tools in partman-lvm is done in post-base-installer.d, instead
of in finish.d.
It should be consistent with all the other partman-$fs tools, and make that
call in finish.d
This affect ubiquity d-i frontend in ubuntu.
I don't see any good reasons why this is done in post-base-installer.d
and ask you to consider moving it to more generic partman location - finish.d
Kernel: Linux 3.5.0-3-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
*** 0001-Move-apt-install-lvm2-from-post-base-installer.d-to-.patch
- From e60b6add2b44e64a972a91a4838e39fd12f52fa4 Mon Sep 17 00:00:00 2001
From: Dmitrijs Ledkovs <email address hidden>
Date: Fri, 6 Jul 2012 17:55:26 +0100
Subject: [PATCH] Move apt-install lvm2 from post-base-installer.d to finish.d
as all other partman-$fs do the same.
Imported from Debian bug http:// bugs.debian. org/680542:
Package: partman-lvm
Version: 79
Severity: normal
Tags: patch
User: <email address hidden>
Usertags: origin-ubuntu quantal ubuntu-patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Unlike all the other partman-$fs, the apt-install call for the $fs installer. d, instead
user space tools in partman-lvm is done in post-base-
of in finish.d.
It should be consistent with all the other partman-$fs tools, and make that
call in finish.d
This affect ubiquity d-i frontend in ubuntu.
I don't see any good reasons why this is done in post-base- installer. d
and ask you to consider moving it to more generic partman location - finish.d
- -- System Information: security' ), (500, 'quantal'), (100, 'quantal- backports' )
Debian Release: wheezy/sid
APT prefers quantal-updates
APT policy: (500, 'quantal-updates'), (500, 'quantal-
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.5.0-3-generic (SMP w/4 CPU cores) en_GB.UTF- 8 (charmap=UTF-8)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=
Shell: /bin/sh linked to /bin/dash
*** 0001-Move- apt-install- lvm2-from- post-base- installer. d-to-.patch a972a91a4838e39 fd12f52fa4 Mon Sep 17 00:00:00 2001 installer. d to finish.d
- From e60b6add2b44e64
From: Dmitrijs Ledkovs <email address hidden>
Date: Fri, 6 Jul 2012 17:55:26 +0100
Subject: [PATCH] Move apt-install lvm2 from post-base-
as all other partman-$fs do the same.
- --- d/aptinstall_ lvm | 11 +++++++++++ installer. d/64partman- lvm | 11 ----------- d/aptinstall_ lvm installer. d/64partman- lvm
debian/changelog | 7 +++++++
finish.d/_numbers | 1 +
finish.
post-base-
4 files changed, 19 insertions(+), 11 deletions(-)
create mode 100644 finish.d/_numbers
create mode 100755 finish.
delete mode 100755 post-base-
diff --git a/debian/changelog b/debian/changelog installer. d to finish.d
index b2b0ca2..e487b07 100644
- --- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+partman-lvm (80) UNRELEASED; urgency=low
+
+ * Move apt-install lvm2 from post-base-
+ as all other partman-$fs do the same.
+
+ -- Dmitrijs Ledkovs <email address hidden> Fri, 06 Jul 2012 17:36:32 +0100
+
partman-lvm (79) unstable; urgency=low
* Team upload d/aptinstall_ lvm b/finish. d/aptinstall_ lvm d/aptinstall_ lvm FD_WARNINGS= 1 base-installer. d/64partman- lvm b/post- base-installer. d/64partman- lvm base-installer. d/64partman- lvm FD_WARNINGS= 1
diff --git a/finish.d/_numbers b/finish.d/_numbers
new file mode 100644
index 0000000..02a8903
- --- /dev/null
+++ b/finish.d/_numbers
@@ -0,0 +1 @@
+70 aptinstall_lvm
diff --git a/finish.
new file mode 100755
index 0000000..dca4464
- --- /dev/null
+++ b/finish.
@@ -0,0 +1,11 @@
+#! /bin/sh
+set -e
+
+if grep -q " device-mapper$" /proc/misc; then
+ # Avoid warnings from lvm2 tools about open file descriptors
+ export LVM_SUPPRESS_
+
+ if pvdisplay | grep -iq "physical volume ---"; then
+ apt-install lvm2
+ fi
+fi
diff --git a/post-
deleted file mode 100755
index dca4464..0000000
- --- a/post-
+++ /dev/null
@@ -1,11 +0,0 @@
- -#! /bin/sh
- -set -e
- -
- -if grep -q " device-mapper$" /proc/misc; then
- - # Avoid warnings from lvm2 tools about open file descriptors
- - export LVM_SUPPRESS_
- -
- - if pvdisplay | grep -iq "physical volume ---"; then
- - apt-install lvm2
- - fi
- -fi
- --
1.7.10.4
-----BEGIN PGP SIGNATURE-----
P9xo6AAoJEIh7YG GLPBau+ /cP/3Ff4AEPAem4 V2OPelO3Pn76 XWd1oFgzkTxwcQ/ tRSqg0dny8ppiB9 CXBKyGu2f0NbcUD 0pF6 vKSjx2WiwxXVi+ jBWBpdGS7DhaUxl /draKnKgiMAmIUN johJs vWNpbchsPgOz6QV T3ix7EThFWPLgTg TO1wxcE3FSIAx6K e0Kg QPmsfuSz60Q5/ Vb7uO1HpvrZa6bq niFaEXD0ZX3SSrZ GCNOz3 u/8VoKvXG53kIiB aZ7f1U3P5XiwcR9 TE6j0huFaLvKqEb WyQg k3pR80UbX8jOXzI tZnYBS9uvLsC0UT eGzOLxdJXe5khfQ 7dIp Yn8xYm3TxmZXUaK /grINZDJc7tQ24i 1vWb3POruXPKMms 5ElGf+ Xw/+CnZ3IT24JLq g+3j3OAasSZusAQ Kw9RFEmbxyyV5gl ZIgBqzBSc oF5RxQf8Ky/ CknB21z3K2pGl7P d6HklpqL6OB8kgw UvtZFyvx qm6cAVnaENP8VEq XZHvZl9bv8TzoAI PYnQ2cKA3axukk0 ddRW jpkaK
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJ
+DpSZWdlIWWur7R
WrU3bc9yavhzZOd
M2VD/EuLrXNA7Wb
VaGbL3BhwwxZDgT
ALSEgI4RUppGOSq
mR7tikkzjTDekyw
3kleK399XHEs+
ueK/ZvfgP/
sMXFC0yo99C0t8u
1nD/GgeMyhl5oqx
7XjYq+j2CunaELk
=LDdJ
-----END PGP SIGNATURE-----