This file is indexed.

/usr/share/debian-cd/contrib/cronjob.weekly-live is in debian-cd 3.1.17.

This file is owned by root:root, with mode 0o755.

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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash

now () {
    date -u +%F:%H:%M:%S
}

START=`now`
ERROR=0
if [ "$NOOPENSTACK"x = ""x ] ; then
    echo "  Running openstack build"
    ~/live/bin/run-openstack
    ERROR=$?
    if [ $ERROR -eq 0 ] ; then
	if [ "$RELEASE_BUILD"x = ""x ] ; then
	    ~/build.jessie/sign-images /mnt/nfs-cdimage/.live/new/openstack-jessie ""
	    mv /mnt/nfs-cdimage/.live/new/openstack-jessie/* /mnt/nfs-cdimage/openstack/testing
	else
	    mkdir -p /mnt/nfs-cdimage/.${RELEASE_BUILD}
	    mv /mnt/nfs-cdimage/.live/new/openstack-jessie/* /mnt/nfs-cdimage/.${RELEASE_BUILD}/openstack
	fi
    fi
    # Wait for the KVM to shut down cleanly
    sleep 30
fi
END=`now`
echo -e "start=$START\nend=$END\nerror=$ERROR\nlogfile=\n" > $PUBDIROSTRACE

START=`now`
ERROR=0
if [ "$NOLIVE"x = ""x ] ; then
    echo "  Running debian-live build"
    ~/live/bin/run-live
    ERROR=$?
    if [ $ERROR -eq 0 ] ; then
	if [ "$RELEASE_BUILD"x = ""x ] ; then
	    ~/build.jessie/sign-images /mnt/nfs-cdimage/.live/new/free ""
	    mv -f /mnt/nfs-cdimage/weekly-live-builds /mnt/nfs-cdimage/weekly-live-builds.old
	    mv /mnt/nfs-cdimage/.live/new/free/ /mnt/nfs-cdimage/weekly-live-builds
	    rm -rf /mnt/nfs-cdimage/weekly-live-builds.old

	    ~/build.jessie/sign-images /mnt/nfs-cdimage/.live/new/non-free ""
	    mv -f ${CD_I_F}/weekly-live-builds ${CD_I_F}/weekly-live-builds.old
	    mv /mnt/nfs-cdimage/.live/new/non-free ${CD_I_F}/weekly-live-builds
	    rm -rf ${CD_I_F}/weekly-live-builds.old
	else
	    mkdir -p /mnt/nfs-cdimage/.${RELEASE_BUILD}/
	    mv /mnt/nfs-cdimage/.live/new/free/ /mnt/nfs-cdimage/.${RELEASE_BUILD}/live-free
	    mv /mnt/nfs-cdimage/.live/new/non-free /mnt/nfs-cdimage/.${RELEASE_BUILD}/live-non-free
	fi
    fi
    # Wait for the KVM to shut down cleanly
    sleep 30
fi
END=`now`
echo -e "start=$START\nend=$END\nerror=$ERROR\nlogfile=\n" > $PUBDIRLIVETRACE

exit 0