From 70e51eaad83a71dd9457f25e90cb037a0e4bdc8a Mon Sep 17 00:00:00 2001 From: oddlama Date: Fri, 1 Jul 2022 19:55:13 +0200 Subject: [PATCH] fix: change into /tmp before downloading dracut-sshd --- scripts/main.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/main.sh b/scripts/main.sh index b105e5b..1e62855 100644 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -132,6 +132,7 @@ function generate_initramfs() { dracut_opts=() if [[ $SYSTEMD == "true" && $SYSTEMD_INITRAMFS_SSHD == "true" ]]; then + cd /tmp || die "Could not change into /tmp" try git clone https://github.com/gsauthof/dracut-sshd try cp -r dracut-sshd/46sshd /usr/lib/dracut/modules.d sed -e 's/^Type=notify/Type=simple/' \