• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

FreeBSD bhyve keyboard layout patch


Commit MetaInfo

Révision0fd314b55bc64c8c51b00b4a337a716782c5db4c (tree)
l'heure2021-05-03 22:57:47
AuteurKoine Yuusuke(koinec) <koinec@user...>
CommiterKoine Yuusuke(koinec)

Message de Log

* Update for FreeBSD 13.0-RELEASE.(Along with this, the patch filename was changed)
* Change keyboard layout specification option to "-K" (uppercase K). (Because "-k" is used for other pu
rposes in FreeBSD current's bhyve)

Change Summary

  • delete: kbdlayout_option/{bhyve_kbdlayout_vmrunsh_fbsd13c.patch => bhyve_kbdlayout_vmrunsh_fbsd130r.patch}

Modification

--- a/kbdlayout_option/bhyve_kbdlayout_vmrunsh_fbsd13c.patch
+++ b/kbdlayout_option/bhyve_kbdlayout_vmrunsh_fbsd130r.patch
@@ -1,41 +1,41 @@
11 diff -uprN examples/bhyve_orig/vmrun.sh examples/bhyve/vmrun.sh
2---- examples/bhyve_orig/vmrun.sh 2020-12-24 09:12:29.000000000 +0900
3-+++ examples/bhyve/vmrun.sh 2020-12-30 21:48:02.559191000 +0900
2+--- examples/bhyve_orig/vmrun.sh 2021-04-09 09:24:07.000000000 +0900
3++++ examples/bhyve/vmrun.sh 2021-05-03 13:46:11.358862000 +0900
44 @@ -59,8 +59,8 @@ usage() {
55 echo " [-e <name=value>] [-f <path of firmware>]" \
66 "[-F <size>]"
7- echo " [-g <gdbport> ] [-H <directory>]"
7+ echo " [-H <directory>]"
88 - echo " [-I <location of installation iso>] [-l <loader>]"
99 - echo " [-L <VNC IP for UEFI framebuffer>]"
10-+ echo " [-I <location of installation iso>] [-k <layout>]"
10++ echo " [-I <location of installation iso>] [-K <layout>]"
1111 + echo " [-l <loader>] [-L <VNC IP for UEFI framebuffer>]"
1212 echo " [-m <memsize>]" \
1313 "[-n <network adapter emulation type>]"
1414 echo " [-P <port>] [-t <tapdev>] <vmname>"
15-@@ -81,6 +81,7 @@ usage() {
15+@@ -80,6 +80,7 @@ usage() {
1616 echo " -i: force boot of the Installation CDROM image"
1717 echo " -I: Installation CDROM image location" \
1818 "(default: ${DEFAULT_ISOFILE})"
19-+ echo " -k: Specify the keyboard layout"
19++ echo " -K: Specify the keyboard layout"
2020 echo " -l: the OS loader to use (default: /boot/userboot.so)"
2121 echo " -L: IP address for UEFI GOP VNC server" \
2222 "(default: ${DEFAULT_VNCHOST}"
23-@@ -134,7 +135,7 @@ vncport=${DEFAULT_VNCPORT}
23+@@ -132,7 +133,7 @@ vncport=${DEFAULT_VNCPORT}
2424 vncsize=${DEFAULT_VNCSIZE}
2525 tablet=""
2626
2727 -while getopts aAc:C:d:e:Ef:F:g:hH:iI:l:L:m:n:p:P:t:Tuvw c ; do
28-+while getopts aAc:C:d:e:Ef:F:g:hH:iI:k:l:L:m:n:p:P:t:Tuvw c ; do
28++while getopts aAc:C:d:e:Ef:F:g:hH:iI:K:l:L:m:n:p:P:t:Tuvw c ; do
2929 case $c in
3030 a)
3131 bhyverun_opt="${bhyverun_opt} -a"
32-@@ -178,6 +179,9 @@ while getopts aAc:C:d:e:Ef:F:g:hH:iI:l:L:m:n:p:P:t:Tuv
32+@@ -173,6 +174,9 @@ while getopts aAc:C:d:e:Ef:F:g:hH:iI:l:L:m:n:p:P:t:Tuv
3333 ;;
3434 I)
3535 isofile=${OPTARG}
3636 + ;;
37-+ k)
38-+ bhyverun_opt="${bhyverun_opt} -k ${OPTARG}"
37++ K)
38++ bhyverun_opt="${bhyverun_opt} -K ${OPTARG}"
3939 ;;
4040 l)
4141 loader_opt="${loader_opt} -l ${OPTARG}"