* [PATCHv4 0/2] init fixes
@ 2015-03-19 13:45 Aníbal Limón
2015-03-19 13:45 ` [PATCHv4 1/2] sysvinit-inittab: Fix no tty in runlevel 1 Aníbal Limón
2015-03-19 13:45 ` [PATCHv4 2/2] xserver-nodm-init: Change to vt1 when stop Aníbal Limón
0 siblings, 2 replies; 5+ messages in thread
From: Aníbal Limón @ 2015-03-19 13:45 UTC (permalink / raw)
To: openembedded-core
The next changes fixes issues related to [YOCTO #5336].
This v4 changes the second patch related to handle vt switch when X stop's.
The following changes since commit df0672b038e6942c97d266af9ca175a06f2b0423:
bitbake: toaster: Fix the orderkey to match the column (2015-03-16 17:44:13 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib alimon/init_fixes
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=alimon/init_fixes
Aníbal Limón (2):
sysvinit-inittab: Fix no tty in runlevel 1.
xserver-nodm-init: Change to vt1 when stop
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb | 2 +-
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
--
1.8.4.5
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCHv4 1/2] sysvinit-inittab: Fix no tty in runlevel 1.
2015-03-19 13:45 [PATCHv4 0/2] init fixes Aníbal Limón
@ 2015-03-19 13:45 ` Aníbal Limón
2015-03-19 13:45 ` [PATCHv4 2/2] xserver-nodm-init: Change to vt1 when stop Aníbal Limón
1 sibling, 0 replies; 5+ messages in thread
From: Aníbal Limón @ 2015-03-19 13:45 UTC (permalink / raw)
To: openembedded-core
When switch to runlevel 1 (Single user mode), tty was not
re-spawn and appears to be a machine hang.
[YOCTO #5336]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
---
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
index eed2104..e087f0f 100644
--- a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
@@ -41,7 +41,7 @@ EOF
for n in ${SYSVINIT_ENABLED_GETTYS}
do
- echo "$n:2345:respawn:${base_sbindir}/getty 38400 tty$n" >> ${D}${sysconfdir}/inittab
+ echo "$n:12345:respawn:${base_sbindir}/getty 38400 tty$n" >> ${D}${sysconfdir}/inittab
done
echo "" >> ${D}${sysconfdir}/inittab
fi
--
1.8.4.5
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCHv4 2/2] xserver-nodm-init: Change to vt1 when stop
2015-03-19 13:45 [PATCHv4 0/2] init fixes Aníbal Limón
2015-03-19 13:45 ` [PATCHv4 1/2] sysvinit-inittab: Fix no tty in runlevel 1 Aníbal Limón
@ 2015-03-19 13:45 ` Aníbal Limón
2015-03-20 14:54 ` Otavio Salvador
1 sibling, 1 reply; 5+ messages in thread
From: Aníbal Limón @ 2015-03-19 13:45 UTC (permalink / raw)
To: openembedded-core
When X is stopped it remains in the same vt that was launched,
change to vt1 instead to avoid manual vt switch.
[YOCTO #5336]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
---
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm
index ef6c11c..2e3e090 100755
--- a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm
+++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm
@@ -48,6 +48,7 @@ case "$1" in
stop)
echo "Stopping XServer"
killproc xinit
+ chvt 1
;;
restart)
--
1.8.4.5
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCHv4 2/2] xserver-nodm-init: Change to vt1 when stop
2015-03-19 13:45 ` [PATCHv4 2/2] xserver-nodm-init: Change to vt1 when stop Aníbal Limón
@ 2015-03-20 14:54 ` Otavio Salvador
2015-03-20 15:56 ` Aníbal Limón
0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2015-03-20 14:54 UTC (permalink / raw)
To: Aníbal Limón; +Cc: Patches and discussions about the oe-core layer
On Thu, Mar 19, 2015 at 10:45 AM, Aníbal Limón
<anibal.limon@linux.intel.com> wrote:
> When X is stopped it remains in the same vt that was launched,
> change to vt1 instead to avoid manual vt switch.
>
> [YOCTO #5336]
>
> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Now I like it :) Thanks for doing those changes :)
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCHv4 2/2] xserver-nodm-init: Change to vt1 when stop
2015-03-20 14:54 ` Otavio Salvador
@ 2015-03-20 15:56 ` Aníbal Limón
0 siblings, 0 replies; 5+ messages in thread
From: Aníbal Limón @ 2015-03-20 15:56 UTC (permalink / raw)
To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer
On 20/03/15 08:54, Otavio Salvador wrote:
> On Thu, Mar 19, 2015 at 10:45 AM, Aníbal Limón
> <anibal.limon@linux.intel.com> wrote:
>> When X is stopped it remains in the same vt that was launched,
>> change to vt1 instead to avoid manual vt switch.
>>
>> [YOCTO #5336]
>>
>> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
> Now I like it :) Thanks for doing those changes :)
Thanks to you for the feedback.
alimon
>
> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-20 15:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19 13:45 [PATCHv4 0/2] init fixes Aníbal Limón
2015-03-19 13:45 ` [PATCHv4 1/2] sysvinit-inittab: Fix no tty in runlevel 1 Aníbal Limón
2015-03-19 13:45 ` [PATCHv4 2/2] xserver-nodm-init: Change to vt1 when stop Aníbal Limón
2015-03-20 14:54 ` Otavio Salvador
2015-03-20 15:56 ` Aníbal Limón
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox