Move get_last_free_partition_infos() out of auto_init_disk()
autopartition and auto_lvm_prepare() has been updated accordingly.
Based on a patch by Grégory Oestreicher.
r55260
Jérémy Bobbio
15 years ago
18 | 18 |
choose_recipe default "$target" "$free_size" || exit $?
|
19 | 19 |
|
20 | 20 |
auto_init_disk "$dev" || exit $?
|
|
21 |
get_last_free_partition_infos $dev
|
21 | 22 |
else
|
22 | 23 |
# Two parameters, being run on selected free space.
|
23 | 24 |
free_space=$2
|
12 | 12 |
LVM.
|
13 | 13 |
* Call prepare_new_labels() before calling create_new_label().
|
14 | 14 |
Depends: partman-partitioning (>= 62)
|
|
15 |
* Move get_last_free_partition_infos() out of auto_init_disk() in
|
|
16 |
lib/auto-shared.sh. autopartition has been updated accordingly.
|
|
17 |
Based on a patch by Grégory Oestreicher.
|
|
18 |
Breaks: partman-auto-lvm (<< 29)
|
15 | 19 |
|
16 | 20 |
-- Jérémy Bobbio <[email protected]> Fri, 01 Aug 2008 22:49:11 +0000
|
17 | 21 |
|
7 | 7 |
. /lib/partman/lib/disk-label.sh
|
8 | 8 |
prepare_new_labels "$dev" || return 1
|
9 | 9 |
create_new_label "$dev" no || return 1
|
|
10 |
}
|
|
11 |
|
|
12 |
get_last_free_partition_infos() {
|
|
13 |
local dev
|
|
14 |
dev="$1"
|
10 | 15 |
|
11 | 16 |
cd $dev
|
12 | 17 |
|