diff options
author | Colin Guthrie <colin@mageia.org> | 2012-04-14 15:02:23 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-04-14 15:02:23 +0000 |
commit | 63ee75132adc7dc950527dc27c1356dcef02a61e (patch) | |
tree | 99952b6667017bd0ab9fe1a6639709fb672608f0 | |
parent | 226ab5b3d5f722307af9164eb6cc9bbf23790645 (diff) | |
download | bootsplash-63ee75132adc7dc950527dc27c1356dcef02a61e.tar bootsplash-63ee75132adc7dc950527dc27c1356dcef02a61e.tar.gz bootsplash-63ee75132adc7dc950527dc27c1356dcef02a61e.tar.bz2 bootsplash-63ee75132adc7dc950527dc27c1356dcef02a61e.tar.xz bootsplash-63ee75132adc7dc950527dc27c1356dcef02a61e.zip |
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-x | scripts/remove-boot-splash | 1 |
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* \ |