Add an anchor that I need for NLnet
[tails.git] / config / amnesia
blob74b8d43ba8531b7fe6739528e5ebb15ca3bb4d3a
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.18.0-3'
30 KERNEL_SOURCE_VERSION=$(
31    echo "$KERNEL_VERSION" \
32        | perl -p -E 's{\A (\d+ [.] \d+) [.] .*}{$1}xms'
35 # Files to exclude from the readahead list
36 # (passed to `grep --extended-regexp`)
37 READAHEAD_EXCLUDE_PATTERN='^lib/live/mount/medium/'
39 ### You should not have to change anything below this line ####################
41 # sanity checks
42 if [ ! -x "`which dpkg-parsechangelog`" ]; then
43    echo "could not find dpkg-parsechangelog, please apt-get install dpkg-dev" >&2
44    exit 2
47 # Compute the current Amnesia's version once for all
48 AMNESIA_NOW="`date --utc '+%Y%m%dT%H%MZ'`"
49 AMNESIA_VERSION="`dpkg-parsechangelog -SVersion`"
50 AMNESIA_FULL_VERSION="${AMNESIA_VERSION} - ${SOURCE_DATE_YYYYMMDD}"
52 # Developpers' data used by git-dch, debcommit and friends in the release script
53 AMNESIA_DEV_FULLNAME='Tails developers'
54 AMNESIA_DEV_EMAIL="tails@boum.org"
55 AMNESIA_DEV_KEYID="A490 D0F4 D311 A415 3E2B  B7CA DBB8 02B2 58AC D84F"