From a2ad51e2b585b5b3a131521c3153e058a9a680b4 Mon Sep 17 00:00:00 2001 From: m2 <69128853+m2Giles@users.noreply.github.com> Date: Fri, 28 Jun 2024 10:28:51 -0400 Subject: [PATCH] fix: cannot symlink /dev/null at build time --- post-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/post-install.sh b/post-install.sh index dbcb19fc..c2e41faa 100755 --- a/post-install.sh +++ b/post-install.sh @@ -7,7 +7,8 @@ if [[ "$IMAGE_NAME" == "base" ]]; then fi if [[ -f /usr/lib/udev/rules.d/61-gdm.rules ]]; then - ln -sf /etc/udev/rules.d/61-gdm.rules /dev/null + echo "L /etc/udev/rules.d/61-gdm.rules - - - - /dev/null" \ + >> /usr/lib/tmpfiles.d/gdm-wayland.conf fi systemctl enable rpm-ostreed-automatic.timer