[OmniOS-discuss] New media with new fixes!

Jens Bauernfeind bauernfeind at ipk-gatersleben.de
Mon Mar 13 06:36:45 UTC 2017


Hi Dan,

thanks for the updated media.
The installed system now has the correct keyboard (german in my case).
But the install environment is still english (when i go to the shell [Point
3]).
When i invoke a "loadkeys" after I enter the shell, the correct layout is
loaded.

Jens

-----Original Message-----
From: OmniOS-discuss [mailto:omnios-discuss-bounces at lists.omniti.com] On
Behalf Of Dan McDonald
Sent: Montag, 13. März 2017 03:16
To: Michael Rasmussen <mir at miras.org>
Cc: omnios-discuss <omnios-discuss at lists.omniti.com>
Subject: Re: [OmniOS-discuss] New media with new fixes!


> On Mar 12, 2017, at 8:36 AM, Michael Rasmussen <mir at miras.org> wrote:
> 
> Why not simply have the installer configure the correct layout running 
> this svccfg -s keymap:default setprop keymap/layout = `layout` in the 
> BE?

Because there's no "-R <alt-root>" option.  Also, on a fresh install, the
xml manifests are all imported for the first time.  The best way to make it
stick is to alter the keymap.xml manifest.

As for this:

> No change here. Keyboard is still US even if Danish was selected.

Odd... my test environment showed a successful UK-English (vs. US-English)
installation.  Let me try Danish...

...

... Aha!

You found a bug with the manifest-modifying setup in kayak-menu.sh.  I'm
doing "grep <number>" not "grep -w <number>", so your Danish (layout 6) gets
the first hit with '6' in it, Albanian.  Here's a fix:

bloody(~/ws/kayak-iso)[0]% git diff
diff --git a/kayak-menu.sh b/kayak-menu.sh index 28fa6b3..22f949c 100755
--- a/kayak-menu.sh
+++ b/kayak-menu.sh
@@ -46,7 +46,7 @@ fi
 # Remember it post-installation scribbling into installed-image
/etc/default/kbd  ktype=`/usr/bin/kbd -l | grep type | awk -F= '{print $2}'`
layout=`/usr/bin/kbd -l | grep layout | awk -F= '{print $2}' | awk '{print
$1}'` -klang=`grep $layout /usr/share/lib/keytables/type_$ktype/kbd_layouts
| awk -F= '{print $1}'`
+klang=`grep -w $layout /usr/share/lib/keytables/type_$ktype/kbd_layouts 
+| awk -F= '{print $1}'`
 
 # Define the menu of commands and prompts  menu_items=( \
bloody(~/ws/kayak-iso)[0]% 

I'll respin the ISOs now...

... here, try these:

md5 (r151021-kayak.iso) = 2cb722cc88aacdcb57e5c33a8e190734
sha1 (r151021-kayak.iso) = 4c8c314160aeb71c9680f92e1456c3ad0bb03563
sha256 (r151021-kayak.iso) =
ec6eb8c603a8667e1a4218e87844e322fc967b7c2dd3c40d4b308aef214075d7
md5 (r151021-kayak.usb-dd) = 0f69c7301b394727784bae73f3a477c1
sha1 (r151021-kayak.usb-dd) = 9847efab9a0a043624b4eef3c12c40d85e27b4ec
sha256 (r151021-kayak.usb-dd) =
84dd0a502bbd40b8d850c7a49d239a8be8b7644a40bf6c63d0b14c3eac5924c3


Good catch, and thank you!
Dan

_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss at lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6023 bytes
Desc: not available
URL: <https://omniosce.org/ml-archive/attachments/20170313/0976514d/attachment.bin>


More information about the OmniOS-discuss mailing list