You are not logged in.

#1 2011-06-30 23:05:38

sidneyk
Member
From: Bonner Springs, KS. USA
Registered: 2011-04-22
Posts: 129

[SOLVED] mkinitcpio-0.7-1 update breaks plymouth

Today's update of mkinitcpio-0.7-1 fixes an issue I and others were having with some module errors at the beginning of boot, but has broken plymouth. It only becomes apparent when I first attempt to use mkinitcpio to rebuild my images, which calls the plymouth hook in. It barks about an install function being deprecated in '/lib/initcpio/install/plymouth', that the function should be renamed to 'build' and also complains about the command 'add_device' not being found. If I change the 'install' function name to 'build' that error disappears, but the other error is still present. I tried replacing 'add_device' with 'mknod', as suggested in another post, but this does not work either. Long and short of it, there is currently no way with mkinitcpio to have plymouth get built into the image, at least AFAIK. Here is the top stanza of the '/lib/initcpio/install/plymouth' file which is giving the issue:

# vim: set ft=sh:
install() {
    add_device /dev/fb0 c 29 0
    add_dir /dev/pts
    add_dir /usr/share/plymouth/themes 

Last edited by sidneyk (2011-07-07 05:43:19)

Offline

#2 2011-07-06 05:41:56

sidneyk
Member
From: Bonner Springs, KS. USA
Registered: 2011-04-22
Posts: 129

Re: [SOLVED] mkinitcpio-0.7-1 update breaks plymouth

The work around for the above problem was to change 'install' to 'build' and just remove the 'add_device' line. Plymouth now builds properly with mkinitcpio and works fine.

Last edited by sidneyk (2011-07-06 05:42:18)

Offline

#3 2011-07-06 12:23:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] mkinitcpio-0.7-1 update breaks plymouth

http://mailman.archlinux.org/pipermail/ … 20824.html
I wouldn't call it a workaround - it's the new way.

Last edited by karol (2011-07-06 12:24:39)

Offline

#4 2011-07-06 14:31:00

sidneyk
Member
From: Bonner Springs, KS. USA
Registered: 2011-04-22
Posts: 129

Re: [SOLVED] mkinitcpio-0.7-1 update breaks plymouth

karol wrote:

http://mailman.archlinux.org/pipermail/ … 20824.html
I wouldn't call it a workaround - it's the new way.

I was calling it a 'workaround' in the sense that the fix hasn't been incorporated yet into the plymouth-git maintainer's package in the AUR.

Offline

#5 2011-07-06 14:34:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] mkinitcpio-0.7-1 update breaks plymouth

sidneyk wrote:
karol wrote:

http://mailman.archlinux.org/pipermail/ … 20824.html
I wouldn't call it a workaround - it's the new way.

I was calling it a 'workaround' in the sense that the fix hasn't been incorporated yet into the plymouth-git maintainer's package in the AUR.

Ah, OK.
Thank you for  posting the info on the package's page in the AUR.


I think you can mark this thread as solved.

Offline

Board footer

Powered by FluxBB