[OmniOS-discuss] New media with new fixes!
Dan McDonald
danmcd at omniti.com
Mon Mar 13 02:16:28 UTC 2017
> 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
More information about the OmniOS-discuss
mailing list