PortValhalla/profiles/DerGeret/Arch/setup.sh

23 lines
466 B
Bash
Raw Normal View History

2024-03-24 23:26:12 +00:00
#!/bin/bash -e
2023-06-20 20:06:19 +00:00
pushd "${BASH_SOURCE%/*}" > /dev/null;
. "./partition.sh";
2023-06-20 20:06:19 +00:00
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() {
dualbootPartition;
2024-03-23 16:29:25 +00:00
}
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;