amnesia 1.91 KB
Newer Older
amnesia's avatar
amnesia committed
1
2
3
4
5
6
7
8
9
10
11
12
# -*- mode: sh; -*-

# Configuration file for the Amnesia live system
# 
# You'd better never directly edit this file: rather put your custom
# variable assignments in a new file called 'amnesia.local', in the
# same directory as this one. The values found in the '.local' file
# will override the ones from this one.
# 
# These configuration files are actually shell scripts, and are
# 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

16
# Base for the string that will be passed to "lb config --bootappend-live"
17
AMNESIA_APPEND="live-media=removable nopersistence noprompt timezone=Etc/UTC splash noautologin module=Tails slab_nomerge slub_debug=FZP mce=0 vsyscall=none page_poison=1 init_on_free=1 mds=full,nosmt"
amnesia's avatar
amnesia committed
18

19
# Options passed to isohybrid
20
AMNESIA_ISOHYBRID_OPTS="-h 255 -s 63 --id 42 --verbose"
21

intrigeri's avatar
intrigeri committed
22
# Kernel version
23
KERNEL_VERSION='5.10.0-0.bpo.3'
24
25
26
27
KERNEL_SOURCE_VERSION=$(
   echo "$KERNEL_VERSION" \
       | perl -p -E 's{\A (\d+ [.] \d+) [.] .*}{$1}xms'
)
intrigeri's avatar
intrigeri committed
28

intrigeri's avatar
intrigeri committed
29
### You should not have to change anything below this line ####################
amnesia's avatar
amnesia committed
30

31
32
33
34
35
36
# sanity checks
if [ ! -x "`which dpkg-parsechangelog`" ]; then
   echo "could not find dpkg-parsechangelog, please apt-get install dpkg-dev" >&2
   exit 2
fi

amnesia's avatar
amnesia committed
37
# Compute the current Amnesia's version once for all
Tails developers's avatar
Tails developers committed
38
AMNESIA_NOW="`date --utc '+%Y%m%dT%H%MZ'`"
39
AMNESIA_VERSION="`dpkg-parsechangelog -SVersion`"
40
AMNESIA_FULL_VERSION="${AMNESIA_VERSION} - ${SOURCE_DATE_YYYYMMDD}"
41

amnesia's avatar
amnesia committed
42
# Developpers' data used by git-dch, debcommit and friends in the release script
43
AMNESIA_DEV_FULLNAME='Tails developers'
Tails developers's avatar
Tails developers committed
44
AMNESIA_DEV_EMAIL="tails@boum.org"
45
AMNESIA_DEV_KEYID="A490 D0F4 D311 A415 3E2B  B7CA DBB8 02B2 58AC D84F"
46
47
48

# Used to set a custom home page if the distribution is UNRELEASED
TAILS_DISTRIBUTION="`dpkg-parsechangelog -SDistribution`"