aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2012-04-14 15:02:23 +0000
committerColin Guthrie <colin@mageia.org>2012-04-14 15:02:23 +0000
commit63ee75132adc7dc950527dc27c1356dcef02a61e (patch)
tree99952b6667017bd0ab9fe1a6639709fb672608f0
parent226ab5b3d5f722307af9164eb6cc9bbf23790645 (diff)
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.
-rwxr-xr-xscripts/remove-boot-splash1
1 files changed, 0 insertions, 1 deletions
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* \