Skip to content

Commit a4f1c52

Browse files
committed
feat: update GRUB to 2.14
It looks like xfs with modern 6.18 settings is supported with GRUB 2.14 now. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
1 parent 5629207 commit a4f1c52

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ EMBED_TARGET ?= embed
2727
TOOLS_PREFIX ?= ghcr.io/siderolabs/tools
2828
TOOLS ?= v1.13.0-alpha.0-8-g98c699e
2929
PKGS_PREFIX ?= ghcr.io/siderolabs
30-
PKGS ?= v1.13.0-alpha.0-35-g375983f
30+
PKGS ?= v1.13.0-alpha.0-37-g1b4fbf5
3131
GENERATE_VEX_PREFIX ?= ghcr.io/siderolabs/generate-vex
3232
GENERATE_VEX ?= latest
3333

pkg/machinery/gendata/data/pkgs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.13.0-alpha.0-35-g375983f
1+
v1.13.0-alpha.0-37-g1b4fbf5

pkg/machinery/imager/quirks/quirks.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,10 @@ func (q Quirks) XFSMkfsConfig() string {
250250
// if the version doesn't parse, we assume it's latest Talos
251251
// update when we have a new LTS config
252252
case version == nil:
253-
// [TODO]: lts_6.18.config doesn't work with GRUB, it doesn't recognize the xfs filesystem.
254-
return "/usr/share/xfsprogs/mkfs/lts_6.12.conf"
253+
return "/usr/share/xfsprogs/mkfs/lts_6.18.conf"
255254
// add new version once we have a new LTS config
255+
case version.GTE(semver.MustParse("1.13.0")):
256+
return "/usr/share/xfsprogs/mkfs/lts_6.18.conf"
256257
case version.GTE(semver.MustParse("1.10.0")):
257258
return "/usr/share/xfsprogs/mkfs/lts_6.12.conf"
258259
case version.GTE(semver.MustParse("1.8.0")) && version.LT(semver.MustParse("1.10.0")):

pkg/machinery/imager/quirks/quirks_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ func TestXFSMkfsConfigFile(t *testing.T) {
169169
},
170170
{
171171
version: "1.13.0",
172-
expected: "/usr/share/xfsprogs/mkfs/lts_6.12.conf",
172+
expected: "/usr/share/xfsprogs/mkfs/lts_6.18.conf",
173173
},
174174
{
175-
expected: "/usr/share/xfsprogs/mkfs/lts_6.12.conf",
175+
expected: "/usr/share/xfsprogs/mkfs/lts_6.18.conf",
176176
},
177177
} {
178178
t.Run(test.version, func(t *testing.T) {

0 commit comments

Comments
 (0)