diff --git a/profiles/DerGeret/Arch/setup.sh b/profiles/DerGeret/Arch/setup.sh index fd052e33..0812660a 100755 --- a/profiles/DerGeret/Arch/setup.sh +++ b/profiles/DerGeret/Arch/setup.sh @@ -1,6 +1,12 @@ #!/bin/bash pushd "${BASH_SOURCE%/*}" > /dev/null; +extraMounts() +{ + disks=($(bash -c "echo $ARCH_DISK*")); + mount --mkdir "${disks[-1]}" "$ARCH_MOUNT_ROOT/mnt/win"; +} + PARTITION_SCRIPT="$(realpath ./partition.sh)" \ SKIP_FORMAT_EFI=1 \ ARCH_MOUNT_ROOT="/mnt" \ diff --git a/scripts/Arch/OS/partition.sh b/scripts/Arch/OS/partition.sh index 2c1eb015..fe0cf202 100755 --- a/scripts/Arch/OS/partition.sh +++ b/scripts/Arch/OS/partition.sh @@ -45,4 +45,9 @@ mount "$linuxDisk" /mnt; mount --mkdir "$bootDisk" /mnt/boot; swapon "$swapDisk"; +if command -v extraMounts +then + extraMounts; +fi; + popd > /dev/null;