flash-images: Increase size of the /boot partition

Message ID 20220807120604.850678-1-michael.tremer@ipfire.org
State Accepted
Commit ca119bb268d98a0afef7819fa23e16332dd6d07e
Headers
Series flash-images: Increase size of the /boot partition |

Commit Message

Michael Tremer Aug. 7, 2022, 12:06 p.m. UTC
  Same as change to the installer.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/flash-images | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Peter Müller Aug. 8, 2022, 10:11 a.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> Same as change to the installer.
> 
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
>  lfs/flash-images | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lfs/flash-images b/lfs/flash-images
> index 8a033c310..b4fde8dd9 100644
> --- a/lfs/flash-images
> +++ b/lfs/flash-images
> @@ -77,9 +77,9 @@ else
>   PART_TYPE = L
>  endif
>  
> -# /boot:  128MB - OFFSET
> +# /boot:  256 MB - OFFSET
>  # /    : 1800 MB
> -S_BOOT := $(shell echo $$(( 262144 - $(S_OFFSET) )))
> +S_BOOT := $(shell echo $$(( 524288 - $(S_OFFSET) )))
>  S_ROOT := 3773292
>  
>  ifeq "$(EFI)" "1"
  
Arne Fitzenreiter Aug. 8, 2022, 2:19 p.m. UTC | #2
The image now doesn't fit on 2GB cards. We should update the image name 
to 4GB.

Arne

Am 2022-08-07 14:06, schrieb Michael Tremer:
> Same as change to the installer.
> 
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
>  lfs/flash-images | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lfs/flash-images b/lfs/flash-images
> index 8a033c310..b4fde8dd9 100644
> --- a/lfs/flash-images
> +++ b/lfs/flash-images
> @@ -77,9 +77,9 @@ else
>   PART_TYPE = L
>  endif
> 
> -# /boot:  128MB - OFFSET
> +# /boot:  256 MB - OFFSET
>  # /    : 1800 MB
> -S_BOOT := $(shell echo $$(( 262144 - $(S_OFFSET) )))
> +S_BOOT := $(shell echo $$(( 524288 - $(S_OFFSET) )))
>  S_ROOT := 3773292
> 
>  ifeq "$(EFI)" "1"
  
Michael Tremer Aug. 8, 2022, 2:20 p.m. UTC | #3
Hello,

I noticed that when I edited the file. I doubt that it would have fitted properly before.

I will take care of this and submit a patch later.

-Michael

> On 8 Aug 2022, at 15:19, Arne Fitzenreiter <arne_f@ipfire.org> wrote:
> 
> The image now doesn't fit on 2GB cards. We should update the image name to 4GB.
> 
> Arne
> 
> Am 2022-08-07 14:06, schrieb Michael Tremer:
>> Same as change to the installer.
>> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
>> ---
>> lfs/flash-images | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>> diff --git a/lfs/flash-images b/lfs/flash-images
>> index 8a033c310..b4fde8dd9 100644
>> --- a/lfs/flash-images
>> +++ b/lfs/flash-images
>> @@ -77,9 +77,9 @@ else
>>  PART_TYPE = L
>> endif
>> -# /boot:  128MB - OFFSET
>> +# /boot:  256 MB - OFFSET
>> # /    : 1800 MB
>> -S_BOOT := $(shell echo $$(( 262144 - $(S_OFFSET) )))
>> +S_BOOT := $(shell echo $$(( 524288 - $(S_OFFSET) )))
>> S_ROOT := 3773292
>> ifeq "$(EFI)" "1"
  

Patch

diff --git a/lfs/flash-images b/lfs/flash-images
index 8a033c310..b4fde8dd9 100644
--- a/lfs/flash-images
+++ b/lfs/flash-images
@@ -77,9 +77,9 @@  else
  PART_TYPE = L
 endif
 
-# /boot:  128MB - OFFSET
+# /boot:  256 MB - OFFSET
 # /    : 1800 MB
-S_BOOT := $(shell echo $$(( 262144 - $(S_OFFSET) )))
+S_BOOT := $(shell echo $$(( 524288 - $(S_OFFSET) )))
 S_ROOT := 3773292
 
 ifeq "$(EFI)" "1"