From 4c156745a1d9d5582ad7d5a7f59c74d2b7564ccd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 24 Mar 2026 00:59:59 +0000 Subject: [PATCH 1/2] libxfs: 6.17.0 -> 6.19.0 --- nixos/doc/manual/release-notes/rl-2605.section.md | 3 +++ pkgs/by-name/xf/xfsprogs/package.nix | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2605.section.md b/nixos/doc/manual/release-notes/rl-2605.section.md index d401f76983ea..720d104a7567 100644 --- a/nixos/doc/manual/release-notes/rl-2605.section.md +++ b/nixos/doc/manual/release-notes/rl-2605.section.md @@ -250,6 +250,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/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 = '' From b147b6bdcff549941935cfa3cc3739ce701a4dc7 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Thu, 26 Mar 2026 10:38:16 +0100 Subject: [PATCH 2/2] nixos/tests/installer/lvm: use ext4 boot partition --- nixos/tests/installer.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 892c066c568b..5e54b9f02634 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -1310,7 +1310,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( @@ -1323,11 +1323,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 ''