/usr/share/ltsp/plugins/ltsp-build-client/Gentoo/020-set-kernel-options is in ltsp-server 5.5.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | case "$MODE" in
commandline)
add_option "kernel-sources" "`eval_gettext "Set kernel sources package, defaults to latest gentoo-sources"`" "advanced" "true"
add_option "kernel-config-uri" "`eval_gettext "Set URI of custom kernel config"`" "advanced" "true"
;;
configure)
if [ -n "$option_kernel_sources_value" ] || [ -n "$KERNEL_SOURCES" ]; then
KERNEL_SOURCES="${option_kernel_sources_value:-$KERNEL_SOURCES}"
else
KERNEL_SOURCES="gentoo-sources"
fi
if [ -n "$option_kernel_config_uri_value" ] || [ -n "$KERNEL_CONFIG_URI" ]; then
KERNEL_CONFIG_URI="${option_kernel_config_uri_value:-$KERNEL_CONFIG_URI}"
fi
;;
esac
|