blob: d5b332c8c288448b5938034bd164998a9c988934 (
plain)
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
|
#! /bin/bash
export TARGET_RASPI="0"
export TARGET_ARCH="amd64"
export RELEASE=bullseye
# export RELEASE=buster
# Produce a read-only rootfs
export ROOTFS_RO=1
# export REDUCED_FOOTPRINT=1
# export APT_PROXY=http://jordan:3142
export CUSTOM_NAME="DebAmd64Rescue"
export CUSTOM_VERSION="1.2-ro"
export PI_GEN="pi-gen (custom branch)"
export IMG_NAME="${CUSTOM_NAME}-${CUSTOM_VERSION}-deb11-${TARGET_ARCH}"
export WORK_DIR="/data/${CUSTOM_NAME}-${CUSTOM_VERSION}-deb11-${TARGET_ARCH}-work"
export IMG_FILENAME=${IMG_NAME}
export DEPLOY_DIR=/data/diskimages
export DEPLOY_ZIP=0
#export USE_QEMU=1
export TARGET_HOSTNAME=deb11amd64
export LOCALE_DEFAULT=en_US.UTF-8
export KEYBOARD_KEYMAP=us
export KEYBOARD_LAYOUT="English (US)"
export TIMEZONE_DEFAULT="Europe/Berlin"
export FIRST_USER_NAME="pi"
export FIRST_USER_PASS="pi"
export ENABLE_SSH=1
# export PUBKEY_SSH_FIRST_USER="ssh-rsa long-number my@machine"
# export PUBKEY_ONLY_SSH=1
export STAGE_LIST="stage0 stage1 stage2 stage3a stage3b_lxde stage_rescue"
#export SKIP_STAGE_LIST="stage0 stage1 stage2 stage3a stage3b_lxde stage_rescue"
#export SKIP_IMAGES_LIST="stage2 stage3a stage3b_lxde stage_rescue"
export SKIP_IMAGES_LIST="stage2 stage3a stage3b_lxde"
|