Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 09:24:47 +0300 (EEST)
From:      Maxim Sobolev <sobomax@mail-in.net>
To:        jhay@icomtek.csir.co.za
Cc:        current@FreeBSD.ORG
Subject:   =?ISO-8859-1?Q?sysinstall_bootstrapping_issues_[Was:_-CURRENT_b0rked=3F]?=
Message-ID:  <200105140624.f4E6Od035882@Mail-In.Net>
In-Reply-To: <200105131513.f4DFD2l91900@zibbi.icomtek.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 May 2001 17:13:01 +0200 (SAT), John Hay wrote:
> > > > =

> > > > It seems that sysinstall(8) was not fully integrated into
> > > > buildworld - it depends on content of /usr/share/syscons/keymaps,
> > > > while it shouldn't.
> > > > =

> > > > I've just committed a patch that should fix this problem.
> > =

> > You should look a little earlier in the logs to where the damage was re=
ally
> > done:
> > =

> > rm -f keymap.tmp
> > for map in be.iso br275.iso danish.iso finnish.iso fr.iso  german.iso h=
r.iso hu.
> > iso2.101keys it.iso icelandic.iso jp.106  norwegian.iso pl_PL.ISO_8859-=
2 pt.iso =

> > ru.koi8-r si.iso  spanish.iso swedish.iso swissfrench.iso swissgerman.i=
so ua.koi
> > 8-u  ua.koi8-u.shift.alt uk.iso us.dvorak us.iso us.pc-ctrl us.unix ; d=
o  env KE
> > YMAP_PATH=3D/usr/src/usr.sbin/sysinstall/../../share/syscons/keymaps  k=
bdcontrol -
> > L $map |  sed -e '/^static accentmap_t/,$d' >> keymap.tmp ;  done
> > Segmentation fault - core dumped
> > ...
> > =

> > It looks like kbdcontrol is not very happy.
> =

> Ok, here is a patch that fix the problem for me. The problem is that
> a second call to mkfullname() will reuse the memory at the pointer that
> it returns, so you have to preserve it before then.

OOPS, sorry. I've overlooked it. Should be fixed now. Interesting
that on my system it worked like a charm.

4.3 upgrade path is likely to be still broken , because kbdcontrol(8)
in 4-STABLE doesn't honour KEYMAP_PATH environment variable.
Perhaps kbdcontrol should be added into bootstrap tools to fully fix
the problem.

-Maxim

-Maxim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105140624.f4E6Od035882>