Skip to content

Commit 97416b7

Browse files
committed
dracut/vmklive/nomodeset: create down in /etc/sv instead
in the initramfs, the symlinks in /etc/runit/runsvdir/default are broken, so it fails to disable the services
1 parent cb18ac1 commit 97416b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dracut/vmklive/nomodeset.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ type getargbool >/dev/null 2>&1 || . /lib/dracut-lib.sh
66

77
if getargbool 0 nomodeset; then
88
for dm in lightdm sddm gdm; do
9-
if [ -e "${NEWROOT}/etc/runit/runsvdir/default/${dm}" ]; then
10-
touch "${NEWROOT}/etc/runit/runsvdir/default/${dm}/down"
9+
if [ -e "${NEWROOT}/etc/sv/${dm}" ]; then
10+
:> "${NEWROOT}/etc/sv/${dm}/down"
1111
fi
1212
done
1313
fi

0 commit comments

Comments
 (0)