PortValhalla/profiles/DerGeret/Arch/setup.sh

24 lines
509 B
Bash
Raw Normal View History

2023-06-20 20:06:19 +00:00
#!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null;
2023-08-07 18:29:24 +00:00
extraMounts()
{
2024-02-08 04:28:11 +00:00
disks=($(bash -c "echo $OS_DISK*"));
2023-08-10 18:02:38 +00:00
mount --mkdir -o force -t ntfs3 "${disks[-1]}" "$ARCH_MOUNT_ROOT/mnt/win";
2023-08-07 18:29:24 +00:00
}
2024-03-23 16:29:25 +00:00
function initializePartitions() {
pushd "${BASH_SOURCE%/*}" > /dev/null;
. "./partition.sh";
popd > /dev/null;
}
2023-07-12 21:30:00 +00:00
SKIP_FORMAT_EFI=1 \
2023-06-20 20:06:19 +00:00
ARCH_MOUNT_ROOT="/mnt" \
ARCH_DISK=nvme0n1 \
ARCH_HOSTNAME="der-geret" \
USER_DISPLAYNAME="Manuel Thalmann" \
. "../../../scripts/Arch/OS/setup.sh";
popd > /dev/null;