From: Michael Tremer Date: Mon, 14 Mar 2022 15:24:19 +0000 (+0000) Subject: core166: Ship dracut X-Git-Tag: v2.27-core167~6^2~137 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b45c52760bc7820d53d3478cf54e40f43b44f3c6;p=ipfire-2.x.git core166: Ship dracut Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/166/filelists/dracut b/config/rootfiles/core/166/filelists/dracut new file mode 120000 index 0000000000..160869946d --- /dev/null +++ b/config/rootfiles/core/166/filelists/dracut @@ -0,0 +1 @@ +../../../common/dracut \ No newline at end of file diff --git a/config/rootfiles/core/166/update.sh b/config/rootfiles/core/166/update.sh index ec0b61b41a..ab31ee4f95 100644 --- a/config/rootfiles/core/166/update.sh +++ b/config/rootfiles/core/166/update.sh @@ -32,6 +32,11 @@ for (( i=1; i<=$core; i++ )); do done # Remove files +rm -vf \ + /etc/dracut.conf \ + /usr/bin/mkinitrd \ + /usr/lib/dracut \ + /usr/local/bin/rebuild-initrd # Stop services @@ -47,6 +52,9 @@ ldconfig # Filesytem cleanup /usr/local/bin/filesystem-cleanup +# Regenerate all initrds +dracut --regenerate-all --force + # Start services /etc/init.d/sshd restart