This file is indexed.

/usr/share/ltsp/plugins/ltsp-build-client/Fedora/001-set-arch 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
36
# Set Architecture for Chroot Install
# 32bit and 64bit x86 architectures assume you want a i386 chroot because that is the most common.
# Use ltsp-build-client --arch x86_64 to override.
# Similarly ppc64 assumes you want a ppc chroot.
# Use ltsp-build-client --arch ppc64  to override.

case "$MODE" in
    commandline)
        add_option "arch" "`eval_gettext "set the target architecture"`" "advanced" "true"
        ;;
    configure)
        if [ -n "$option_arch_value" ]; then
            ARCH_OPT="$option_arch_value"
        else
            # ARCH is not explicitly set by config or command line, get it from the environment
            ARCH_OPT=$(uname -m | sed -e s/i.86/i386/)
            # If x86_64 then default to i386 chroot.
            [ "$ARCH_OPT" == "x86_64" ] && ARCH_OPT=i386
            # If ppc64 then default to ppc chroot.
            [ "$ARCH_OPT" == "ppc64" ] && ARCH_OPT=ppc
        fi

        # Validate the proposed architecture value.
        case "$ARCH_OPT" in
            i386|x86_64|ppc|ppc64|ia64|s390|s390x|sparc|sparc64|alpha)
                ARCH=$ARCH_OPT
            ;;

            *)
            printf "`eval_gettext "ERROR: unsupported architecture. Check your --arch argument: %s"`", $ARCH_OPT
            printf "`eval_gettext "       supported values are: %s"`", "i386 x86_64 ppc ppc64 ia64 s390 s390x sparc sparc64 alpha"
            exit 1
            ;;
        esac      
        ;;
esac