[v7,0/2] expand-on-first-boot: Switch from resize2fs to systemd-growfs

Message ID 20221026082101.17364-1-henning.schild@siemens.com
Headers show
Series expand-on-first-boot: Switch from resize2fs to systemd-growfs | expand

Message

Henning Schild Oct. 26, 2022, 8:20 a.m. UTC
Diff to v6:
- fix shell script syntax error
- include a patch to actually make the package installable on stretch

Diff to v5:
- keep fallback path for debian stretch simply using old code and rdeps

Original Authors log:

Diff to v1:
- Rewording on patch message ("root partition" --> "last partition",
  added note to systemd-dependency and its impact)
- Added systemd-version dependency
- Removed runtime if case that allowed for non-systemd systems

Diff to v2:
- Version bump to v1.2
- Removed e2fsprogs as dependency

Diff to v3:
- Omit the explicit call to systemd-growfs if a fstab option has been
  found
- Be able to deal with both mounted and unmounted mountpoints

Diff to v4:
- Mount the last partition unconditionally to a tmp dir and let
  systemd-growfs operate there.

Henning Schild (1):
  expand-on-first-boot: fix runtime deps for debian stretch

Tobias Schmidl (1):
  expand-on-first-boot: Switch from resize2fs to systemd-growfs

 ...oot_1.1.bb => expand-on-first-boot_1.2.bb} |  5 +--
 .../files/expand-last-partition.sh            | 31 ++++++++++++++++---
 2 files changed, 29 insertions(+), 7 deletions(-)
 rename meta/recipes-support/expand-on-first-boot/{expand-on-first-boot_1.1.bb => expand-on-first-boot_1.2.bb} (82%)

Comments

Henning Schild Oct. 26, 2022, 8:23 a.m. UTC | #1
I ran a set of manual tests on that. stretch worked and did resize, on
bullseye i tried ext4 and btrfs, worked fine.

Henning

Am Wed, 26 Oct 2022 10:20:59 +0200
schrieb Henning Schild <henning.schild@siemens.com>:

> Diff to v6:
> - fix shell script syntax error
> - include a patch to actually make the package installable on stretch
> 
> Diff to v5:
> - keep fallback path for debian stretch simply using old code and
> rdeps
> 
> Original Authors log:
> 
> Diff to v1:
> - Rewording on patch message ("root partition" --> "last partition",
>   added note to systemd-dependency and its impact)
> - Added systemd-version dependency
> - Removed runtime if case that allowed for non-systemd systems
> 
> Diff to v2:
> - Version bump to v1.2
> - Removed e2fsprogs as dependency
> 
> Diff to v3:
> - Omit the explicit call to systemd-growfs if a fstab option has been
>   found
> - Be able to deal with both mounted and unmounted mountpoints
> 
> Diff to v4:
> - Mount the last partition unconditionally to a tmp dir and let
>   systemd-growfs operate there.
> 
> Henning Schild (1):
>   expand-on-first-boot: fix runtime deps for debian stretch
> 
> Tobias Schmidl (1):
>   expand-on-first-boot: Switch from resize2fs to systemd-growfs
> 
>  ...oot_1.1.bb => expand-on-first-boot_1.2.bb} |  5 +--
>  .../files/expand-last-partition.sh            | 31
> ++++++++++++++++--- 2 files changed, 29 insertions(+), 7 deletions(-)
>  rename
> meta/recipes-support/expand-on-first-boot/{expand-on-first-boot_1.1.bb
> => expand-on-first-boot_1.2.bb} (82%)
>
Anton Mikanovich Oct. 26, 2022, 8:30 a.m. UTC | #2
26.10.2022 11:23, Henning Schild wrote:
> I ran a set of manual tests on that. stretch worked and did resize, on
> bullseye i tried ext4 and btrfs, worked fine.
>
> Henning

Great, thanks for testing. We will also check it and I hope merge soon.

If speaking about stretch itself, we should decide a date of dropping it to
allow downstreams still use it move to the next distro.
Anton Mikanovich Nov. 4, 2022, 12:49 p.m. UTC | #3
26.10.2022 11:20, Henning Schild wrote:
> Diff to v6:
> - fix shell script syntax error
> - include a patch to actually make the package installable on stretch
>
> Diff to v5:
> - keep fallback path for debian stretch simply using old code and rdeps
>
> Original Authors log:
>
> Diff to v1:
> - Rewording on patch message ("root partition" --> "last partition",
>    added note to systemd-dependency and its impact)
> - Added systemd-version dependency
> - Removed runtime if case that allowed for non-systemd systems
>
> Diff to v2:
> - Version bump to v1.2
> - Removed e2fsprogs as dependency
>
> Diff to v3:
> - Omit the explicit call to systemd-growfs if a fstab option has been
>    found
> - Be able to deal with both mounted and unmounted mountpoints
>
> Diff to v4:
> - Mount the last partition unconditionally to a tmp dir and let
>    systemd-growfs operate there.
>
> Henning Schild (1):
>    expand-on-first-boot: fix runtime deps for debian stretch
>
> Tobias Schmidl (1):
>    expand-on-first-boot: Switch from resize2fs to systemd-growfs
>
>   ...oot_1.1.bb => expand-on-first-boot_1.2.bb} |  5 +--
>   .../files/expand-last-partition.sh            | 31 ++++++++++++++++---
>   2 files changed, 29 insertions(+), 7 deletions(-)
>   rename meta/recipes-support/expand-on-first-boot/{expand-on-first-boot_1.1.bb => expand-on-first-boot_1.2.bb} (82%)
>
Applied to next, thanks.