AlexanderWillner / runMacOSinVirtualBox

Run macOS 10.16 Big Sur (and other versions) in VirtualBox on macOS
MIT License
937 stars 125 forks source link

Not everything is under DST_DIR #101

Closed indianakernick closed 4 years ago

indianakernick commented 4 years ago

To Reproduce Steps to reproduce the behavior:

export DST_DIR="somewhere_other_than_home/VirtualBox VMs"
make vm
ls ~/VirtualBox\ VMs
# There's a macOS-VM folder in here

Expected behavior I expect everything to be under somewhere_other_than_home/VirtualBox VMs but there are still some files in ~/VirtualBox VMs. The script doesn't seem to be aware of these files. make clean and make stash don't delete the files under ~/VirtualBox VMs.

Additional context I ran into this because I was trying to recreate the VM. I deleted everything under somewhere_other_than_home/VirtualBox VMs but then I was running into errors. I inspected the log realised the error was caused by the presence of the some files in ~/VirtualBox VMs.

roamingthings commented 4 years ago

Is this addressed by #97 ?

indianakernick commented 4 years ago

@roamingthings That seems to have solved it. I'm not sure about make stash though. I don't want to test it because I've started over too many times today!

AlexanderWillner commented 4 years ago

Thanks, merged #97