[opensuse] mkinitrd - disable features?

How do I build an initrd without plymouth? Plymouth seems to be a default feature, how do I disable it? thanks, Per -- Per Jessen, Zürich (8.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Thu, Apr 11, 2013 at 11:28 AM, Per Jessen <per@computer.org> wrote:
How do I build an initrd without plymouth? Plymouth seems to be a default feature, how do I disable it?
zypper rm plymouth? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Andrey Borzenkov wrote:
On Thu, Apr 11, 2013 at 11:28 AM, Per Jessen <per@computer.org> wrote:
How do I build an initrd without plymouth? Plymouth seems to be a default feature, how do I disable it?
zypper rm plymouth?
I'll try that too, but I would prefer just disabling it for one mkinitrd build. -- Per Jessen, Zürich (9.2°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Thu, Apr 11, 2013 at 11:55 AM, Per Jessen <per@computer.org> wrote:
Andrey Borzenkov wrote:
On Thu, Apr 11, 2013 at 11:28 AM, Per Jessen <per@computer.org> wrote:
How do I build an initrd without plymouth? Plymouth seems to be a default feature, how do I disable it?
zypper rm plymouth?
I'll try that too, but I would prefer just disabling it for one mkinitrd build.
I'm afraid there is no way to disable features, only enable additional optional ones. You can completely disable plymouth using plymouth.enable=0 on kernel command line. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Andrey Borzenkov wrote:
On Thu, Apr 11, 2013 at 11:55 AM, Per Jessen <per@computer.org> wrote:
Andrey Borzenkov wrote:
On Thu, Apr 11, 2013 at 11:28 AM, Per Jessen <per@computer.org> wrote:
How do I build an initrd without plymouth? Plymouth seems to be a default feature, how do I disable it?
zypper rm plymouth?
I'll try that too, but I would prefer just disabling it for one mkinitrd build.
I'm afraid there is no way to disable features, only enable additional optional ones.
Thanks for confirming it :-(
You can completely disable plymouth using plymouth.enable=0 on kernel command line.
Yes, I know about that one, but I wanted to create a smaller initrd. -- Per Jessen, Zürich (9.4°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Thu, 11 Apr 2013 10:18:33 +0200 Per Jessen <per@computer.org> wrote:
You can completely disable plymouth using plymouth.enable=0 on kernel command line.
Yes, I know about that one, but I wanted to create a smaller initrd.
So you may start with plymouth disabled and then create initrd. You can also remove plymouth then mkinitrd then install plymouth: zypper rm plymouth && mkinird && zypper in plymouth -- Regards, Rajko. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Rajko wrote:
On Thu, 11 Apr 2013 10:18:33 +0200 Per Jessen <per@computer.org> wrote:
You can completely disable plymouth using plymouth.enable=0 on kernel command line.
Yes, I know about that one, but I wanted to create a smaller initrd.
So you may start with plymouth disabled and then create initrd.
You mean boot up with plymouth disabled, then create the initrd?
You can also remove plymouth then mkinitrd then install plymouth: zypper rm plymouth && mkinird && zypper in plymouth
Yeah, I got that. -- Per Jessen, Zürich (8.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Fri, 12 Apr 2013 07:32:26 +0200 Per Jessen <per@computer.org> wrote:
You mean boot up with plymouth disabled, then create the initrd?
Yes. It may not work, as it depends on what mkinitrd is looking for when configuring and building initrd, but it takes lesser time to try that then to look at mkinitrd and associated scripts. The worst case scenario is that initrd will still have Plymouth, and you will have to look under the hood. -- Regards, Rajko. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Rajko wrote:
On Fri, 12 Apr 2013 07:32:26 +0200 Per Jessen <per@computer.org> wrote:
You mean boot up with plymouth disabled, then create the initrd?
Yes.
It may not work, as it depends on what mkinitrd is looking for when configuring and building initrd, but it takes lesser time to try that then to look at mkinitrd and associated scripts. The worst case scenario is that initrd will still have Plymouth, and you will have to look under the hood.
Thanks Rajko - I'm not really that concerned about the initrd size, it was more a case of "wow, that's a big initrd, why is that?". Makes me wonder if plymouth is part of the minimal text-only pattern. -- Per Jessen, Zürich (10.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Sat, Apr 13, 2013 at 1:40 PM, Per Jessen <per@computer.org> wrote:
Thanks Rajko - I'm not really that concerned about the initrd size, it was more a case of "wow, that's a big initrd, why is that?". Makes me wonder if plymouth is part of the minimal text-only pattern.
No, it is not. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Hello, On Sat, 13 Apr 2013, Per Jessen wrote:
Rajko wrote:
Per Jessen <per@computer.org> wrote:
You mean boot up with plymouth disabled, then create the initrd? [..] Thanks Rajko - I'm not really that concerned about the initrd size, it was more a case of "wow, that's a big initrd, why is that?". Makes me wonder if plymouth is part of the minimal text-only pattern.
Per, have a look at the "plymouth-scripts" package, that where the mkinitrd stuff for plymouth is in. I guess the easiest way to create just one initrd without plymouth might be: chmod -c 0 /lib/mkinitrd/scripts/*plymouth* mkinitrd ... chmod -c 755 /lib/mkinitrd/scripts/*plymouth* HTH, -dnh -- I still maintain the point that designing a monolithic kernel in 1991 is a fundamental error. Be thankful you are not my student. You would not get a high grade for such a design. -- Andrew Tanenbaum to Linus Torvalds -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

El 11/04/13 04:55, Per Jessen escribió:
Andrey Borzenkov wrote:
On Thu, Apr 11, 2013 at 11:28 AM, Per Jessen <per@computer.org> wrote:
How do I build an initrd without plymouth? Plymouth seems to be a default feature, how do I disable it?
zypper rm plymouth?
I'll try that too, but I would prefer just disabling it for one mkinitrd build.
Just remove plymouth, this applies to the legacy mkinitrd as well as with dracut. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

В Thu, 11 Apr 2013 22:08:11 -0300 Cristian Rodríguez <crrodriguez@opensuse.org> пишет:
El 11/04/13 04:55, Per Jessen escribió:
Andrey Borzenkov wrote:
On Thu, Apr 11, 2013 at 11:28 AM, Per Jessen <per@computer.org> wrote:
How do I build an initrd without plymouth? Plymouth seems to be a default feature, how do I disable it?
zypper rm plymouth?
I'll try that too, but I would prefer just disabling it for one mkinitrd build.
Just remove plymouth, this applies to the legacy mkinitrd as well as with dracut.
dracut allows you to selectively disable modules ... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On 2013-04-11 09:28 (GMT+0200) Per Jessen composed:
How do I build an initrd without plymouth? Plymouth seems to be a default feature, how do I disable it?
No Plymouth "features" to me constitute advantages, so it isn't installed on any of my openSUSE systems. No bandwidth is wasted downloading or time upgrading it, or swelling initrds with whatever comprises it or its dependencies. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2013-04-11 at 18:51 -0400, Felix Miata wrote:
On 2013-04-11 09:28 (GMT+0200) Per Jessen composed:
How do I build an initrd without plymouth? Plymouth seems to be a default feature, how do I disable it?
No Plymouth "features" to me constitute advantages, so it isn't installed on any of my openSUSE systems. No bandwidth is wasted downloading or time upgrading it, or swelling initrds with whatever comprises it or its dependencies.
What happens if you need encrypted partitions at boot? It appears that it is plymouth which ask for the passphrase. - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlFncVMACgkQtTMYHG2NR9VgLACfaskiHoOyN42mENxsbWMWGQCU 3QgAn04biG1zfoH6i4XEfPq+Yo16wr6S =QRiU -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

El 11/04/13 23:28, Carlos E. R. escribió:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thursday, 2013-04-11 at 18:51 -0400, Felix Miata wrote:
On 2013-04-11 09:28 (GMT+0200) Per Jessen composed:
How do I build an initrd without plymouth? Plymouth seems to be a default feature, how do I disable it?
No Plymouth "features" to me constitute advantages, so it isn't installed on any of my openSUSE systems. No bandwidth is wasted downloading or time upgrading it, or swelling initrds with whatever comprises it or its dependencies.
What happens if you need encrypted partitions at boot? It appears that it is plymouth which ask for the passphrase.
the text based one should appear.. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

В Thu, 11 Apr 2013 23:39:30 -0300 Cristian Rodríguez <crrodriguez@opensuse.org> пишет:
El 11/04/13 23:28, Carlos E. R. escribió:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thursday, 2013-04-11 at 18:51 -0400, Felix Miata wrote:
On 2013-04-11 09:28 (GMT+0200) Per Jessen composed:
How do I build an initrd without plymouth? Plymouth seems to be a default feature, how do I disable it?
No Plymouth "features" to me constitute advantages, so it isn't installed on any of my openSUSE systems. No bandwidth is wasted downloading or time upgrading it, or swelling initrds with whatever comprises it or its dependencies.
What happens if you need encrypted partitions at boot? It appears that it is plymouth which ask for the passphrase.
the text based one should appear..
Yes, but it does not cache passwords that plymouth does. Many people find it annoying. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2013-04-11 at 23:39 -0300, Cristian Rodríguez wrote:
El 11/04/13 23:28, Carlos E. R. escribió:
What happens if you need encrypted partitions at boot? It appears that it is plymouth which ask for the passphrase.
the text based one should appear..
I had problems with this not hapening with my 12.2 text test install some months ago. I had a bugzilla about it. I don't remember if it is still open. - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlFnfaoACgkQtTMYHG2NR9XtZwCeO+xmUtMLSFZd/iGrqxlnGNPs N/UAni08P1gf02dR+z5Z266GE3R64vq8 =jene -----END PGP SIGNATURE-----

Carlos E. R. said the following on 04/11/2013 10:28 PM:
What happens if you need encrypted partitions at boot? It appears that it is plymouth which ask for the passphrase.
I thought that was what 'systemd-ask-password' was for. The man page says The purpose of this tool is to query system-wide passwords -- that is passwords not attached to a specific user account. Examples include: unlocking encrypted hard disks when they are plugged in or at boot, entering an SSL certificate passphrase for web and VPN servers. -- You can either take action, or you can hang back and hope for a miracle. Miracles are great, but they are so unpredictable. --Peter F. Drucker -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (8)
-
Andrey Borzenkov
-
Anton Aylward
-
Carlos E. R.
-
Cristian Rodríguez
-
David Haller
-
Felix Miata
-
Per Jessen
-
Rajko