/usr/share/ltsp/plugins/ltsp-build-client/Gentoo/000-basic-configuration 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 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | case "$MODE" in
commandline)
add_option "jobs" "`eval_gettext "Set the number of parallel build processes"`" "advanced" "true"
add_option "mirror" "`eval_gettext "Set extra mirror locations (space-separated)"`" "advanced" "true"
add_option "locale" "`eval_gettext "set the default locale"`" "advanced" "true"
add_option "packages" "`eval_gettext "list of extra packages to install as part of the initial installation."`" "advanced" "true"
;;
configure)
if [ -n "$option_locale_value" ]; then
LOCALE="$option_locale_value"
fi
if [ -n "$option_packages_value" ]; then
PACKAGES="$option_packages_value"
fi
if [ -n "$option_mirror_value" ]; then
MIRRORS="$option_mirror_value"
fi
RCS_WHITELIST="bootmisc fsck root hwclock consolefont hostname \
keymaps localmount ltsp-client-setup modules mtab \
net.lo procfs rmnologin sysctl termencoding urandom"
RC2_WHITELIST="nbd-client splash local ltsp-client syslog-ng"
OVERRIDE_EXPORTS="true"
if [ -n "$option_jobs_value" ]; then
JOBS="$option_jobs_value"
else
JOBS=2
fi
# TODO: other MAKEOPTS?
MAKEOPTS="-j${JOBS}"
;;
esac
|