summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2021-12-03 11:21:22 +0100
committerSimon Rettberg2021-12-03 11:21:22 +0100
commit75f01d0ee509e5381a9a7ea4b00404fe92a369b4 (patch)
tree91b5bd9623266f377db166481b27855d7d46d49b
parent[slx-network] Skip copying dhcp scripts if openslx-udhcpc exists (diff)
downloadsystemd-init-75f01d0ee509e5381a9a7ea4b00404fe92a369b4.tar.gz
systemd-init-75f01d0ee509e5381a9a7ea4b00404fe92a369b4.tar.xz
systemd-init-75f01d0ee509e5381a9a7ea4b00404fe92a369b4.zip
dracut: Remove systemd-ask-password files
-rwxr-xr-xbuild-initramfs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-initramfs.sh b/build-initramfs.sh
index e4b213f6..a8684529 100755
--- a/build-initramfs.sh
+++ b/build-initramfs.sh
@@ -481,6 +481,9 @@ main() {
exit 0
fi
+ # ask password shice wegkloppen
+ sed -i '/systemd-ask-password/d' "${_dracut_dir}/modules.d/00systemd/module-setup.sh"
+
echo 'Building initramfs...'
"${_dracut_dir}/dracut.sh" --local \
--modules "${dracut_modules[*]}" --conf /etc/dracut.conf \