Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd-boot-manager: Cleanup series #317

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Commits on Aug 28, 2024

  1. systemd-boot-manager: Some cleanups

    Signed-off-by: Vasiliy Stelmachenok <[email protected]>
    ventureoo committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    8f88ef0 View commit details
    Browse the repository at this point in the history
  2. systemd-boot-manager: Remove discard flag for Btrfs

    discard=async is the default for 6.2+ kernels, so there is no need to
    specify it  here.
    
    Signed-off-by: Vasiliy Stelmachenok <[email protected]>
    ventureoo committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    1006421 View commit details
    Browse the repository at this point in the history
  3. systemd-boot-manager: Remove resume options

    This is already automatically managed by systemd and resume hook in
    initramfs.
    ventureoo committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    361a90b View commit details
    Browse the repository at this point in the history
  4. systemd-boot-manager: Rework logic for specifying root parameters

    I don't see any sense in rootfs that not having a UUID/PARTUUID. It's
    also normal practice to specify a UUID as root, so make that the
    default.
    
    Signed-off-by: Vasiliy Stelmachenok <[email protected]>
    ventureoo committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    3d3b6d5 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. systemd-boot-manager: Remove discard option for crypted devices

    For LUKS2 (which we use by default for systemd-boot installations), it's
    possible to do without specifying kernel parameters using cryptsetup
    (https://wiki.archlinux.org/title/Dm-crypt/Specialties#LUKS2) and fstab
    flags. Also note that TRIM may not be desirable on encrypted partitions
    and may pose potential security risks.
    
    Signed-off-by: Vasiliy Stelmachenok <[email protected]>
    ventureoo committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c6abebb View commit details
    Browse the repository at this point in the history
  2. sdboot-manage: Completely remove discard options

    Continuous TRIM is not recommended for use on many file systems and can
    cause problems. Users should use fstrim service and fstrim.timer
    instead.
    
    [1] - https://wiki.archlinux.org/title/Solid_state_drive#TRIM
    
    Signed-off-by: Vasiliy Stelmachenok <[email protected]>
    ventureoo committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    79abdb4 View commit details
    Browse the repository at this point in the history
  3. systemd-boot-manager: Refactor handling for encrypted partitions

    Signed-off-by: Vasiliy Stelmachenok <[email protected]>
    ventureoo committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    8590a74 View commit details
    Browse the repository at this point in the history
  4. systemd-boot-manager: Remove redundant CONSTRUCTED_LINUX_OPTIONS

    Signed-off-by: Vasiliy Stelmachenok <[email protected]>
    ventureoo committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    ade2488 View commit details
    Browse the repository at this point in the history
  5. systemd-boot-manager.conf: Cleanup parameters that are no longer used

    Signed-off-by: Vasiliy Stelmachenok <[email protected]>
    ventureoo committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    dd28c4f View commit details
    Browse the repository at this point in the history
  6. systemd-boot-manager: Update package

    Signed-off-by: Vasiliy Stelmachenok <[email protected]>
    ventureoo committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    9143388 View commit details
    Browse the repository at this point in the history