Skip to content

Commit

Permalink
chore: move system extensions' udev rules
Browse files Browse the repository at this point in the history
Update packages and relevant paths
Ref: siderolabs/pkgs#1053

Signed-off-by: Dmitry Sharshakov <[email protected]>
  • Loading branch information
dsseng committed Oct 23, 2024
1 parent 3067f64 commit 8680351
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ RUN <<END
END

FROM rootfs-base-${TARGETARCH} AS rootfs-base
RUN mkdir -p /rootfs/usr/etc
RUN echo "true" > /rootfs/usr/etc/in-container
RUN find /rootfs -print0 \
| xargs -0r touch --no-dereference --date="@${SOURCE_DATE_EPOCH}"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ TOOLS ?= ghcr.io/siderolabs/tools:v1.9.0-alpha.0-4-g2058296
DEBUG_TOOLS_SOURCE := scratch

PKGS_PREFIX ?= ghcr.io/siderolabs
PKGS ?= v1.9.0-alpha.0-26-gc9282c8
PKGS ?= v1.9.0-alpha.0-28-g38304a6
EXTRAS ?= v1.9.0-alpha.0-1-geab6e58

KRES_IMAGE ?= ghcr.io/siderolabs/kres:latest
Expand Down
2 changes: 1 addition & 1 deletion hack/release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ preface = """
[notes.updates]
title = "Component Updates"
description = """\
Linux: 6.6.57
Linux: 6.6.58
containerd: 2.0.0-rc.5
Flannel: 0.26.0
Kubernetes: 1.32.0-alpha.2
Expand Down
4 changes: 2 additions & 2 deletions pkg/machinery/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

const (
// DefaultKernelVersion is the default Linux kernel version.
DefaultKernelVersion = "6.6.57-talos"
DefaultKernelVersion = "6.6.58-talos"

// KernelModulesPath is the default path to the kernel modules without the kernel version.
KernelModulesPath = "/lib/modules"
Expand Down Expand Up @@ -933,7 +933,7 @@ const (
KubeSpanLinkMinimumMTU = 1280

// UdevDir is the path to the udev directory.
UdevDir = "/usr/etc/udev"
UdevDir = "/usr/lib/udev"

// UdevRulesPath rules file path.
UdevRulesPath = UdevDir + "/" + "rules.d/99-talos.rules"
Expand Down
2 changes: 1 addition & 1 deletion pkg/machinery/extensions/extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var AllowedPaths = []string{
"/lib64/ld-linux-x86-64.so.2",
// /sbin/ldconfig is required by the nvidia container toolkit.
"/sbin/ldconfig",
"/usr/etc/udev/rules.d",
"/usr/lib/udev/rules.d",
"/usr/local",
// glvnd, egl and vulkan are needed for OpenGL/Vulkan.
"/usr/share/glvnd",
Expand Down
2 changes: 1 addition & 1 deletion pkg/machinery/gendata/data/pkgs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.9.0-alpha.0-26-gc9282c8
v1.9.0-alpha.0-28-g38304a6

0 comments on commit 8680351

Please sign in to comment.