Override _rc_wait(); these scripts are a bit hackish because they need
/usr/libexec/getty to be started but it is started later in the boot process.
This commit is contained in:
parent
da8b85fdce
commit
d86462ca9a
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.242 2015/12/21 09:32:01 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.243 2015/12/21 10:17:32 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -6,7 +6,7 @@ COMMENT= GNOME display manager
|
||||
|
||||
GNOME_PROJECT= gdm
|
||||
GNOME_VERSION= 3.18.2
|
||||
REVISION= 2
|
||||
REVISION= 3
|
||||
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} puflogh1000X248.gif:0
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: gdm.rc,v 1.36 2015/12/21 09:32:01 ajacoutot Exp $
|
||||
# $OpenBSD: gdm.rc,v 1.37 2015/12/21 10:17:32 ajacoutot Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/gdm"
|
||||
|
||||
@ -14,9 +14,12 @@ rc_pre() {
|
||||
rm -rf /var/db/gdm/.cache/gnome-shell/runtime-state-*
|
||||
}
|
||||
|
||||
# on boot: wait for ttys to be initialized and make sure we don't hang in
|
||||
# "_rc_wait start" by hacking pexp
|
||||
if [ -n "${INRC}" ]; then
|
||||
# on boot: make sure we don't hang in _rc_wait
|
||||
_rc_wait() {
|
||||
return 0
|
||||
}
|
||||
# on boot: wait for ttys to be initialized
|
||||
rc_start() {
|
||||
unset rc_bg
|
||||
( local i=0
|
||||
|
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.46 2015/12/21 09:32:01 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.47 2015/12/21 10:17:32 ajacoutot Exp $
|
||||
|
||||
COMMENT = KDE workspace
|
||||
DISTNAME = kde-workspace-4.11.21
|
||||
REVISION = 5
|
||||
REVISION = 6
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_KDE:=stable/applications/15.04.3/src/}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: kdm.rc,v 1.7 2015/12/21 09:32:01 ajacoutot Exp $
|
||||
# $OpenBSD: kdm.rc,v 1.8 2015/12/21 10:17:32 ajacoutot Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/bin/kdm"
|
||||
|
||||
@ -8,9 +8,12 @@ daemon="${TRUEPREFIX}/bin/kdm"
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
# on boot: wait for ttys to be initialized and make sure we don't hang in
|
||||
# "_rc_wait start" by hacking pexp
|
||||
if [ -n "${INRC}" ]; then
|
||||
# on boot: make sure we don't hang in _rc_wait
|
||||
_rc_wait() {
|
||||
return 0
|
||||
}
|
||||
# on boot: wait for ttys to be initialized
|
||||
rc_start() {
|
||||
( local i=0
|
||||
while ! pgrep -qf "^/usr/libexec/getty "; do
|
||||
|
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.36 2015/12/21 09:32:00 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.37 2015/12/21 10:17:32 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= simple login manager
|
||||
|
||||
DISTNAME= slim-1.3.6
|
||||
REVISION= 9
|
||||
REVISION= 10
|
||||
|
||||
SHARED_LIBS= slim 0.0 # 1.3
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: slim.rc,v 1.8 2015/12/21 09:32:01 ajacoutot Exp $
|
||||
# $OpenBSD: slim.rc,v 1.9 2015/12/21 10:17:32 ajacoutot Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/bin/slim -d"
|
||||
|
||||
@ -8,9 +8,12 @@ daemon="${TRUEPREFIX}/bin/slim -d"
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
# on boot: wait for ttys to be initialized and make sure we don't hang in
|
||||
# "_rc_wait start" by hacking pexp
|
||||
if [ -n "${INRC}" ]; then
|
||||
# on boot: make sure we don't hang in _rc_wait
|
||||
_rc_wait() {
|
||||
return 0
|
||||
}
|
||||
# on boot: wait for ttys to be initialized
|
||||
rc_start() {
|
||||
( local i=0
|
||||
while ! pgrep -qf "^/usr/libexec/getty "; do
|
||||
|
Loading…
Reference in New Issue
Block a user