diff --git a/nixos/doc/manual/release-notes/rl-2605.section.md b/nixos/doc/manual/release-notes/rl-2605.section.md index 911eb063af97..f883372fd450 100644 --- a/nixos/doc/manual/release-notes/rl-2605.section.md +++ b/nixos/doc/manual/release-notes/rl-2605.section.md @@ -303,6 +303,9 @@ See . - SQLite paths are now relative to `service.rootpath` unless absolute. Startup now validates file storage and OAuth providers. +- `xfsprogs` was updated to version 6.18.0, which enables parent pointers and exchange-range by default. Upstream recommends not to use these features with kernels older than 6.18. + GRUB2 is likely unable to boot from filesystems with these features enabled. + - `lunarvim` package has been removed, as it was abandoned upstream and relied on an old version of `neovim` to work properly. - `opengfw` package and `services.opengfw` module have been removed as the upstream GitHub repository and website have been shut down. diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 15a8f86ec601..b97f45739f7e 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -1323,7 +1323,7 @@ in }; # Create two physical LVM partitions combined into one volume group - # that contains the logical swap and root partitions. + # that contains the logical swap, boot and root partitions. lvm = makeInstallerTest "lvm" { createPartitions = '' installer.succeed( @@ -1336,11 +1336,15 @@ in "pvcreate /dev/vda1 /dev/vda2", "vgcreate MyVolGroup /dev/vda1 /dev/vda2", "lvcreate --size 1G --name swap MyVolGroup", - "lvcreate --size 6G --name nixos MyVolGroup", + "lvcreate --size 1G --name boot MyVolGroup", + "lvcreate --size 5G --name nixos MyVolGroup", "mkswap -f /dev/MyVolGroup/swap -L swap", "swapon -L swap", + "mkfs.ext4 -L boot /dev/MyVolGroup/boot", "mkfs.xfs -L nixos /dev/MyVolGroup/nixos", "mount LABEL=nixos /mnt", + "mkdir /mnt/boot", + "mount LABEL=boot /mnt/boot", ) ''; extraConfig = optionalString systemdStage1 '' diff --git a/pkgs/by-name/xf/xfsprogs/package.nix b/pkgs/by-name/xf/xfsprogs/package.nix index 567261f2521d..ed780f6ecd4c 100644 --- a/pkgs/by-name/xf/xfsprogs/package.nix +++ b/pkgs/by-name/xf/xfsprogs/package.nix @@ -17,11 +17,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "xfsprogs"; - version = "6.17.0"; + version = "6.19.0"; src = fetchurl { url = "mirror://kernel/linux/utils/fs/xfs/xfsprogs/xfsprogs-${finalAttrs.version}.tar.xz"; - hash = "sha256-Ww9WqB9kEyYmb3Yq6KVjsp2Vzbzag7x5OPaM4SLx7dk="; + hash = "sha256-87DXWO04ArIPg4/vxCu/9DHg8N8v4DzVDQqkrYbc0Pw="; }; postPatch = ''