/usr/share/ltsp/plugins/ltsp-build-client/ALTLinux/001-set-arch is in ltsp-server 5.4.2-6+deb7u1.
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 | case "$MODE" in
commandline)
add_option "arch" "`eval_gettext "set the target architecture"`" "advanced" "true"
;;
configure)
if [ -n "$option_arch_value" ]; then
ARCH="$option_arch_value"
fi
[ $(arch) = "x86_64" -a "$DIST" = "${DIST/x86_64}" ] && SETARCH="setarch i586" || SETARCH=
;;
esac
|