Mount windows in arch
This commit is contained in:
parent
187e58801a
commit
ac3d551c95
2 changed files with 11 additions and 0 deletions
|
@ -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" \
|
||||
|
|
|
@ -45,4 +45,9 @@ mount "$linuxDisk" /mnt;
|
|||
mount --mkdir "$bootDisk" /mnt/boot;
|
||||
swapon "$swapDisk";
|
||||
|
||||
if command -v extraMounts
|
||||
then
|
||||
extraMounts;
|
||||
fi;
|
||||
|
||||
popd > /dev/null;
|
||||
|
|
Loading…
Reference in a new issue