kickseed partition handler "forgets" about LVM physical volumes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-installer (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi Everyone,
When kickstarting Ubuntu Precise x64 (I haven't tested with any other version) I was unable to get the installer to recognize more than one volume group unless I specify each volume group immediately after its partition definition. What I mean by that is this:
part pv.01 --size 40960 --asprimary --fstype ext3 --ondisk=1
part pv.02 --size 1 --asprimary --fstype ext3 --ondisk=1 --grow
volgroup sysvg1 pv.01
volgroup usrvg1 pv.02
does not work, but this:
part pv.01 --size 40960 --asprimary --fstype ext3 --ondisk=1
volgroup sysvg1 pv.01
part pv.02 --size 1 --asprimary --fstype ext3 --ondisk=1 --grow
volgroup usrvg1 pv.02
does.
The problem appears to be in handlers/
diff --git a/handlers/
index b3a4ea5..48b7638 100644
--- a/handlers/
+++ b/handlers/
@@ -18,6 +18,7 @@ volgroup_
if [ "$want_pvname" = "$got_pvname" ]; then
partition
else
+ [ -n "$got_pvname" ] && line="$line \$pending_lvm{ $got_pvname }"
rest=
fi
line=