Merge pull request #103 from thiblizz/patch-8

fix: "error: format: Identifier id='part_root' not found"
This commit is contained in:
oddlama 2023-11-12 16:58:27 +01:00 committed by GitHub
commit 403c5ef3d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -472,7 +472,7 @@ function create_raid0_luks_layout() {
&& create_raid new_id=part_raid_swap name="swap" level=0 ids="$(expand_ids '^part_swap_dev[[:digit:]]$')" && create_raid new_id=part_raid_swap name="swap" level=0 ids="$(expand_ids '^part_swap_dev[[:digit:]]$')"
create_raid new_id=part_raid_root name="root" level=0 ids="$(expand_ids '^part_root_dev[[:digit:]]$')" create_raid new_id=part_raid_root name="root" level=0 ids="$(expand_ids '^part_root_dev[[:digit:]]$')"
local root_id="part_root" local root_id="part_raid_root"
if [[ "$use_luks" == "true" ]]; then if [[ "$use_luks" == "true" ]]; then
create_luks new_id=part_luks_root name="root" id=part_raid_root create_luks new_id=part_luks_root name="root" id=part_raid_root
root_id="part_luks_root" root_id="part_luks_root"
@ -536,7 +536,7 @@ function create_raid1_luks_layout() {
&& create_raid new_id=part_raid_swap name="swap" level=1 ids="$(expand_ids '^part_swap_dev[[:digit:]]$')" && create_raid new_id=part_raid_swap name="swap" level=1 ids="$(expand_ids '^part_swap_dev[[:digit:]]$')"
create_raid new_id=part_raid_root name="root" level=1 ids="$(expand_ids '^part_root_dev[[:digit:]]$')" create_raid new_id=part_raid_root name="root" level=1 ids="$(expand_ids '^part_root_dev[[:digit:]]$')"
local root_id="part_root" local root_id="part_raid_root"
if [[ "$use_luks" == "true" ]]; then if [[ "$use_luks" == "true" ]]; then
create_luks new_id=part_luks_root name="root" id=part_raid_root create_luks new_id=part_luks_root name="root" id=part_raid_root
root_id="part_luks_root" root_id="part_luks_root"