mbox series

[isar-cip-core,v2,0/2] fixes overlay with

Message ID 20240819125138.1543399-1-Quirin.Gylstorff@siemens.com (mailing list archive)
Headers show
Series fixes overlay with | expand

Message

Gylstorff Quirin Aug. 19, 2024, 12:51 p.m. UTC
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

This series checks for a e2fsck return value greater than 1 to avoid
recovery in case of a repaired file system[1].
Also it remove the interactive mode in case the recovery script is
triggered.

This fixes issue
https://gitlab.com/cip-project/cip-core/isar-cip-core/-/issues/113.

[1]: https://man7.org/linux/man-pages/man8/e2fsck.8.html#EXIT_CODE

Quirin Gylstorff (2):
  fix: Check return code value of e2fsck
  fix: force mke2fs in overlay recovery action

 .../initramfs-overlay-hook/files/overlay.script.tmpl        | 6 +++++-
 .../files/overlay_recovery_action.script                    | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

Comments

Jan Kiszka Aug. 19, 2024, 12:58 p.m. UTC | #1
On 19.08.24 14:51, Quirin Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> This series checks for a e2fsck return value greater than 1 to avoid
> recovery in case of a repaired file system[1].
> Also it remove the interactive mode in case the recovery script is
> triggered.
> 
> This fixes issue
> https://gitlab.com/cip-project/cip-core/isar-cip-core/-/issues/113.
> 
> [1]: https://man7.org/linux/man-pages/man8/e2fsck.8.html#EXIT_CODE
> 
> Quirin Gylstorff (2):
>   fix: Check return code value of e2fsck
>   fix: force mke2fs in overlay recovery action
> 
>  .../initramfs-overlay-hook/files/overlay.script.tmpl        | 6 +++++-
>  .../files/overlay_recovery_action.script                    | 2 +-
>  2 files changed, 6 insertions(+), 2 deletions(-)
> 

Thanks, both applied.

Jan