blob: aafcca83b8a77f3223de1dd5c59552be70a07b20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
post_install() {
cat <<EOT
==================================================================================
1. To make Plymouth work:
1.1. Add "plymouth" to HOOKS after "base" and "udev" in /etc/mkinitcpio.conf
1.2. Add 'quiet splash' to the grub command line
1.3. Rebuild your initrd image (# mkinitcpio -p [kernel preset name]).
E.g.: sudo mkinitcpio -p linux
2. To enable encryption, replace "encrypt" with "plymouth-encrypt" in
mkinitcpio.conf and rebuild your initrd image.
3. You will also need to rebuild your initrd image every time you change your theme
(the default is set as 'spinfinity').
To list all plymouth themes:
plymouth-set-default-theme -l
To change theme:
# plymouth-set-default-theme <theme>
To rebuild initrd image:
# mkinitcpio -p linux
4. For Smooth Transition to Display Manager you have to:
4.1. See the Wiki Page (link in 5) to prepare your Display Manager
4.2. Disable your Display Manager Unit
E.g. : systemctl disable kdm.service
4.3. Enable the respective DM-plymouth Unit (GDM,KDM,Lightdm,LXDM units provided)
E.g. : systemctl enable kdm-plymouth.service
5. For more information please visit the Wiki page:
https://wiki.archlinux.org/index.php/Plymouth
OBS. If you have any leftover "kill Plymouth" lines in /etc/rc.local or ~/.xinitrc
they are no longer required.
==================================================================================
EOT
}
post_upgrade() {
post_install
}
|