21 lines
645 B
Bash
21 lines
645 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
source "$GENTOO_BOOTSTRAP_DIR/scripts/protection.sh" || exit 1
|
||
|
|
||
|
|
||
|
################################################
|
||
|
# Script internal configuration
|
||
|
|
||
|
# The temporary directory for this script,
|
||
|
# must reside in /tmp to allow the chrooted system to access the files
|
||
|
TMP_DIR="/tmp/gentoo-bootstrap"
|
||
|
# Mountpoint for the new system
|
||
|
ROOT_MOUNTPOINT="$TMP_DIR/root"
|
||
|
# Mountpoint for the script files for access from chroot
|
||
|
GENTOO_BOOTSTRAP_BIND="$TMP_DIR/bind"
|
||
|
# Mountpoint for the script files for access from chroot
|
||
|
UUID_STORAGE_DIR="$TMP_DIR/uuids"
|
||
|
|
||
|
# The desired efi partition mountpoint for the actual system
|
||
|
EFI_MOUNTPOINT="/boot/efi"
|