Re: Edit /etc/boot.conf

2020-12-06 Thread Matthieu Herrb
On Sun, Dec 06, 2020 at 04:21:10PM +0100, Mark Kettenis wrote:
> Both armv7 and powerpc64 support VTs, so let xenodem take the VT
> reserved for X in /etc/ttys.
> 
> ok?

Sure. It will soon be time to invert the test and list machines that
don't support VTs

> 
> 
> Index: app/xenodm/Makefile.bsd-wrapper
> ===
> RCS file: /cvs/xenocara/app/xenodm/Makefile.bsd-wrapper,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile.bsd-wrapper
> --- app/xenodm/Makefile.bsd-wrapper   1 Apr 2020 19:58:02 -   1.5
> +++ app/xenodm/Makefile.bsd-wrapper   6 Dec 2020 14:59:40 -
> @@ -4,8 +4,8 @@
>  XENODMCONFIGDIR=/etc/X11/xenodm
>  PIXMAPDIR=$(XENODMCONFIGDIR)/pixmaps
>  
> -.if ${MACHINE} == amd64 || ${MACHINE} == arm64 || ${MACHINE} == i386 \
> -|| ${MACHINE} == macppc
> +.if ${MACHINE} == amd64 || ${MACHINE} == arm64 || ${MACHINE} == armv7 \
> +|| ${MACHINE} == i386 || ${MACHINE} == macppc || ${MACHINE} == powerpc64
>  DEFAULT_VT= --with-default-vt=vt05
>  .endif
>  

-- 
Matthieu Herrb



Re: Edit /etc/boot.conf

2020-12-06 Thread Mark Kettenis
Both armv7 and powerpc64 support VTs, so let xenodem take the VT
reserved for X in /etc/ttys.

ok?


Index: app/xenodm/Makefile.bsd-wrapper
===
RCS file: /cvs/xenocara/app/xenodm/Makefile.bsd-wrapper,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile.bsd-wrapper
--- app/xenodm/Makefile.bsd-wrapper 1 Apr 2020 19:58:02 -   1.5
+++ app/xenodm/Makefile.bsd-wrapper 6 Dec 2020 14:59:40 -
@@ -4,8 +4,8 @@
 XENODMCONFIGDIR=/etc/X11/xenodm
 PIXMAPDIR=$(XENODMCONFIGDIR)/pixmaps
 
-.if ${MACHINE} == amd64 || ${MACHINE} == arm64 || ${MACHINE} == i386 \
-|| ${MACHINE} == macppc
+.if ${MACHINE} == amd64 || ${MACHINE} == arm64 || ${MACHINE} == armv7 \
+|| ${MACHINE} == i386 || ${MACHINE} == macppc || ${MACHINE} == powerpc64
 DEFAULT_VT= --with-default-vt=vt05
 .endif