2019-12-31 14:28:42 -01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source "$GENTOO_BOOTSTRAP_DIR/scripts/protection.sh" || exit 1
|
|
|
|
source "$GENTOO_BOOTSTRAP_DIR/scripts/internal_config.sh" || exit 1
|
|
|
|
|
|
|
|
|
|
|
|
################################################
|
|
|
|
# Disk configuration
|
|
|
|
|
|
|
|
# Enable swap?
|
|
|
|
ENABLE_SWAP=false
|
|
|
|
|
|
|
|
# Enable partitioning (will still ask before doing anything critical)
|
|
|
|
ENABLE_PARTITIONING=true
|
|
|
|
|
|
|
|
# The device to partition
|
|
|
|
PARTITION_DEVICE="/dev/sda"
|
|
|
|
# Size of swap partition (if enabled)
|
|
|
|
PARTITION_SWAP_SIZE="8GiB"
|
|
|
|
# The size of the EFI partition
|
|
|
|
PARTITION_EFI_SIZE="128MiB"
|
|
|
|
|
|
|
|
# Partition UUIDs.
|
|
|
|
# You must insert these by hand, if you do not use automatic partitioning
|
|
|
|
PARTITION_UUID_EFI="$(load_or_generate_uuid 'efi')"
|
|
|
|
PARTITION_UUID_SWAP="$(load_or_generate_uuid 'swap')"
|
|
|
|
PARTITION_UUID_LINUX="$(load_or_generate_uuid 'linux')"
|
|
|
|
|
|
|
|
# Format the partitions with the correct filesystems,
|
|
|
|
# if you didn't chose automatic partitioning, you will be asked
|
|
|
|
# before any formatting is done.
|
|
|
|
ENABLE_FORMATTING=true
|
|
|
|
|
|
|
|
|
|
|
|
################################################
|
2020-01-04 19:55:42 -01:00
|
|
|
# System configuration
|
2020-01-03 21:48:49 -01:00
|
|
|
|
|
|
|
# The timezone for the new system
|
|
|
|
TIMEZONE="Europe/Berlin"
|
|
|
|
|
|
|
|
# A list of additional locales to generate. You should only
|
|
|
|
# add locales here if you really need them and want to localize
|
|
|
|
# your system. Otherwise, leave this list empty, and use C.utf8.
|
|
|
|
LOCALES=""
|
|
|
|
# The locale to set for the system. Be careful, this setting differs
|
|
|
|
# from the LOCALES list entries. (e.g. .UTF-8 vs .utf8)
|
|
|
|
LOCALE="C.utf8"
|
|
|
|
# For a german system you could use:
|
|
|
|
# LOCALES="
|
|
|
|
# de_DE.UTF-8 UTF-8
|
|
|
|
# de_DE ISO-8859-1
|
|
|
|
# de_DE@euro ISO-8859-15
|
|
|
|
# " # End of LOCALES
|
|
|
|
# LOCALE="de_DE.utf8"
|
|
|
|
|
|
|
|
# The default keymap for the system
|
|
|
|
KEYMAP="de-latin1-nodeadkeys"
|
|
|
|
#KEYMAP="us"
|
2020-01-04 19:55:42 -01:00
|
|
|
|
|
|
|
|
|
|
|
################################################
|
|
|
|
# Gentoo configuration
|
|
|
|
|
|
|
|
# The selected gentoo mirror
|
|
|
|
GENTOO_MIRROR="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo"
|
|
|
|
#GENTOO_MIRROR="https://distfiles.gentoo.org"
|
|
|
|
|
|
|
|
# The stage3 tarball to install
|
|
|
|
STAGE3_BASENAME="stage3-amd64-hardened+nomultilib"
|
|
|
|
#STAGE3_BASENAME="stage3-amd64-hardened-selinux+nomultilib"
|
|
|
|
|
|
|
|
# Default accept keywords (enable testing by default)
|
|
|
|
#ACCEPT_KEYWORDS=""
|
|
|
|
ACCEPT_KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
# List of additional packages to install (will be directly passed to emerge)
|
|
|
|
ADDITIONAL_PACKAGES="app-editors/neovim"
|