mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Increase size of /boot to 512 MiB
Is XFS is being selected as file system, the minimum size requirement is 300 MiB. In order to keep it to a round number, this patch increases the size of /boot to 512 MiB. To keep all systems consistent, we will also do this on systems that are being formatted using different file systems. Fixes: #13077 - xfs cannot installed anymore because boot is to small Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
d92134b818
commit
ffdc6fbba8
@@ -77,9 +77,9 @@ else
|
||||
PART_TYPE = L
|
||||
endif
|
||||
|
||||
# /boot: 256 MB - OFFSET
|
||||
# /boot: 512 MB - OFFSET
|
||||
# / : 1800 MB
|
||||
S_BOOT := $(shell echo $$(( 524288 - $(S_OFFSET) )))
|
||||
S_BOOT := $(shell echo $$(( 1048576 - $(S_OFFSET) )))
|
||||
S_ROOT := 3773292
|
||||
|
||||
ifeq "$(EFI)" "1"
|
||||
|
||||
@@ -490,7 +490,7 @@ static unsigned long long hw_swap_size(struct hw_destination* dest) {
|
||||
}
|
||||
|
||||
static unsigned long long hw_boot_size(struct hw_destination* dest) {
|
||||
return MB2BYTES(256);
|
||||
return MB2BYTES(512);
|
||||
}
|
||||
|
||||
static int hw_device_has_p_suffix(const struct hw_destination* dest) {
|
||||
|
||||
Reference in New Issue
Block a user