proper disabling 'plymouth' #117

Closed
opened 2015-06-28 08:12:33 +00:00 by philm · 6 comments
philm commented 2015-06-28 08:12:33 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Seems we have a small issue with disabling 'plymouth' on our current manjaro-tools 0.9.9 release. In XFCE-minimal we have it enabled for only systemd. It is fine for me that OpenRC disables it. So when it is set to false in profile.conf also sysmenu and grub needs to be modified, so we get rid off 'quiet' and 'splash'. grub, if I remember correctly is already fixed for that. Only sysmenu must be edited during creation of the menu.

*Created by: philmmanjaro* Seems we have a small issue with disabling 'plymouth' on our current **manjaro-tools 0.9.9** release. In XFCE-minimal we have it enabled for only systemd. It is fine for me that OpenRC disables it. So when it is set to false in **profile.conf** also **sysmenu** and **grub** needs to be modified, so we get rid off 'quiet' and 'splash'. **grub**, if I remember correctly is already fixed for that. Only **sysmenu** must be edited during creation of the menu.
philm commented 2015-06-28 08:34:10 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Yes, its a small issue I forgot, and realized after release we need to clean up isolinux.cfg and perhaps set chroot/etc/default/grub.

In what way does "quiet" option disturb plymouth? Quite is just quite initramfs loading I think.

*Created by: udeved* Yes, its a small issue I forgot, and realized after release we need to clean up isolinux.cfg and perhaps set chroot/etc/default/grub. In what way does "quiet" option disturb plymouth? Quite is just quite initramfs loading I think.
philm commented 2015-06-28 08:43:28 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

For plymouth you need quiet splash in isolinux.cfg and /etc/default/grub. To display text during bootup both variables have to been removed. We already have write_isolinux_cfg(). We simply should add variables like quiet="quiet" and add $quiet to the lines if plymouth is true. Similar for splash.

*Created by: philmmanjaro* For plymouth you need `quiet splash` in **isolinux.cfg** and **/etc/default/grub**. To display text during bootup both variables have to been removed. We already have **write_isolinux_cfg()**. We simply should add variables like `quiet="quiet"` and add `$quiet` to the lines if plymouth is true. Similar for **splash**.
philm commented 2015-06-28 08:52:38 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Afaik, 'quiet' option is set on openrc iso too, 'splash' as well.
That's why I noticed it, openrc needs "splash" removed, which is purely cosmetic doesn't do any harm.

*Created by: udeved* Afaik, 'quiet' option is set on openrc iso too, 'splash' as well. That's why I noticed it, openrc needs "splash" removed, which is purely cosmetic doesn't do any harm.
philm commented 2015-06-28 08:55:22 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

yeah, I know. In thus you can find this:

       plymouth_bin = os.path.join(self.dest_dir, "usr/bin/plymouth")
        if os.path.exists(plymouth_bin):
            use_splash = "splash"
        else:
            use_splash = ""
        if "swap" in self.mount_devices:
            cmd_linux_default = ('resume=UUID={0} quiet {1}'
                                 .format(self.swap_uuid, use_splash))
        else:
            cmd_linux_default = 'quiet {0}'.format(use_splash)

If quiet is set, you don't see the text on bootup. So quiet has also to be removed. At least splash needs to be removed for sure. But on isolinux.cfg I suggest to get rid of 'quiet' too.

*Created by: philmmanjaro* yeah, I know. In **thus** you can find this: <pre> plymouth_bin = os.path.join(self.dest_dir, "usr/bin/plymouth") if os.path.exists(plymouth_bin): use_splash = "splash" else: use_splash = "" if "swap" in self.mount_devices: cmd_linux_default = ('resume=UUID={0} quiet {1}' .format(self.swap_uuid, use_splash)) else: cmd_linux_default = 'quiet {0}'.format(use_splash)</pre> If quiet is set, you don't see the text on bootup. So quiet has also to be removed. At least splash needs to be removed for sure. But on isolinux.cfg I suggest to get rid of 'quiet' too.
philm commented 2015-06-28 08:59:26 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Just to summarize:

Plymouth needs splash but not quiet?
Never ever used plymouth, so no experience with it.

If we remove quiet, we get verbose boot on systemd, including initramfs, and just verbose initramfs on non systemd.

*Created by: udeved* Just to summarize: Plymouth needs splash but not quiet? Never ever used plymouth, so no experience with it. If we remove quiet, we get verbose boot on systemd, including initramfs, and just verbose initramfs on non systemd.
philm commented 2015-06-28 09:01:45 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Plymouth needs 'quiet' so no text is displayed and 'splash'. To display text on bootup you have to get rid of both. 'quiet' simply removes any text display on bootup. 'splash' is used to display 'plymouth'. I already fixed it now.

*Created by: philmmanjaro* Plymouth needs 'quiet' so no text is displayed and 'splash'. To display text on bootup you have to get rid of both. 'quiet' simply removes any text display on bootup. 'splash' is used to display 'plymouth'. I already fixed it now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tools/manjaro-tools#117
No description provided.