Title
#fleet
j

jake

09/01/2021, 5:06 AM
Good morning, I am currently trying to build a MSI Package with Orbit. I keep getting the following error when building.
error="rename msi: rename /tmp/orbit-package2439375703/orbit.msi orbit-osquery_0.0.3.msi: invalid cross-device link"
Could anyone point me in the right direction.
c

Chad

09/01/2021, 5:10 AM
There is a permission error when renaming
orbit.msi
. If you look in the
/tmp/orbit-package2439375703
directory you should have an
orbit.msi
which should work
5:10 AM
Let me know if you have any issues, I spent a few days troubleshooting this to get it to work
j

jake

09/01/2021, 5:17 AM
Thank you. I have looked, when the package fails it removes the /tmp/orbit* anytime I try to create one.
5:23 AM
I was able to grab it by copying before it deleted
c

Chad

09/01/2021, 6:09 AM
Cool, you can also comment out line 25
defer os.RemoveAll(tmpDir)
in https://github.com/fleetdm/fleet/blob/main/orbit/pkg/packaging/windows.go if need be