Revert "This reverts commit c5a8fbe4027e9949c1cf17dfe72894a2e7a45efa"
[tails.git] / config / amnesia
blob887afec28b6d8bd44e327ca5fb997c2c59f62d25
1 # -*- mode: sh; -*-
3 # Configuration file for the Amnesia live system
4
5 # You'd better never directly edit this file: rather put your custom
6 # variable assignments in a new file called 'amnesia.local', in the
7 # same directory as this one. The values found in the '.local' file
8 # will override the ones from this one.
9
10 # These configuration files are actually shell scripts, and are
11 # sourced by various other scripts.
13 export SOURCE_DATE_EPOCH="$(date --utc --date="$(dpkg-parsechangelog --show-field=Date)" +%s)"
14 export SOURCE_DATE_YYYYMMDD="$(date --utc --date="$(dpkg-parsechangelog --show-field=Date)" +%Y%m%d)"
15 export SOURCE_DATE_FAKETIME="$(date --utc --date="$(dpkg-parsechangelog --show-field=Date)" '+%Y-%m-%d %H:%M:%S')"
17 # Base for the string that will be passed to "lb config --bootappend-live"
18 # FIXME: see [[bugs/sdmem_on_eject_broken_for_CD]] for explanation why we
19 # need to set block.events_dfl_poll_msecs
20 AMNESIA_APPEND="live-media=removable nopersistence noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash noautologin module=Tails slab_nomerge slub_debug=FZP mce=0 vsyscall=none page_poison=1 union=aufs"
22 # Options passed to isohybrid
23 AMNESIA_ISOHYBRID_OPTS="-h 255 -s 63 --id 42 --verbose"
25 # Minimal upstream version of syslinux-utils we need
26 REQUIRED_SYSLINUX_UTILS_UPSTREAM_VERSION="6.03~pre20"
28 # Kernel version
29 KERNEL_VERSION='4.19.0-1'
30 KERNEL_SOURCE_VERSION=$(
31    echo "$KERNEL_VERSION" \
32        | perl -p -E 's{\A (\d+ [.] \d+) [.] .*}{$1}xms'
35 ### You should not have to change anything below this line ####################
37 # sanity checks
38 if [ ! -x "`which dpkg-parsechangelog`" ]; then
39    echo "could not find dpkg-parsechangelog, please apt-get install dpkg-dev" >&2
40    exit 2
43 # Compute the current Amnesia's version once for all
44 AMNESIA_NOW="`date --utc '+%Y%m%dT%H%MZ'`"
45 AMNESIA_VERSION="`dpkg-parsechangelog -SVersion`"
46 AMNESIA_FULL_VERSION="${AMNESIA_VERSION} - ${SOURCE_DATE_YYYYMMDD}"
48 # Developpers' data used by git-dch, debcommit and friends in the release script
49 AMNESIA_DEV_FULLNAME='Tails developers'
50 AMNESIA_DEV_EMAIL="tails@boum.org"
51 AMNESIA_DEV_KEYID="A490 D0F4 D311 A415 3E2B  B7CA DBB8 02B2 58AC D84F"