CachyOS / CachyOS/distribution

Way to remove plymouth from /etc/mkinit.cpio hooks

Open
#339 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
27
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The boot splash screen "plymouth" is auto-installed on every CachyOS system.
If you remove the package, it still leaves "plymouth" inside `HOOKS=()` in `/etc/mkinit.cpio`.
Now you get an error message after every update (sudo pacman -Syu) that calls the hooks.
It looks something like this:
```
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux-cachyos -g /boot/initramfs-linux-cachyos.img
==> Starting build: '6.18.8-1-cachyos'
...
==> ERROR: Hook 'plymouth' cannot be found
...
==> WARNING: errors were encountered during the build. The image may not be complete.
```
My best guess is that this behavior is related to CachyOS, not plymouth.
It would be nice if this hook wouldn't persist after removing plymouth
(Or remove it alltogether? I'm not sure about what it does).
It makes you wonder if there were actual problems during the installation.

After removing plymouth:
```
sudo sed -i '/^HOOKS=/ s/ *plymouth */ /g' /etc/mkinitcpio.conf
```

I no longer get the error message.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.