This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, core126 has been updated
via 98947f44fc603465178e17c59043cbfb935f157d (commit)
from ed4bbe44d121480e56c817f42f797423507c7630 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 98947f44fc603465178e17c59043cbfb935f157d
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Tue Dec 11 20:43:24 2018 +0000
installer: Intialize part_boot_efi_idx
This variable was not initialized on systems where EFI was not
in use. Therefore the generated parted command line was not
valid and caused the installation to abort.
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
src/installer/hw.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Difference in files:
diff --git a/src/installer/hw.c b/src/installer/hw.c
index b329db545..71a1f1cce 100644
--- a/src/installer/hw.c
+++ b/src/installer/hw.c
@@ -547,8 +547,10 @@ static int hw_calculate_partition_table(struct hw* hw, struct hw_destination* de
snprintf(dest->part_boot_efi, sizeof(dest->part_boot_efi),
"%s%d", path, part_idx++);
- } else
+ } else {
*dest->part_boot_efi = '\0';
+ dest->part_boot_efi_idx = 0;
+ }
if (dest->size_swap > 0)
snprintf(dest->part_swap, sizeof(dest->part_swap), "%s%d", path, part_idx++);
hooks/post-receive
--
IPFire 2.x development tree