Kernel: Hardcode kernel_shorthand=tiny on BSD systems

This commit is contained in:
Dylan Araps 2016-10-30 17:40:43 +11:00
parent 5959cb1b93
commit c667fca505
1 changed files with 5 additions and 0 deletions

View File

@ -266,6 +266,11 @@ gettitle() {
# Kernel {{{
getkernel() {
# Hardcode kernel_shorthand=tiny on BSD systems.
case "$os" in
"BSD") kernel_shorthand="tiny" ;;
esac
case "$kernel_shorthand" in
"on") kernel_flags="-sr" ;;
"tiny") kernel_flags="-r" ;;