diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-05 12:44:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-05 12:44:53 +0000 |
commit | fd9c9852aee4c6e07635f340a12eba96ba4fc144 (patch) | |
tree | 22b34496fe40c721021a61602c53ffbc9539aed5 | |
parent | 0c04500418edb08a0d45dda529101decd8a88885 (diff) | |
download | alpine-conf-fd9c9852aee4c6e07635f340a12eba96ba4fc144.zip |
setup-disk: cleanup. remove raid_part_type variable
Not needed.
-rw-r--r-- | setup-disk.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/setup-disk.in b/setup-disk.in index 0aaad20..d80b843 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -605,7 +605,6 @@ data_only_disk_install_lvm() { local vgname=vg0 local var_dev=/dev/$vgname/lv_var local lvm_part_type="8e" - local raid_part_type="fd" local part_type=$lvm_part_type local size= @@ -613,7 +612,8 @@ data_only_disk_install_lvm() { confirm_erase $@ || return 1 if [ "$USE_RAID" ]; then - part_type=$raid_part_type + # the paritition type for raid is "fd" + part_type="fd" stop_all_raid fi @@ -688,7 +688,6 @@ setup_root() { native_disk_install_lvm() { local diskdev= vgname=vg0 local lvm_part_type="8e" - local raid_part_type="fd" local boot_part_type="83" local boot_size=${BOOT_SIZE:-100} local lvm_size= |