From 63ee75132adc7dc950527dc27c1356dcef02a61e Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sat, 14 Apr 2012 15:02:23 +0000 Subject: Do not remove dracut hooks. Most hooks are harmless and do checks. One hook will fail if /bin/plymouthd is removed but I will fix that at the dracut end as the hook is not replaced when re-populating the initrd again so we should just make the hook a noop when the binary does not exist instead. --- scripts/remove-boot-splash | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts') diff --git a/scripts/remove-boot-splash b/scripts/remove-boot-splash index 55f07a1..f18b9c5 100755 --- a/scripts/remove-boot-splash +++ b/scripts/remove-boot-splash @@ -57,7 +57,6 @@ fi echo "remove-boot-splash: Removing plymouth from initrd $initrd_file" >&2 rm -rf \ - $tmp_dir/plymouth/lib/dracut/hooks/*/*plymouth* \ $tmp_dir/plymouth/usr/share/plymouth \ $tmp_dir/plymouth/usr/lib*/plymouth \ $tmp_dir/plymouth/usr/lib*/libply* \ -- cgit v1.2.1