Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   We need to quit plymouth before running firstboot (#679171) (http://www.linux-archive.org/debian-development/493141-we-need-quit-plymouth-before-running-firstboot-679171-a.html)

Martin Gracik 02-23-2011 12:36 PM

We need to quit plymouth before running firstboot (#679171)
 
Hiding the splash is not enough. If plymouth is running
when we execute firstboot, pressing the Enter key causes
it to exit.
---
init/firstboot | 4 ----
systemd/firstboot-graphical.service | 2 +-
2 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/init/firstboot b/init/firstboot
index 6e92a84..7286b15 100755
--- a/init/firstboot
+++ b/init/firstboot
@@ -65,13 +65,9 @@ case "$1" in

. /etc/profile.d/lang.sh

- /usr/bin/plymouth --hide-splash
-
/usr/sbin/firstboot $args
RETVAL=$?

- /usr/bin/plymouth --show-splash
-
# If firstboot succeeded, chkconfig it off so we don't see the message
# every time about starting up firstboot.
if [ "$RETVAL" -eq 0 ]; then
diff --git a/systemd/firstboot-graphical.service b/systemd/firstboot-graphical.service
index fb18796..f4d6934 100644
--- a/systemd/firstboot-graphical.service
+++ b/systemd/firstboot-graphical.service
@@ -6,12 +6,12 @@ Conflicts=firstboot-text.service

[Service]
Environment=RUNLEVEL=5
+ExecStartPre=-/bin/plymouth quit
ExecStart=/etc/init.d/firstboot start
TimeoutSec=0
StandardInput=tty
RemainAfterExit=yes
Type=oneshot
-SysVStartPriority=99

[Install]
WantedBy=graphical.target
--
1.7.3.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

"Brian C. Lane" 02-23-2011 02:12 PM

We need to quit plymouth before running firstboot (#679171)
 
On Wed, Feb 23, 2011 at 02:36:55PM +0100, Martin Gracik wrote:
> Hiding the splash is not enough. If plymouth is running
> when we execute firstboot, pressing the Enter key causes
> it to exit.
> ---
> init/firstboot | 4 ----
> systemd/firstboot-graphical.service | 2 +-
> 2 files changed, 1 insertions(+), 5 deletions(-)
>

Ack, glad you got this tracked down.

--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 11:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.