You are not logged in.
I use this simple patch (to apply to /lib/initcpio/install/plymouth); inspired by the ubuntu bug aforementioned
--- plymouth.orig 2010-11-28 15:16:00.108000000 +0100 +++ plymouth 2010-11-28 15:24:14.500999903 +0100 @@ -39,6 +39,13 @@ install() { add_file $x done fi + + # suppress a warning in glib (which the label control uses) + # about uid 0 by building a dummy NSS stack (LP #649917) + add_file /etc/passwd + add_file /etc/nsswitch.conf + add_binary /lib/libnss_files-2.12.1.so + add_file /lib/libnss_files.so.2 SCRIPT='plymouth' }
Well, I tried to patch but failed. Could you please post the whole file /lib/initcpio/install/plymouth ?
Offline
Sorry man! I already removed everything in the meantime yesterday evening. Decided to clean up my system a bit after all the things I've played with recently. Maybe the guy above who also used the git version can do this?
Cheers!
“Great art is horseshit, buy tacos.” - Charles Bukowski
freenode/archlinux: nl-trisk
Offline
The patch works perfectly, one just have to read it and understand what it does. Just ensure the files you try to load in the patch exist, and if not fix the version for libnss (it's libnss_files-2.13.so at the time of my writing).
Offline
For anyone that don't know how patch the package, here is the necessary file patched:
http://pastebin.com/AgmMeupC
It's a non-elegant method but it works xD. Here are all the steps for have Plymouth working:
1.- Install plymouth-git from AUR.
2.- Save the above patched file in you home with the name plymouth.
3.- Copy to /lib/initcpio/install/
#cp plymouth /lib/initcpio/install/
4.- Edit /etc/mkinitcpio.conf and add plymouth in HOOKS line, after base & udev, like this:
HOOKS="base udev plymouth ...
5.- Edit /boot/grub/menu.lst and add quiet splash in your kernel line, something like this:
title Arch Linux
root (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 quiet splash ro
initrd /kernel26.img
6.- Regenerate you image kernel:
#mkinitcpio -p kernel26
7.- Profit!!
Bye!!
P.D. If in the step 6 you have an error about libnss_files-, check what is the version of this file that you have in /lib/ and only change it in Line 48 of my patched file & regenerate again the kernel image.
"Yo creo que los muertos son tiernos. ¿Nos besamos?"
Offline
Eh..
'lib/initcpio/install/plymouth: line 2: syntax error near unexpected token `{
'lib/initcpio/install/plymouth: line 2: `install() {
“Great art is horseshit, buy tacos.” - Charles Bukowski
freenode/archlinux: nl-trisk
Offline
goran'agar wrote:I use this simple patch (to apply to /lib/initcpio/install/plymouth); inspired by the ubuntu bug aforementioned
...
Hey goran'agar,
I've applied the patch to plymouth-git, but it did not work for me. Well, just going to have to hang tight until a solution comes along
Thanks for the effort though!
Cheers
I just did what the wiki said:
https://wiki.archlinux.org/index.php/Plymouth
Just only edit the file /lib/initcpio/install/plymouth and add the followings lines:
Add this 4 lines in /lib/initcpio/install/plymouth
add_file /etc/passwd
add_file /etc/nsswitch.conf
add_binary /lib/libnss_files-2.13.so
add_binary /lib/libnss_files.so.2
and run
mkinitcpio -p kernel26
I guess it has the same effect as the patch but you should try it .
Archlinux Colombia!!!
Offline